-- Generating done (0.1s) CMake Generate step failed. Build files cannot be regenerated correctly. * ERROR: dev-libs/ncnn-20231027::gentoo failed (configure phase): * cmake failed * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_systemd-20231105-204015 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.4 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.4 Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 [2] rust-1.73.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] 2) Eclipse Temurin JRE 17.0.8.1_p1 [openjdk-jre-bin-17] 3) Eclipse Temurin JRE 21.0.1_p12 [openjdk-jre-bin-21] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm [2] openjdk-jre-bin-17 [3] openjdk-jre-bin-21 The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.4 linux/amd64 HEAD of ::gentoo commit 68161e1f8d521d357a6b2476eaf2a917de040510 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Nov 10 04:16:59 2023 +0000 2023-11-10 04:16:58 UTC emerge -qpvO dev-libs/ncnn [ebuild N ] dev-libs/ncnn-20231027 USE="vulkan -tools"
Created attachment 874427 [details] emerge-info.txt
Created attachment 874428 [details] dev-libs:ncnn-20231027:20231110-063553.log
Created attachment 874429 [details] emerge-history.txt.xz
Created attachment 874430 [details] environment
Created attachment 874431 [details] etc.clang.tar.xz
Created attachment 874432 [details] etc.portage.tar.xz
Created attachment 874433 [details] qlist-info.txt.xz
Created attachment 874434 [details] temp.tar.xz
CMake Error in src/CMakeLists.txt: Imported target "glslang::SPIRV" includes non-existent path "/usr/include/External" Haven't looked closely but sounds like a problem with the new glslang itself rather than here if it's referencing something that doesn't exist. Don't know what's supposed to be in there but simply creating an empty directory /usr/include/External lets it build. If it was actually supposed to be empty, it's possible it got removed by portage and needs keepdir. (on a side-note, seems glslang has a new .13 soname but it did not bump subslot, getting preserved rebuilds for ncnn)
(In reply to Ionen Wolkens from comment #9) > Don't know what's supposed to be in there but simply creating an empty > directory /usr/include/External lets it build. If it was actually supposed > to be empty, it's possible it got removed by portage and needs keepdir. ...albeit it's an awfully generic name to be in top-level /usr/include rather than /usr/include/glslang/External, not that it'd matter if it's empty anyway.. but maybe there's something off in the cmakelists.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202e24f69e75a8910144ec7f3ee617b3598653dd commit 202e24f69e75a8910144ec7f3ee617b3598653dd Author: Nick Sarnie <sarnex@gentoo.org> AuthorDate: 2023-11-10 18:23:47 +0000 Commit: Nick Sarnie <sarnex@gentoo.org> CommitDate: 2023-11-10 18:24:44 +0000 dev-util/glslang: Fix cmake targets Closes: https://bugs.gentoo.org/917110 Signed-off-by: Nick Sarnie <sarnex@gentoo.org> .../files/glslang-1.3.238-Fix-cmake-targets.patch | 26 ++++++++++++++++++++++ ...1.3.268-r1.ebuild => glslang-1.3.268-r2.ebuild} | 4 +++- dev-util/glslang/glslang-9999.ebuild | 4 +++- 3 files changed, 32 insertions(+), 2 deletions(-)