Bug 6495 - [Build Appliance] qemu-native: do configure failed
Summary: [Build Appliance] qemu-native: do configure failed
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Build System, Metadata & Runtime
Component: build-appliance (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium+ critical
Target Milestone: 1.7 M1
Assignee: Cristian Iorga
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-07-01 03:00 UTC by Yi Zhao
Modified: 2014-07-10 07:18 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
log.do_configure (1.77 KB, application/octet-stream)
2014-07-01 03:00 UTC, Yi Zhao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2014-07-01 03:00:26 UTC
Created attachment 2024 [details]
log.do_configure

Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-1.7_M1.rc1/build-appliance/

Git rev: 68824d9b8f6e290da078383316b3f4b732585f2b

Steps:
1. Boot up the BA on a virtual machine
2. Build core-image-minimal for qemumips

Error message:
################
ERROR: User requested feature sdl 
       configure was not able to find it. 
       Install SDL devel
################

Please see the attachment for the log.do_configure
Comment 1 Cristian Iorga 2014-07-01 10:51:26 UTC
Investigation started.
Comment 2 Cristian Iorga 2014-07-03 07:22:42 UTC
The root cause of the issue is that pkg-config cannot get proper info for libsdl-native while building qemu-native; as such, qemu-native build fails due to SDL support being enabled, but the configure stage of qemu-native does not detect libsdl as being present on the system.

While the issue has been present for a longer time, the recent change of libsdl package of disabling sdl-config masked the issue.
Comment 3 Cristian Iorga 2014-07-03 07:24:13 UTC
The chosen solution is to implement a special do_configure stage for qemu-native, that will set up the build environment correctly for pkg-config interrogation of libsdl.
Comment 4 Cristian Iorga 2014-07-03 07:24:28 UTC
Implementation started.
Comment 6 Yi Zhao 2014-07-10 07:18:36 UTC
Verified with 1.7 M1 rc2: master/a5531a2b8983318b99c119a87b78a92cf84160b8