[Bug 1228421] New: Package vulkan-headers does not build with gcc 14 because CMake refuses to use Makefiles
https://bugzilla.suse.com/show_bug.cgi?id=1228421 Bug ID: 1228421 Summary: Package vulkan-headers does not build with gcc 14 because CMake refuses to use Makefiles Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: mjambor@suse.com QA Contact: qa-bugs@suse.de CC: jengelh@inai.de Blocks: 1220574 Target Milestone: --- Found By: --- Blocker: --- Package vulkan-headers started failing to build with GCC 14 as can be seen online at: https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:G... and can be tried manually with: osc build --clean --alternative-project home:rguenther:nextgcc The failure happens straight away during the configuration phase when Cmake refuses to continue: CMake Error in CMakeLists.txt: The target named "Vulkan-Module" has C++ sources that may use modules, but modules are not supported by this generator: Unix Makefiles Modules are supported only by Ninja, Ninja Multi-Config, and Visual Studio generators for VS 17.4 and newer. See the cmake-cxxmodules(7) manual for details. Use the CMAKE_CXX_SCAN_FOR_MODULES variable to enable or disable scanning. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228421 https://bugzilla.suse.com/show_bug.cgi?id=1228421#c1 --- Comment #1 from Martin Jambor <mjambor@suse.com> --- Passing -DCMAKE_CXX_SCAN_FOR_MODULES=OFF has no effect but passing -DVULKAN_HEADERS_ENABLE_MODULE=OFF seems to do the trick, so I will try to create a submit request with hat change. Nevertheless, it might be (soon) be necessary to switch the package to use ninja. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228421 https://bugzilla.suse.com/show_bug.cgi?id=1228421#c3 --- Comment #3 from Martin Jambor <mjambor@suse.com> --- I have created https://src.opensuse.org/jengelh/vulkan-headers/pulls/1 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228421 https://bugzilla.suse.com/show_bug.cgi?id=1228421#c4 --- Comment #4 from Martin Jambor <mjambor@suse.com> --- (In reply to Jan Engelhardt from comment #2)
Or we need to nudge the %cmake macro to just use ninja as a backend(?)
If you prefer that I guess that is the proper fix. I am just not willing to get bogged down to learning ninja right now if it is not straightforward ;-) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1228421 https://bugzilla.suse.com/show_bug.cgi?id=1228421#c5 --- Comment #5 from OBSbugzilla Bot <bwiedemann+obsbugzillabot@suse.com> --- This is an autogenerated message for OBS integration: This bug (1228421) was mentioned in https://build.opensuse.org/request/show/1190289 Factory / vulkan-headers -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com