Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922779 - dev-util/spirv-llvm-translator-16.0.0-r1 fails to compile (MUSL-SYSTEM): SPIRVNameMapEnum.h:594:7: error: CapabilityLongConstantCompositeINTEL was not declared in this scope
Summary: dev-util/spirv-llvm-translator-16.0.0-r1 fails to compile (MUSL-SYSTEM): SPIR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 13:36 UTC by Agostino Sarubbo
Modified: 2024-03-16 11:26 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,135.01 KB, text/plain)
2024-01-23 13:36 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-01-23 13:36:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/spirv-llvm-translator-15.0.0-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-23 13:36:29 UTC
Created attachment 882984 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-01-23 13:36:30 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/LLVMToSPIRVDbgTran.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLToSPIRV.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLTypeToSPIRV.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/OCLUtil.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBitCastToNonStandardType.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerBool.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerConstExpr.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerMemmove.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVLowerOCLBlocks.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVReader.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVRegularizeLLVM.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToLLVMDbgTran.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/SPIRVToOCL12.cpp.o 
FAILED: lib/SPIRV/CMakeFiles/LLVMSPIRVLib.dir/VectorComputeUtil.cpp.o 
/var/tmp/portage/dev-util/spirv-llvm-translator-15.0.0-r1/work/SPIRV-LLVM-Translator-15.0.0/lib/SPIRV/libSPIRV/SPIRVNameMapEnum.h:594:7: error: 'CapabilityLongConstantCompositeINTEL' was not declared in this scope
Comment 3 opar 2024-02-05 00:48:22 UTC
It's the same on amd64 and it's a dependency of intel-compute-runtime.
Comment 4 Agostino Sarubbo gentoo-dev 2024-02-07 08:11:06 UTC
clang-lld_tinderbox has reproduced this issue with version 16.0.0-r1 - Updating summary.
Comment 5 Larry the Git Cow gentoo-dev 2024-02-08 21:49:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cc69ea9750b8dcaf1d2f3924a817a16545d6154

commit 2cc69ea9750b8dcaf1d2f3924a817a16545d6154
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2024-02-08 20:19:23 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-02-08 21:47:33 +0000

    dev-util/spirv-llvm-translator: fix compilation
    
    Closes: https://bugs.gentoo.org/922779
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 6 Brian H. Ward 2024-02-11 14:22:48 UTC
This patch, when applied to spirv-llvm-translator-16.0.0-r1 results in a build that is not compatible with spirv-headers-1.3.268. For amd64/17.1/desktop/systemd these two packages are the current unmasked versions, so desktop won't build during `emerge -uDN @world` after switching from amd64/17.1/systemd to amd64/17.1/desktop/systemd.
Comment 7 Conrad Kostecki gentoo-dev 2024-03-16 11:26:25 UTC
Should be now fixed, as spirv-headers-1.3.268 is gone from tree.