From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id C026DE007DC; Fri, 17 Oct 2014 08:19:52 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [80.91.229.3 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (auslands-kv[at]gmx.de) * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 37C1EE00796 for ; Fri, 17 Oct 2014 08:19:36 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xf9JX-0005pT-It for yocto@yoctoproject.org; Fri, 17 Oct 2014 17:19:35 +0200 Received: from 80-218-32-173.dclient.hispeed.ch ([80.218.32.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2014 17:19:35 +0200 Received: from auslands-kv by 80-218-32-173.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Oct 2014 17:19:35 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: yocto@yoctoproject.org From: Neuer User Date: Fri, 17 Oct 2014 17:19:25 +0200 Message-ID: References: <9690622.nYuOPMAxm8@peggleto-mobl5.ger.corp.intel.com> <2231298.4P3ZM5y4CY@peggleto-mobl5.ger.corp.intel.com> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 80-218-32-173.dclient.hispeed.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 In-Reply-To: <2231298.4P3ZM5y4CY@peggleto-mobl5.ger.corp.intel.com> Subject: Re: Updating daisy -> Python.h not found X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2014 15:19:52 -0000 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Hmm, I looked through the compile log before, but you are right: the configure log might be more interesting: There is one error during configure (which, however, did not abort the process, strangely): DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: Executing shell function qmake5_base_preconfigure DEBUG: Shell function qmake5_base_preconfigure finished DEBUG: Executing shell function do_configure Reading /home/ubuntu/yocto/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/pyotherside/1.3+gitAUTOINC+f870396346-r0/git/src/src.pro [/home/ubuntu/yocto/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/pyotherside/1.3+gitAUTOINC+f870396346-r0/build/src] Project MESSAGE: PYTHON_CONFIG = python3-config Traceback (most recent call last): File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/bin/python3-native/python3-config", line 7, in from distutils import sysconfig File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/lib/python3.3/distutils/sysconfig.py", line 19, in PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) TypeError: Can't convert 'NoneType' object to str implicitly Traceback (most recent call last): File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/bin/python3-native/python3-config", line 7, in from distutils import sysconfig File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/lib/python3.3/distutils/sysconfig.py", line 19, in PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) TypeError: Can't convert 'NoneType' object to str implicitly Reading /home/ubuntu/yocto/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/pyotherside/1.3+gitAUTOINC+f870396346-r0/git/tests/tests.pro [/home/ubuntu/yocto/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/pyotherside/1.3+gitAUTOINC+f870396346-r0/build/tests] Project MESSAGE: PYTHON_CONFIG = python3-config Traceback (most recent call last): File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/bin/python3-native/python3-config", line 7, in from distutils import sysconfig File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/lib/python3.3/distutils/sysconfig.py", line 19, in PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) TypeError: Can't convert 'NoneType' object to str implicitly Traceback (most recent call last): File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/bin/python3-native/python3-config", line 7, in from distutils import sysconfig File "/home/ubuntu/yocto/build/tmp/sysroots/i686-linux/usr/lib/python3.3/distutils/sysconfig.py", line 19, in PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) TypeError: Can't convert 'NoneType' object to str implicitly DEBUG: Shell function do_configure finished DEBUG: Executing python function do_qa_configure NOTE: Checking autotools environment for common misconfiguration NOTE: pyotherside: md5 checksum matched for file:///home/ubuntu/yocto/sources/poky/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 DEBUG: Python function do_qa_configure finished DEBUG: Executing shell function qmake5_base_postconfigure DEBUG: Shell function qmake5_base_postconfigure finished Guess this not what it should be, right? Am 17.10.2014 um 17:05 schrieb Paul Eggleton: > On Friday 17 October 2014 17:01:46 Neuer User wrote: >> Am 17.10.2014 um 16:51 schrieb Paul Eggleton: >>> Hi there, >>> >>> I agree this sort of thing shouldn't happen on a stable branch. I'm not >>> sure what would have caused such a problem though. However, above you are >>> looking under tmp/work, but the file being present under there doesn't >>> really say much - the key question is is it still in the sysroot i.e. >>> tmp/sysroots/* ? The first thing to figure out is if the file is really >>> missing, or if it is now simply not looking for it in the right location. >>> >>> Cheers, >>> Paul >> >> Very good point. >> >> $ find tmp/sysroots/ -name "Python.h" >> tmp/sysroots/i686-linux/usr/include/python2.7/Python.h >> tmp/sysroots/i686-linux/usr/include/python3.3m/Python.h >> tmp/sysroots/cubox-i/usr/include/python2.7/Python.h >> tmp/sysroots/cubox-i/usr/include/python3.3m/Python.h >> >> So, it seems to be there, if I see that correctly. The question then >> seems to be, why it is no longer found? > > I'm not sure. That's where you'd need to look at how the software your recipe > is building searches for that - the configure log, devshell might be useful for > determining that. > > Cheers, > Paul >