#1145337 spirv-llvm-translator-18: FTBFS: error: line 52: End of input reached while decoding OpExtInst starting at word 236: expected more operands after 8 words.

#1145337#5
Date:
2026-08-24 09:49:57 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:spirv-llvm-translator-18, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
[ 97%] Built target llvm-spirv
make  -f test/CMakeFiles/check-llvm-spirv.dir/build.make test/CMakeFiles/check-llvm-spirv.dir/depend
make[5]: Entering directory '/<<PKGBUILDDIR>>/build'
cd /<<PKGBUILDDIR>>/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/build /<<PKGBUILDDIR>>/build/test /<<PKGBUILDDIR>>/build/test/CMakeFiles/check-llvm-spirv.dir/DependInfo.cmake "--color=" check-llvm-spirv
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
make  -f test/CMakeFiles/check-llvm-spirv.dir/build.make test/CMakeFiles/check-llvm-spirv.dir/build
make[5]: Entering directory '/<<PKGBUILDDIR>>/build'
[100%] Running the LLVM-SPIRV regression tests
cd /<<PKGBUILDDIR>>/build/test && /usr/lib/llvm-18/build/utils/lit/lit.py --verbose -sv /<<PKGBUILDDIR>>/build/test
lit.py: /usr/lib/llvm-18/build/utils/lit/lit/llvm/config.py:502: note: using clang: /usr/lib/llvm-18/bin/clang
-- Testing: 880 tests, 2 workers --
Testing: 0  2  4  6  8
FAIL: LLVM_SPIRV :: DebugInfo/NonSemantic/Shader200/DebugLinePriority.spt (98 of 880)
******************** TEST 'LLVM_SPIRV :: DebugInfo/NonSemantic/Shader200/DebugLinePriority.spt' FAILED ********************
Exit Code: 1

Command Output (stderr):
--
RUN: at line 1: /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv -to-binary /<<PKGBUILDDIR>>/test/DebugInfo/NonSemantic/Shader200/DebugLinePriority.spt -o /<<PKGBUILDDIR>>/build/test/test_output/DebugInfo/NonSemantic/Shader200/Output/DebugLinePriority.spt.tmp.spv
+ /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv -to-binary /<<PKGBUILDDIR>>/test/DebugInfo/NonSemantic/Shader200/DebugLinePriority.spt -o /<<PKGBUILDDIR>>/build/test/test_output/DebugInfo/NonSemantic/Shader200/Output/DebugLinePriority.spt.tmp.spv
RUN: at line 2: /usr/bin/spirv-val /<<PKGBUILDDIR>>/build/test/test_output/DebugInfo/NonSemantic/Shader200/Output/DebugLinePriority.spt.tmp.spv
+ /usr/bin/spirv-val /<<PKGBUILDDIR>>/build/test/test_output/DebugInfo/NonSemantic/Shader200/Output/DebugLinePriority.spt.tmp.spv
error: line 52: End of input reached while decoding OpExtInst starting at word 236: expected more operands after 8 words.