Build fails when mesa and libsdl are missing on the buildhost
This is related to qemu's requirements on hosts tools.
This is requirement for yocto build, which is doced in yocto wiki, I think. libsdl is used for guest window paiting, unless you prefer text mode via serial console, or use something like libvnc. Host mesa is used for GL acceleration on qemux86/x86_64. I'd like to treat it as won't fix, unless we have strong requirement for this(install libsdl and mesa is not hard)
I think we need some flexibility here (see discussion on the mailing list). I think it makes sense to add a configuration option in this particular case using PACKAGECONFIG even though the defaults will remain unchanged. Users not wanting to install mesa/sdl can then set PACKAGECONFIG to match their configuration. Presuambly they've already bypassed the sanity tests.
Fixed @ http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d63298e566324cf4cc4fa457348fdce56615ecf6
The issue is still reproduced in revision fb53d69d9c726e6a663ea276cc440676e20f8326 DEBUG: Executing python function sysroot_cleansstate DEBUG: Python function sysroot_cleansstate finished DEBUG: Executing shell function do_configure libSDL and header no found to build opengl acceleration for qemu-native. Ubuntu package names are: libsdl1.2-dev. Fedora package names are: SDL-devel. ERROR: Function failed: do_configure (see /home/lserban/work/master/build/tmp/work/x86_64-linux/qemu-native-0.15.1-r9/temp/log.do_configure.3736 for further information)
More details are needed here, the commit you mentioned could not possibly have generated that failure(In reply to comment #5) > The issue is still reproduced in revision > fb53d69d9c726e6a663ea276cc440676e20f8326 > > DEBUG: Executing python function sysroot_cleansstate > DEBUG: Python function sysroot_cleansstate finished > DEBUG: Executing shell function do_configure > libSDL and header no found to build opengl acceleration for qemu-native. > Ubuntu package names are: libsdl1.2-dev. > Fedora package names are: SDL-devel. > ERROR: Function failed: do_configure (see > /home/lserban/work/master/build/tmp/work/x86_64-linux/qemu-native-0.15.1-r9/ > temp/log.do_configure.3736 for further information) Did you setup your PACKAGECONFIG correctly to exclude the gl acceleration? Setting PACKAGECONFIG_pn-qemu-native = "" in your local.conf should do the trick. Please verify this.
See previous comment, forgot to set NEEDINFO
The GL patch for qemu has been removed, so along with that removal qemu no longer needs mesa and SDL in 1.3 and beyond.
Verified on master branch, commit ID:78983e939ab17f02f8911c8b0d0e326b419856b9