<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5500</bug_id>
          
          <creation_ts>2013-11-07 01:32:57 +0000</creation_ts>
          <short_desc>python is failing to build</short_desc>
          <delta_ts>2013-11-14 16:00:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>autobuilder</status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nitin Kamble">nitin.a.kamble</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>dvhart</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>38624</commentid>
    <comment_count>0</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-11-07 01:32:57 +0000</bug_when>
    <thetext>| i586-poky-linux-gcc  -m32 -march=core2 -msse3 -mtune=generic -mfpmath=sse --sysroot=/srv/home/nitin/build-test-bsps/build-common/tmp/sysroots/genericx86 -O2 -pipe -g -feliminate-unused-debug-types -L. -L/srv/home/nitin/build-test-bsps/build-common/tmp/sysroots/crownbay/usr/lib  Parser/acceler.o Parser/grammar1.o Parser/listnode.o Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o Objects/obmalloc.o Python/mysnprintf.o Python/pyctype.o Parser/tokenizer_pgen.o Parser/printgrammar.o Parser/pgenmain.o -lpthread -ldl  -lpthread -lutil -o Parser/pgen
| /srv/home/nitin/build-test-bsps/build-common/tmp/sysroots/x86_64-linux/usr/libexec/core2-poky-linux/gcc/i586-poky-linux/4.8.1/ld: cannot find /usr/lib/libpthread_nonshared.a
| collect2: error: ld returned 1 exit status
| make: *** [Parser/pgen] Error 1
| make: *** Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| WARNING: /srv/home/nitin/build-test-bsps/build-common/tmp/work/core2-poky-linux/python/2.7.3-r0.3/temp/run.do_compile.30147:1 exit 1 from
|   exit 1
| ERROR: Function failed: do_compile (log file is located at /srv/home/nitin/build-test-bsps/build-common/tmp/work/core2-poky-linux/python/2.7.3-r0.3/temp/log.do_compile.30147)
ERROR: Task 1359 (/home/nitin/build-test-bsps/poky.git/meta/recipes-devtools/python/python_2.7.3.bb, do_compile) failed with exit code &apos;1&apos;

Summary: 1 task failed:
  /home/nitin/build-test-bsps/poky.git/meta/recipes-devtools/python/python_2.7.3.bb, do_compile</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38625</commentid>
    <comment_count>1</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-11-07 01:34:54 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.21.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;openSUSE-project-12.3&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;crownbay&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.5+snapshot-20131106&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:d6cc7c8ed76c8b1117cf03c7bd4b0742f98f79b3&quot;
meta-intel.git
meta-crownbay
meta-tlk          = &quot;master:6b424623b709de34f79cbafff959e0a1222878dd&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38656</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-07 15:48:42 +0000</bug_when>
    <thetext>Did you switch machines half way through building python?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38658</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-11-07 15:55:50 +0000</bug_when>
    <thetext>Note:

--sysroot=/srv/home/nitin/build-test-bsps/build-common/tmp/sysroots/genericx86

and yet you say MACHINE=crownbay</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38659</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-11-07 15:58:04 +0000</bug_when>
    <thetext>Nitin,

Is this something you can reproduce? Did you perhaps kill a build part way through configuring python and then change the MACHINE from genericx86 to crownbay - we noticed both MACHINEs in the message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38670</commentid>
    <comment_count>5</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-11-07 19:31:49 +0000</bug_when>
    <thetext>I just double checked here, that the Log is for the correct machine. 

I did not changed the machine in between. I am building multiple BSPs in a common build directory though. I am finding that all the 32bit Intel BSPs are failing like this. While all the 64bit Intel BSPs are building fine. And the 32bit qemux86 built fine.

Failed BSPs: genericx86, crownbay, emenlow, fri2, sys940x, crownbay-noemgd, emenlow-noemgd, fri2-noemgd, sys940x-noemgd 

Succedded BSPs: genericx86-64, sugarbay, nuc, chiefriver, jasperforest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38747</commentid>
    <comment_count>6</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-11-13 17:26:44 +0000</bug_when>
    <thetext>Is this reproducible in a clean tmp / build dir?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38749</commentid>
    <comment_count>7</comment_count>
    <who name="Nitin Kamble">nitin.a.kamble</who>
    <bug_when>2013-11-13 17:48:49 +0000</bug_when>
    <thetext>This issue is not happening with the newer poky commit: 4fdc3d77d4a875b7236536bf78849a4d1f6a7449</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>