From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from tx2ehsobe005.messaging.microsoft.com ([65.55.88.15] helo=tx2outboundpool.messaging.microsoft.com) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TeZJm-0007VJ-02 for ptxdist@pengutronix.de; Fri, 30 Nov 2012 23:44:24 +0100 Received: from mail25-tx2 (localhost [127.0.0.1]) by mail25-tx2-R.bigfish.com (Postfix) with ESMTP id 0D287420167 for ; Fri, 30 Nov 2012 22:44:14 +0000 (UTC) Received: from TX2EHSMHS010.bigfish.com (unknown [10.9.14.247]) by mail25-tx2.bigfish.com (Postfix) with ESMTP id ECA2F1800CB for ; Fri, 30 Nov 2012 22:44:11 +0000 (UTC) Message-ID: <50B936B9.8080802@novatechweb.com> Date: Fri, 30 Nov 2012 16:44:09 -0600 From: George McCollister MIME-Version: 1.0 References: <20121130221104.GJ27118@pengutronix.de> In-Reply-To: <20121130221104.GJ27118@pengutronix.de> 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 Broken: Excerpt from: talloc.prepare: Checking for program python : /home/georgem/ptxdist.rebase.novatech-llc.com/bin/python Checking for Python version >= 2.4.2 : ok 2.7.3 Checking for library python2.7 : not found Checking for library python2.7 : not found Checking for library python27 : not found Checking for program python2.7-config : /usr/bin/python2.7-config Checking for custom code : Could not find the python development headers Disabling pytalloc-util as python devel libs not found 'configure' finished successfully (27.534s) finished target talloc.prepare Excerpt from tevent.prepare: Checking for system talloc >= 2.0.7 : yes Checking for system pytalloc-util >= 2.0.7 : not found ERROR: System library pytalloc-util of version 2.0.7 not found, and bundling disabled make: *** [/home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/state/tevent.prepare] Error 1 Working: Excerpt from: talloc.prepare: Checking for program python : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python Checking for Python version >= 2.4.2 : ok 2.6.6 Checking for library python2.6 : yes Checking for program python2.6-config : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python2.6-config Checking for custom code : yes 'configure' finished successfully (27.606s) finished target talloc.prepare Excerpt from talloc.prepare: Checking for system talloc >= 2.0.7 : yes Checking for system pytalloc-util >= 2.0.7 : yes Checking for program xsltproc : /usr/bin/xsltproc Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok Checking for program python : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python Checking for program python : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python Checking for Python version >= 2.4.2 : ok 2.6.6 Checking for library python2.6 : yes Checking for program python2.6-config : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python2.6-config Checking for custom code : yes Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no Checking for epoll_create : ok Checking for program python : /home/georgem/workspace_linux-3.2-upstream-rebase_armeb/platform-armeb-xscale/sysroot-cross/bin/python Checking for Python version >= 2.4.2 : ok 2.6.6 Checking for python headers : using cache Checking linker accepts -Wl,-no-undefined : yes Checking linker accepts ['-undefined', 'dynamic_lookup'] : no 'configure' finished successfully (29.256s) finished target tevent.prepare -- George McCollister Software Architect NovaTech, LLC 13555 W. 107th Street Lenexa, KS 66215 (913) 451-1880 (main) (913) 742-4519 (direct) george.mccollister@novatechweb.com -- ptxdist mailing list ptxdist@pengutronix.de