CMake Error at CMakeLists.txt:490 (message): glslang or SPIRV target not found -- Configuring incomplete, errors occurred! * ERROR: media-gfx/renderdoc-1.30::gentoo failed (configure phase): * cmake failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-20240112-230022 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Rust versions: [1] rust-bin-1.74.1 [2] rust-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] 2) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] *) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-bin-17 [3] openjdk-bin-21 php cli (if any): go version go1.21.6 linux/amd64 HEAD of ::gentoo commit 78152c5bb1b63a6a18b989bd1aef6b1c3c3286ad Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Jan 18 08:18:13 2024 +0000 2024-01-18 08:18:12 UTC emerge -qpvO media-gfx/renderdoc [ebuild R ] media-gfx/renderdoc-1.30 USE="-doc -pyside2 -qt5 -verify-sig" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Created attachment 882557 [details] emerge-info.txt
Created attachment 882558 [details] emerge-history.txt.xz
Created attachment 882559 [details] environment
Created attachment 882560 [details] etc.clang.tar.xz
Created attachment 882561 [details] etc.portage.tar.xz
Created attachment 882562 [details] media-gfx:renderdoc-1.30:20240118-091748.log
Created attachment 882563 [details] qlist-info.txt.xz
Created attachment 882564 [details] temp.tar.xz
It seems with newer glslang both cmake modules and API changed (it broke ffmpeg too btw, but there it is a USE option). I tried patching cmakelists, but headers changed too. I haven't dug deeper, maybe it's not that much; using bundled version of glslang seemed saner option. Any downsides of adding USE=system-glslang option, and use bundled when it is disabled?
> using bundled version of glslang seemed saner option. Yes - I'll drop the system-glslang patches and switch to the vendored copy. Recently it's started to break with every update and I don't think it's worth keeping up with.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbab74604fc6fea1f0ddc167ca889e567ca6f25a commit dbab74604fc6fea1f0ddc167ca889e567ca6f25a Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2024-01-27 17:37:12 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2024-01-27 17:37:31 +0000 media-gfx/renderdoc: use vendored glslang Closes: https://bugs.gentoo.org/922436 Signed-off-by: Matthew Smith <matthew@gentoo.org> .../files/renderdoc-1.30-r1-system-compress.patch | 142 +++++++++++++++ media-gfx/renderdoc/renderdoc-1.30-r1.ebuild | 194 +++++++++++++++++++++ 2 files changed, 336 insertions(+)