too long lines were shrinked: /usr/bin/x86_64-pc-linux-gnu-g++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/lib/llvm/17/include -I/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/include -I/usr/include/spirv/include -I/var/tmp/portage/dev-util/spirv-llvm-tra In file included from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/SPIRVInternal.h:45, from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/OCLUtil.h:42, from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/OCLToSPIRV.h:43, from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/OCLToSPIRV.cpp:41: /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h: In member function void SPIRV::SPIRVMap<Ty1, Ty2, Identifier>::init() [with Ty1 = spv::Capability; Ty2 = std::__cxx11::basic_string<char>; Identifier = void]: /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h:613:7: error: CapabilityLongConstantCompositeINTEL was not declared in this scope 613 | add(CapabilityLongConstantCompositeINTEL, "LongConstantCompositeINTEL"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_systemd_merged_usr-20240118-042011 ------------------------------------------------------------------- gcc-config -l: [1] 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 * php cli (if any): HEAD of ::gentoo commit 66830eb803f1eca2bc1a951b523e3aa23fdc8302 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Jan 18 03:48:22 2024 +0000 2024-01-18 03:48:21 UTC emerge -qpvO dev-util/spirv-llvm-translator [ebuild N ] dev-util/spirv-llvm-translator-17.0.0 USE="-test"
Created attachment 882549 [details] emerge-info.txt
Created attachment 882550 [details] dev-util:spirv-llvm-translator-17.0.0:20240118-132947.log
Created attachment 882551 [details] emerge-history.txt
Created attachment 882552 [details] environment
Created attachment 882553 [details] etc.clang.tar.xz
Created attachment 882554 [details] etc.portage.tar.xz
Created attachment 882555 [details] qlist-info.txt
Created attachment 882556 [details] temp.tar.xz
Hi Toralf, I ran into this one too and found this upstream PR with some hints about a commit for the dev-util/spirv-headers package. https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2258 No chance for me to test this until after I rest. Best Regards, -Chicago
Created attachment 882632 [details, diff] backported patch
Thanks Kostadin! * Applying user patches from /etc/portage/patches ... * Applying LongCompositesINTEL-capability.patch ... [ ok ] * User patches applied. * >>> Completed (1 of 1) dev-util/spirv-llvm-translator-17.0.0::gentoo
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f14418d3a1e63ad1eca29cb8a2ad0cb165987a06 commit f14418d3a1e63ad1eca29cb8a2ad0cb165987a06 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2024-01-20 21:07:01 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2024-01-20 21:13:16 +0000 dev-util/spirv-llvm-translator: support new spirv headers Closes: https://bugs.gentoo.org/922435 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> ...v-llvm-translator-17.0.0-intel-capability.patch | 181 +++++++++++++++++++++ ...uild => spirv-llvm-translator-17.0.0-r1.ebuild} | 4 +- 2 files changed, 184 insertions(+), 1 deletion(-)
You forgot to depend on >=spirv-headers-1.3.275 With spirv-headers-1.3.268 the build fails.
(In reply to Ingo Brunberg from comment #13) > You forgot to depend on >=spirv-headers-1.3.275 > With spirv-headers-1.3.268 the build fails. Whoops, indeed. Thanks!