<?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>1206</bug_id>
          
          <creation_ts>2011-06-29 07:34:33 +0000</creation_ts>
          <short_desc>qemu.inc &apos;s test for libGL / libGLU does not work on debian/ubuntu 64bit</short_desc>
          <delta_ts>2011-08-11 00:11:45 +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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Øyvind Kolås">pippin</reporter>
          <assigned_to name="Edwin Zhai">edwin.zhai</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>dexuan.cui</cc>
    
    <cc>edwin.zhai</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>14472</commentid>
    <comment_count>0</comment_count>
    <who name="Øyvind Kolås">pippin</who>
    <bug_when>2011-06-29 07:34:33 +0000</bug_when>
    <thetext>The following output was spewed when trying to build
------------------------------------
NOTE: Running task 1138 of 1346 (ID: 129, virtual:nativedata/poky/poky/meta/recipes-devtools/qemu/qemu_0.14.0.bb, do_configure)
ERROR: &apos;virtual:nativedata/poky/poky/meta/recipes-devtools/qemu/qemu_0.14.0.bb&apos; failed
NOTE: package qemu-native-0.14.0-r2: task do_configure: Started
ERROR: Logfile of failure stored in: /data/poky/poky/build/tmp/work/x86_64-linux/qemu-native-0.14.0-r2/temp/log.do_configure.6500
Log data follows:
| You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.
|        Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev
| ERROR: Function &apos;do_configure&apos; failed (see /data/poky/poky/build/tmp/work/x86_64-linux/qemu-native-0.14.0-r2/temp/log.do_configure.6500 for further information)
| ERROR: Function &apos;do_configure&apos; failed (see /data/poky/poky/build/tmp/work/x86_64-linux/qemu-native-0.14.0-r2/temp/log.do_configure.6500 for further information)
NOTE: package qemu-native-0.14.0-r2: task do_configure: Failed
ERROR: Task 129 (virtual:nativedata/poky/poky/meta/recipes-devtools/qemu/qemu_0.14.0.bb, do_configure) failed with exit code &apos;1&apos;
----------------------------------------

The checked for libraries do exist in:
/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libGLU.so

adding symlinks in /usr/lib  (or /usr/lib64) works as workarounds for the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14484</commentid>
    <comment_count>1</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-06-29 18:33:39 +0000</bug_when>
    <thetext>Ubuntu or Debian? Which version do you use? Ubuntu 10.10 works fine for me.

In general, distribution should link its specific libGL.so under /usr/lib...



Thanks,
edwin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14488</commentid>
    <comment_count>2</comment_count>
    <who name="Øyvind Kolås">pippin</who>
    <bug_when>2011-06-30 01:51:23 +0000</bug_when>
    <thetext>This was with debian unstable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14538</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-05 02:42:49 +0000</bug_when>
    <thetext>I think pkg-config may be usable to resolve this - IIRC it reports the correct path on Debian unstable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14539</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-07-05 03:02:00 +0000</bug_when>
    <thetext>Discussed this with Øyvind, looks like pkg-config can indeed be used to check for the presence of GL (pkg-config --exists gl) on Debian unstable. It might be possible that some systems do not have pkg-config files for gl though so I would suggest adding this check to the existing ones rather than replacing them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15364</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-08-10 05:00:28 +0000</bug_when>
    <thetext>Seems to me this might have been fixed already with oe-core commit ced947e989dfbca8055fe57e14207cb6f1357430.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15393</commentid>
    <comment_count>6</comment_count>
    <who name="Edwin Zhai">edwin.zhai</who>
    <bug_when>2011-08-11 00:11:45 +0000</bug_when>
    <thetext>As Paul mentioned, it&apos;s got fixed in poky master(e154e51011f54e2328fe55fb7e66a537757e2f68)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>