Bug 14812 - libsdl2-native failed to build
Summary: libsdl2-native failed to build
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 4.1 M1
Assignee: Pavel Zhukov
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-05-24 16:24 UTC by Pavel Zhukov
Modified: 2022-05-28 12:05 UTC (History)
4 users (show)

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


Attachments
do_configure log (15.06 KB, application/octet-stream)
2022-05-24 16:24 UTC, Pavel Zhukov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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