Bug 6495

Summary: [Build Appliance] qemu-native: do configure failed
Product: [Build System, Metadata & Runtime] Runtime Reporter: Yi Zhao <yi.zhao>
Component: build-applianceAssignee: Cristian Iorga <cristian.iorga>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: Medium+ CC: alexandru.c.georgescu, ke.zou, richard.purdie, sgw, yi.zhao
Version: 1.7   
Target Milestone: 1.7 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
log.do_configure none

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