Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922616 - dev-util/spirv-llvm-translator-17.0.0-r1 - ...//spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVEntry.h:911:19: error: use of undeclared identifier 'CapabilityLongCompositesINTEL'
Summary: dev-util/spirv-llvm-translator-17.0.0-r1 - ...//spirv-llvm-translator-17.0.0-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-21 13:08 UTC by ernsteiswuerfel
Modified: 2024-01-21 16:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (spirv-llvm-translator-17.0.0-r1:20240121-123503.log,16.33 KB, text/plain)
2024-01-21 13:08 UTC, ernsteiswuerfel
Details
emerge --info (file_922616.txt,7.33 KB, text/plain)
2024-01-21 13:09 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-01-21 13:08:39 UTC
Created attachment 882765 [details]
build.log

This is on my amd64 musl/clang system:

[...]
ninja: job failed: /usr/lib/llvm/17/bin/clang++-17 -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-r1/work/SPIRV-LLVM-Translator-17.0.0/include -I/usr/include/spirv/include -I/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV -I/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV -I/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/Mangler  -Os -march=znver2 -pipe -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -std=gnu++17 -fPIC -MD -MT lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o -MF lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o.d -o lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/libSPIRV/SPIRVValue.cpp.o -c /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVValue.cpp
In file included from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVValue.cpp:43:
In file included from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVValue.h:46:
In file included from /var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVDecorate.h:43:
/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/SPIRVEntry.h:911:19: error: use of undeclared identifier 'CapabilityLongCompositesINTEL'; did you mean 'spv::internal::CapabilityFastCompositeINTEL'?
  911 |     return getVec(CapabilityLongCompositesINTEL);
      |                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                   spv::internal::CapabilityFastCompositeINTEL
/var/tmp/portage/dev-util/spirv-llvm-translator-17.0.0-r1/work/SPIRV-LLVM-Translator-17.0.0/lib/SPIRV/libSPIRV/spirv_internal.hpp:261:22: note: 'spv::internal::CapabilityFastCompositeINTEL' declared here
  261 | constexpr Capability CapabilityFastCompositeINTEL =
      |                      ^
1 error generated.
ninja: subcommand failed
 * ERROR: dev-util/spirv-llvm-translator-17.0.0-r1::gentoo failed (compile phase):
Comment 1 ernsteiswuerfel archtester 2024-01-21 13:09:06 UTC
Created attachment 882766 [details]
emerge --info
Comment 2 immolo 2024-01-21 13:31:23 UTC
I was looking into this last night with a different user and your portage sync for ::gentoo might just be outdated as a patch was added last night to resolve this.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-21 13:38:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8d087779fe22883a6969f8b953065e2aee776d

commit 9d8d087779fe22883a6969f8b953065e2aee776d
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-01-21 13:38:12 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-01-21 13:38:12 +0000

    dev-util/spirv-llvm-translator: also depend on newer spirv-headers
    
    Closes: https://bugs.gentoo.org/922616
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 ...anslator-17.0.0-r1.ebuild => spirv-llvm-translator-17.0.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 4 ernsteiswuerfel archtester 2024-01-21 16:24:54 UTC
17.0.0-r2 with it's updated deps builds fine now. Thanks!