<?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>3312</bug_id>
          
          <creation_ts>2012-10-19 17:38:20 +0000</creation_ts>
          <short_desc>glib-2.0 fails to build in a multimachine tmpdir</short_desc>
          <delta_ts>2012-10-31 09:52:43 +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>core</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26772</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-10-19 17:38:20 +0000</bug_when>
    <thetext>$ MACHINE=qemux86-64 bitbake glib-2.0; MACHINE=sugarbay bitbake glib-2.0

would fail when building for second machine with QA errors like


| /work/yocto/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/4.7.2/ld: cannot find /lib/libpthread.so.0
| /work/yocto/poky/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/4.7.2/ld: cannot find /usr/lib/libpthread_nonshared.a
| collect2: error: ld returned 1 exit status
| make[6]: *** [libresourceplugin.la] Error 1
| make[6]: *** Waiting for unfinished jobs....
| make[6]: Leaving directory `/work/yocto/poky/build/tmp-eglibc/work/x86_64-poky-linux/glib-2.0-1_2.32.4-r6/glib-2.32.4/gio/tests&apos;
| make[5]: *** [all-recursive] Error 1


order of machines does not matter the second one will always fail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26776</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-10-19 22:52:16 +0000</bug_when>
    <thetext>I could not reproduce this, I tried with both Danny and master, can you give me any additional clues?  I also tried from a clean (no sstate) to a second build with sstate and still no failure.

Do you have local.conf changes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26777</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-10-19 23:40:35 +0000</bug_when>
    <thetext>hmmm my setup does have changes. I will try it with pure poky and see if I can reproduce. But I delete my tmpdir and then execute both machine builds without deleting the tmpdir. Actually try to bake core-image-lab and see if you can reproduce it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26778</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-10-20 04:16:34 +0000</bug_when>
    <thetext>and I have multilib enabled too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26868</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-10-24 20:41:57 +0000</bug_when>
    <thetext>I also had a try at reproducing this with poky master but couldn&apos;t do so. We need more information about how to reproduce...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27005</commentid>
    <comment_count>5</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-10-29 15:30:44 +0000</bug_when>
    <thetext>It worked for me in a clean build directory.

Branch: master
Commit: 93c04c16e45a3c8f60f8ffc0b26a78c24bda71da</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27087</commentid>
    <comment_count>6</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-10-31 05:09:37 +0000</bug_when>
    <thetext>OK finally figured it out thanks to bitbake-diffsigs found out that machineA (custom BSP) enabled multilib but when using default BSPs from meta-intel e.g. sugarbay, multilib was disabled, and for x86_64 baselib changes from /lib to /lib64 if multilib is enabled. This caused a good amount of sstate signatures to changes and essentially it was rebuilding lot of packages into /lib instead of /lib64 

once I fixed the multilib to be uniform, I got past this error.

Thanks for spending time to help me out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27097</commentid>
    <comment_count>7</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2012-10-31 09:52:43 +0000</bug_when>
    <thetext>What is the status of this bug? Still not a bug? If not, is there a patch out? thank you :)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>