From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:6f8:1178:2:21e:67ff:fe11:9c5c]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TRO8C-0003Sm-8T for ptxdist@pengutronix.de; Thu, 25 Oct 2012 16:09:56 +0200 Received: from rsc by dude.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1TRO8C-0001cN-7c for ptxdist@pengutronix.de; Thu, 25 Oct 2012 16:09:56 +0200 Date: Thu, 25 Oct 2012 16:09:56 +0200 From: Robert Schwebel Message-ID: <20121025140956.GF23204@pengutronix.de> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] dependency issue Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Thu, Oct 25, 2012 at 01:25:24PM +0000, Steve Schefter wrote: > I'm having an issue with ptxdist building one of the components out of order. > Mesalib depends on host-makedepend, but it is building Mesalib first. > > rules/mesalib.in starts off with: > menuconfig MESALIB > tristate > prompt "mesa " > select HOST_MESALIB > select LIBDRM > select HOST_MAKEDEPEND > > There's no circular dependency causing problems: I've tried removing the one > select statement from rules/host-makedepend.in so that it has no dependencies. > That had no effect. > > ptxdist seems to be aware of Mesalib/host-makedepend dependency as > state/ptx_map_deps.sh contains the line: > PTX_MAP_DEP_MESALIB=HOST_MESALIB:LIBDRM:HOST_MAKEDEPEND:DRI2PROTO:XORG_LIB_X11: > XORG_LIB_XEXT:XORG_LIB_XXF86VM:XORG_LIB_XDAMAGE:XORG_LIB_XFIXES:XORG_PROTO_GL: > EXPAT:GCCLIBS > > Any suggestions on what I might have set up incorrectly to cause ptxdist to > build out of order? Or what, beyond the select statement, can force it to build > host-makedepend first when I run "ptxdist go"? You can try to run 'ptxdist --debug go', which prints out the make deductions. Maybe that gives you a hint why Mesalib is built first. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de