[Pkg-opencl-devel] Bug#1073405: spirv-llvm-translator-16: FTBFS: dh_auto_test: error: cd build && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2

Lucas Nussbaum lucas at debian.org
Sun Jun 16 14:26:13 BST 2024


Source: spirv-llvm-translator-16
Version: 16.0.0-7
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[5]: Entering directory '/<<PKGBUILDDIR>>/build'
> [100%] Running the LLVM-SPIRV regression tests
> cd /<<PKGBUILDDIR>>/build/test && /usr/lib/llvm-16/build/utils/lit/lit.py --verbose -sv /<<PKGBUILDDIR>>/build/test
> lit.py: /usr/lib/llvm-16/build/utils/lit/lit/llvm/config.py:459: note: using clang: /usr/lib/llvm-16/bin/clang
> -- Testing: 700 tests, 8 workers --
> 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 
> FAIL: LLVM_SPIRV :: read_image.cl (532 of 700)
> ******************** TEST 'LLVM_SPIRV :: read_image.cl' FAILED ********************
> Script:
> --
> : 'RUN: at line 1';   /usr/lib/llvm-16/bin/clang -cc1 -internal-isystem /usr/lib/llvm-16/lib/clang/16/include -nostdsysteminc -triple spir64 -fdeclare-opencl-builtins -finclude-default-header -O0 -cl-std=CL2.0 -emit-llvm-bc /<<PKGBUILDDIR>>/test/read_image.cl -o /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.bc
> : 'RUN: at line 2';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv --spirv-max-version=1.3 /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.bc -o /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.spv
> : 'RUN: at line 3';   /usr/bin/spirv-val /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.spv
> : 'RUN: at line 4';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.spv -to-text -o - | /usr/lib/llvm-16/bin/FileCheck /<<PKGBUILDDIR>>/test/read_image.cl --check-prefix=CHECK-SPIRV
> : 'RUN: at line 5';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv -r /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.spv -o /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.bc --spirv-target-env=SPV-IR
> : 'RUN: at line 6';   /usr/lib/llvm-16/bin/llvm-dis -opaque-pointers=0 < /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.bc | /usr/lib/llvm-16/bin/FileCheck /<<PKGBUILDDIR>>/test/read_image.cl --check-prefix=CHECK-SPV-LLVM
> : 'RUN: at line 7';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv --spirv-max-version=1.3 /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.bc -o /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.spv
> : 'RUN: at line 8';   /usr/bin/spirv-val /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.spv
> : 'RUN: at line 9';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv --spirv-max-version=1.3 /<<PKGBUILDDIR>>/build/test/test_output/Output/read_image.cl.tmp.rev.spv -to-text -o - | /usr/lib/llvm-16/bin/FileCheck /<<PKGBUILDDIR>>/test/read_image.cl --check-prefix=CHECK-SPIRV
> --
> Exit Code: 1
> 
> Command Output (stderr):
> --
> error: line 59: ID '10' decorated with Alignment multiple times is not allowed.
>   %input_addr = OpVariable %_ptr_Function__ptr_CrossWorkgroup_uchar Function
> 
> 
> --
> 
> ********************
> 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 
> FAIL: LLVM_SPIRV :: transcoding/OpPhi_ArgumentsPlaceholders.ll (578 of 700)
> ******************** TEST 'LLVM_SPIRV :: transcoding/OpPhi_ArgumentsPlaceholders.ll' FAILED ********************
> Script:
> --
> : 'RUN: at line 15';   /usr/lib/llvm-16/bin/llvm-as /<<PKGBUILDDIR>>/test/transcoding/OpPhi_ArgumentsPlaceholders.ll -o /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.bc
> : 'RUN: at line 16';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.bc -spirv-text -o /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.txt
> : 'RUN: at line 17';   /usr/lib/llvm-16/bin/FileCheck < /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.txt /<<PKGBUILDDIR>>/test/transcoding/OpPhi_ArgumentsPlaceholders.ll --check-prefix=CHECK-SPIRV
> : 'RUN: at line 18';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.bc -o /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.spv
> : 'RUN: at line 19';   /usr/bin/spirv-val /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.spv
> : 'RUN: at line 20';   /<<PKGBUILDDIR>>/build/tools/llvm-spirv/llvm-spirv -r -emit-opaque-pointers /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.spv -o /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.rev.bc
> : 'RUN: at line 21';   /usr/lib/llvm-16/bin/llvm-dis < /<<PKGBUILDDIR>>/build/test/test_output/transcoding/Output/OpPhi_ArgumentsPlaceholders.ll.tmp.rev.bc | /usr/lib/llvm-16/bin/FileCheck /<<PKGBUILDDIR>>/test/transcoding/OpPhi_ArgumentsPlaceholders.ll --check-prefix=CHECK-LLVM
> --
> Exit Code: 1
> 
> Command Output (stderr):
> --
> error: line 54: ID '19' decorated with NoSignedWrap multiple times is not allowed.
>   %inc = OpIAdd %uint %j_0 %uint_1
> 
> 
> --
> 
> ********************
> 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 (2):
>   LLVM_SPIRV :: read_image.cl
>   LLVM_SPIRV :: transcoding/OpPhi_ArgumentsPlaceholders.ll
> 
> 
> Testing Time: 15.98s
>   Unsupported      :   1
>   Passed           : 695
>   Expectedly Failed:   2
>   Failed           :   2
> make[5]: *** [test/CMakeFiles/check-llvm-spirv.dir/build.make:74: test/CMakeFiles/check-llvm-spirv] Error 1
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/build'
> make[4]: *** [CMakeFiles/Makefile2:406: test/CMakeFiles/check-llvm-spirv.dir/all] Error 2
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/build'
> make[3]: *** [CMakeFiles/Makefile2:439: test/CMakeFiles/test.dir/rule] Error 2
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
> make[2]: *** [Makefile:315: test] Error 2
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
> dh_auto_test: error: cd build && make -j8 test ARGS\+=--verbose ARGS\+=-j8 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/spirv-llvm-translator-16_16.0.0-7_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-opencl-devel mailing list