<?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>2714</bug_id>
          
          <creation_ts>2012-07-06 22:40:40 +0000</creation_ts>
          <short_desc>qemu-native do compile error</short_desc>
          <delta_ts>2012-07-12 21:51:07 +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>BitBake</product>
          <component>bitbake</component>
          <version>1.1.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laurentiu Serban">laurentiu.serban</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>josh</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>22881</commentid>
    <comment_count>0</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-06 22:40:40 +0000</bug_when>
    <thetext>An error occurs when compiling qemu-native:
This is the log (log.do_compile6446)

NOTE: make -j 8
  LINK  i386-softmmu/qemu
  LINK  x86_64-softmmu/qemu-system-x86_64
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libGL.so: undefined reference to `_XGetRequest&apos;
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make: *** [subdir-i386-softmmu] Error 2
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libGL.so: undefined reference to `_XGetRequest&apos;
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-x86_64] Error 1
make: *** [subdir-x86_64-softmmu] Error 2
ERROR: oe_runmake failed
ERROR: Function &apos;do_compile&apos; failed (see /home/lserban/work/edison/build/tmp/work/x86_64-linux/qemu-native-0.14.0-r4/temp/log.do_compile.6446 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22882</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-07 17:20:48 +0000</bug_when>
    <thetext>This occurs on Ubuntu 12.04</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22883</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Serban">laurentiu.serban</who>
    <bug_when>2012-07-07 17:27:28 +0000</bug_when>
    <thetext>Apparently the cause is explained here:

http://opencast.3480289.n2.nabble.com/3rd-party-tools-libSDL-so-undefined-reference-to-XGetRequest-Ubuntu-12-04-td7485828.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22902</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-07-09 12:01:22 +0000</bug_when>
    <thetext>Fixing this would mean backporting the XGetRequest patch against libx11 from 1.4.4.back to 1.3.4 and also backporting the libsdl patch. I&apos;m not sure this is desireable for a release like edison at this point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22913</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-07-09 21:29:55 +0000</bug_when>
    <thetext>when did our GL patch get updated for 1.1.2?  That itself seems strange or did this not work correctly in 1.1 also?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>22976</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-07-10 23:02:21 +0000</bug_when>
    <thetext>I did much of the 1.1.2 development on Ubuntu 12.04 and whilst I did see this issue it was not reproducible with a clean build directory.

IIRC I determined that this issue was due to some of my build directory having existed from Ubuntu 11.10, before I updated to Ubuntu 12.04.

I&apos;d be interested to know if you can reproduce this with a clean build dir and shared state. This should be pretty easy to test as relatively few recipes need building.

I&apos;ll be at a machine on which I can test this later in the week if nobody can get to it before then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23064</commentid>
    <comment_count>6</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2012-07-12 15:15:17 +0000</bug_when>
    <thetext>Given the stage and resource limitation of 1.1.2, we won&apos;t be able to fix this issue for 1.1.2 but please try to capture the clear steps to reproduce the bug so we can use that in the 1.1.2 release note</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23071</commentid>
    <comment_count>7</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2012-07-12 21:51:07 +0000</bug_when>
    <thetext>Just to confirm on Ubunutu 12.04 LTS (64-bit) I just did a fresh clone of poky, switched branch to Edison and ran a build with a vanilla local.conf (other than bumping BB_NUMBER_THREADS and PARALLEL_MAKE) and did not see this issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>