[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1121533: spirv-tools: causes test regression building src:spirv-llvm-translator-21



On 28.11.2025 0.01, Andreas Beckmann wrote:
Package: spirv-tools
Version: 2025.4-1
Severity: serious
Justification: causes ftbfs in dependent packages

Hi,

spirv-tools 2025.4 causes a regression when building src:spirv-llvm-translator-21
(Due to the package split a Build-Dependency on spirv-tools-dev needs to
be added (but that is *not* the bug here), otherwise spirv-tools is not found and
skipped, which makes this bug disappear).
build fine after adding a build-dependency on spirv-tools-dev.

From the attached build log:

[100%] Running the LLVM-SPIRV regression tests
cd /build/spirv-llvm-translator-21-21.1.1/build/test && /usr/lib/llvm-21/build/utils/lit/lit.py --verbose -sv /build/spirv-llvm-translator-21-21.1.1/build/test
lit.py: /usr/lib/llvm-21/build/utils/lit/lit/llvm/config.py:520: note: using clang: /usr/lib/llvm-21/bin/clang
-- Testing: 924 tests, 14 workers --
Testing: 0  2  4  6  8  10 12 14 16 18
FAIL: LLVM_SPIRV :: DecorateUniformId.spvasm (202 of 924)
******************** TEST 'LLVM_SPIRV :: DecorateUniformId.spvasm' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
/usr/bin/spirv-as /build/spirv-llvm-translator-21-21.1.1/test/DecorateUniformId.spvasm --target-env spv1.6 -o /build/spirv-llvm-translator-21-21.1.1/build/test/test_output/Output/DecorateUniformId.spvasm.tmp.spv # RUN: at line 3
+ /usr/bin/spirv-as /build/spirv-llvm-translator-21-21.1.1/test/DecorateUniformId.spvasm --target-env spv1.6 -o /build/spirv-llvm-translator-21-21.1.1/build/test/test_output/Output/DecorateUniformId.spvasm.tmp.spv
/usr/bin/spirv-val /build/spirv-llvm-translator-21-21.1.1/build/test/test_output/Output/DecorateUniformId.spvasm.tmp.spv # RUN: at line 4
+ /usr/bin/spirv-val /build/spirv-llvm-translator-21-21.1.1/build/test/test_output/Output/DecorateUniformId.spvasm.tmp.spv
error: line 6: Parameter <ID> '2[%uint_0]' must appear earlier in the binary than the target
   OpDecorateId %uint_0 UniformId %uint_0


--

********************
Testing: 0  2  4  6  8  10 12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 72 74 76 78 80 82 84 86 88 90 92 94 96 98
********************
Failed Tests (1):
   LLVM_SPIRV :: DecorateUniformId.spvasm

this seems to be a bug fixed in spirv-llvm-translator:

https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/3301


--
t


Reply to: