Bug 2407 - Build fails when mesa and libsdl are missing on the buildhost
Summary: Build fails when mesa and libsdl are missing on the buildhost
Status: VERIFIED OBSOLETE
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on: 405
Blocks:
  Show dependency tree
 
Reported: 2012-05-03 12:16 UTC by Koen Kooi
Modified: 2012-11-06 15:10 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koen Kooi 2012-05-03 12:16:09 UTC
Build fails when mesa and libsdl are missing on the buildhost
Comment 1 Saul Wold 2012-05-03 23:19:43 UTC
This is related to qemu's requirements on hosts tools.
Comment 2 Edwin Zhai 2012-05-04 01:38:43 UTC
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)
Comment 3 Richard Purdie 2012-05-04 09:31:59 UTC
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.
Comment 5 Laurentiu Serban 2012-07-31 08:35:23 UTC
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)
Comment 6 Saul Wold 2012-08-28 00:02:40 UTC
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.
Comment 7 Saul Wold 2012-08-28 00:03:20 UTC
See previous comment, forgot to set NEEDINFO
Comment 8 Saul Wold 2012-10-04 16:55:46 UTC
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.
Comment 9 Alexandru Palalau 2012-11-06 15:10:31 UTC
Verified on master branch, commit ID:78983e939ab17f02f8911c8b0d0e326b419856b9