<?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>1768</bug_id>
          
          <creation_ts>2011-11-16 11:44:54 +0000</creation_ts>
          <short_desc>qt-mobility-x11-1.2.0-r0: task do_compile: Failed</short_desc>
          <delta_ts>2012-07-30 13:59:29 +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>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></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock - Disabled">josh</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</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>17231</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-11-16 11:44:54 +0000</bug_when>
    <thetext>Running a world build for qemux86 compiling an example fails.

| cd videographicsitem/ &amp;&amp; make -f Makefile
| make[2]: Entering directory `/srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/examples/videographicsitem&apos;
| i586-oe-linux-g++  -m32   -march=i586 --sysroot=/srv/yocto/openembedded-core/clutter/tmp-eglibc/sysroots/qemux86 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-rpath-link,/srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/lib -Wl,-rpath-link,/srv/yocto/openembedded-core/clutter/tmp-eglibc/sysroots/qemux86/usr/lib -Wl,-rpath-link,/usr/lib -Wl,-rpath-link,/usr/lib -o videographicsitem ../../build/Debug/videographicsitem/main.o ../../build/Debug/videographicsitem/videoplayer.o ../../build/Debug/videographicsitem/videoitem.o ../../build/Debug/videographicsitem/moc_videoplayer.o ../../build/Debug/videographicsitem/moc_videoitem.o    -L/srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/lib -L/srv/yocto/openembedded-core/clutter/tmp-eglibc/sysroots/qemux86/usr/lib -lQtMultimediaKit -lQtGui -L/srv/yocto/openembedded-core/clutter/tmp-eglibc/sysroots/qemux86/usr/lib -L/usr/lib -lQtNetwork -lQtCore -lpthread
| /srv/yocto/openembedded-core/clutter/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/4.6.2/ld: warning: library search path &quot;/usr/lib&quot; is unsafe for cross-compilation
| ../../build/Debug/videographicsitem/videoplayer.o: In function `VideoPlayer&apos;:
| /srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/examples/videographicsitem/videoplayer.cpp:64: undefined reference to `QGLWidget::QGLWidget(QWidget*, QGLWidget const*, QFlags&lt;Qt::WindowType&gt;)&apos;
| collect2: ld returned 1 exit status
| make[2]: *** [videographicsitem] Error 1
| make[2]: Leaving directory `/srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/examples/videographicsitem&apos;
| make[1]: *** [sub-videographicsitem-make_default] Error 2
| make[1]: Leaving directory `/srv/yocto/openembedded-core/clutter/tmp-eglibc/work/i586-oe-linux/qt-mobility-x11-1.2.0-r0/qt-mobility-opensource-src-1.2.0/examples&apos;
| make: *** [sub-examples-make_default-ordered] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18667</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-02-21 09:08:50 +0000</bug_when>
    <thetext>I can&apos;t make this happen in a normal (non-world) build; I can only assume that somehow Qt got built with GL disabled. There is an explicit QT_GLFLAGS_qemux86 = &quot;-opengl&quot; which should enable it for any qemux86 build so I&apos;m not sure how this could have occurred.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23609</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2012-07-30 13:59:29 +0000</bug_when>
    <thetext>We have been building &quot;world&quot; regularly for qemux86 on the autobuilders for some time now and have not seen this, so I&apos;m going to assume it is no longer an issue. If it does occur again we can reopen the bug and investigate.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>