Created attachment 256041 [details] unbreak build After the update of graphics/glslang to 15.1.0_1 (see PR 283325), the build fails at configuration stage by not finding the FindSPIRV-Tools-opt.cmake module. Unbreak the build by adding graphics/spirv-tools to the BUILD_DEPENDS list when building with vulkan support.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8de81f83be09343d77ac5ee84ab8641cd72a244d commit 8de81f83be09343d77ac5ee84ab8641cd72a244d Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2024-12-23 21:05:37 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2024-12-23 23:03:09 +0000 graphics/glslang: track static library dependency after cbf133ac4b4a $ cat CMakeLists.txt cmake_minimum_required(VERSION 3.10) project(foo) find_package(glslang REQUIRED) $ cmake . [...] CMake Error at /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package): By not providing "FindSPIRV-Tools-opt.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "SPIRV-Tools-opt", but CMake did not find one. Could not find a package configuration file provided by "SPIRV-Tools-opt" with any of the following names: SPIRV-Tools-optConfig.cmake spirv-tools-opt-config.cmake Add the installation prefix of "SPIRV-Tools-opt" to CMAKE_PREFIX_PATH or set "SPIRV-Tools-opt_DIR" to a directory containing one of the above files. If "SPIRV-Tools-opt" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /usr/local/lib/cmake/glslang/glslang-config.cmake:28 (find_dependency) CMakeLists.txt:3 (find_package) https://github.com/KhronosGroup/glslang/commit/82e0d00b32d2 PR: 283489 Reported by: Stefan Schlosser graphics/glslang/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
graphics/libplacebo was also affected but masked by an unrelated BROKEN until ports 5dc9e6d0c83c.
Thank you very much for looking into it.