Bug 14812

Summary: libsdl2-native failed to build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Pavel Zhukov <pavel>
Component: graphicsAssignee: Pavel Zhukov <pavel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: f_l_k, meta.mr.watcher, meta.watcher, richard.purdie
Version: unspecified   
Target Milestone: 4.1 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
do_configure log none

Description Pavel Zhukov 2022-05-24 16:24:42 UTC
Created attachment 4869 [details]
do_configure log

Seems like there's regression introduced in 39ec265ecbf6f0cb64a352ce6af9bff94368df10 (OE-Core 09092685fdc8ffe6384bea441394ce02d6ff7e66) which causes libsdl2-native FTBFS with error (full log attached):

| CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
| Please set them or make sure they are set and tested correctly in the CMake files:
| XINERAMA_LIB
|     linked by target "SDL2-static" in directory /mnt/builds/yocto-gnat/builds/build-gnat/tmp/work/x86_64-linux/libsdl2-native/2.0.22-r0/SDL2-2.0.22
|     linked by target "SDL2" in directory /mnt/builds/yocto-gnat/builds/build-gnat/tmp/work/x86_64-linux/libsdl2-native/2.0.22-r0/SDL2-2.0.22
| 


It's new workspace with all default config. Commit found with bisecting.
Comment 1 Pavel Zhukov 2022-05-25 06:43:06 UTC
Patch is under review: https://lists.openembedded.org/g/openembedded-core/message/166094