From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tej6a-0005Tm-9C for ptxdist@pengutronix.de; Sat, 01 Dec 2012 10:11:24 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Tej6a-0001Gw-8w for ptxdist@pengutronix.de; Sat, 01 Dec 2012 10:11:24 +0100 Date: Sat, 1 Dec 2012 10:11:24 +0100 From: Michael Olbrich Message-ID: <20121201091124.GL27118@pengutronix.de> References: <20121130221104.GJ27118@pengutronix.de> <50B9396C.3090601@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <50B9396C.3090601@gmail.com> Subject: Re: [ptxdist] python: don't create '$(PTXCONF_SYSROOT_CROSS)/bin/python' link 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 Fri, Nov 30, 2012 at 04:55:40PM -0600, George McCollister wrote: > On 11/30/2012 04:11 PM, Michael Olbrich wrote: > >The problem is, that this link hides the system python > >($PTXDIST_TOPDIR}/bin/python). So packages that need python for > >building sometimes get the wrong python (if python is built first). > >Also, I don't see why it should break you packages. There is still a > >python in PATH. > Breaks packages because talloc creates python bindings then tevent > checks for talloc python bindings before building its python bindings. > Seems like it would be a better idea to select HOST_PYTHON for packages > that require python to build. Then the same version would always be used. > > Maybe I can find a clean way to force waf to use CROSS_PYTHON Look at the other patches I've committed. Most setting PYTHON=$(CROSS_PYTHON) in *_CONF_ENV usually helps. michael -- 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