Running a world build for qemux86 compiling an example fails. | cd videographicsitem/ && 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' | 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 "/usr/lib" is unsafe for cross-compilation | ../../build/Debug/videographicsitem/videoplayer.o: In function `VideoPlayer': | /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<Qt::WindowType>)' | 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' | 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' | make: *** [sub-examples-make_default-ordered] Error 2
I can'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 = "-opengl" which should enable it for any qemux86 build so I'm not sure how this could have occurred.
We have been building "world" regularly for qemux86 on the autobuilders for some time now and have not seen this, so I'm going to assume it is no longer an issue. If it does occur again we can reopen the bug and investigate.