Bug#1103058: cccl: FTBFS in testing/i386: complex.cu:25:42: error: static assertion failed
Lucas Nussbaum
lucas at debian.org
Mon Apr 14 12:26:26 BST 2025
Source: cccl
Version: 2.2.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250414 ftbfs-trixie
Hi,
During a rebuild of all packages in testing (trixie), your package failed
to build on i386.
Relevant part (hopefully):
> cd /build/reproducible-path/cccl-2.2.0/obj-i686-linux-gnu/thrust && /usr/bin/c++ -DCUB_WRAPPED_NAMESPACE=wrapped_cub -DTHRUST_DEVICE_SYSTEM=THRUST_DEVICE_SYSTEM_CPP -DTHRUST_HOST_SYSTEM=THRUST_HOST_SYSTEM_CPP -DTHRUST_WRAPPED_NAMESPACE=wrapped_thrust -I/build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../.. -I/build/reproducible-path/cccl-2.2.0/libcudacxx/lib/cmake/libcudacxx/../../../include -g -O2 -ffile-prefix-map=/build/reproducible-path/cccl-2.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++17 -Werror -Wall -Wextra -Winit-self -Woverloaded-virtual -Wcast-qual -Wpointer-arith -Wvla -Wno-gnu-line-marker -Wno-gnu-zero-variadic-macro-arguments -Wno-unused-function -Wno-noexcept-type -MD -MT thrust/CMakeFiles/thrust.headers.dir/headers/thrust/reduce.h.cpp.o -MF CMakeFiles/thrust.headers.dir/headers/thrust/reduce.h.cpp.o.d -o CMakeFiles/thrust.headers.dir/headers/thrust/reduce.h.cpp.o -c /build/reproducible-path/cccl-2.2.0/obj-i686-linux-gnu/thrust/headers/thrust/reduce.h.cpp
> In file included from /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/type_traits/is_trivially_relocatable.h:27,
> from /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/detail/complex/complex.inl:23,
> from /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/complex.h:1036,
> from /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/assertions.h:3,
> from /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/unittest.h:6,
> from /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu:1,
> from /build/reproducible-path/cccl-2.2.0/obj-i686-linux-gnu/thrust/testing/thrust/complex.cu.cpp:1:
> /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu: In instantiation of ‘void TestComplexSizeAndAlignment<T>::operator()() [with T = double]’:
> /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/meta.h:70:6: required from ‘void unittest::for_each_type<TypeList, Function, T, i>::operator()() [with TypeList = unittest::type_list<float, double>; Function = TestComplexSizeAndAlignment; T = double; unsigned int i = 1]’
> 70 | f();
> | ~^~
> /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/meta.h:77:9: required from ‘void unittest::for_each_type<TypeList, Function, T, i>::operator()() [with TypeList = unittest::type_list<float, double>; Function = TestComplexSizeAndAlignment; T = float; unsigned int i = 0]’
> 77 | loop();
> | ~~~~^~
> /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/testframework.h:541:15: required from ‘void SimpleUnitTest<TestName, TypeList>::run() [with TestName = TestComplexSizeAndAlignment; TypeList = unittest::type_list<float, double>]’
> 541 | for_each();
> | ~~~~~~~~^~
> /build/reproducible-path/cccl-2.2.0/thrust/testing/unittest/testframework.h:533:10: required from here
> 533 | void run()
> | ^~~
> /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu:25:42: error: static assertion failed
> 25 | THRUST_ALIGNOF(thrust::complex<T>) == THRUST_ALIGNOF(T) * 2
> /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/detail/static_assert.h:46:58: note: in definition of macro ‘THRUST_STATIC_ASSERT’
> 46 | # define THRUST_STATIC_ASSERT(B) static_assert(B)
> | ^
> /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu:25:42: note: the comparison reduces to ‘(16 == 8)’
> 25 | THRUST_ALIGNOF(thrust::complex<T>) == THRUST_ALIGNOF(T) * 2
> /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/detail/static_assert.h:46:58: note: in definition of macro ‘THRUST_STATIC_ASSERT’
> 46 | # define THRUST_STATIC_ASSERT(B) static_assert(B)
> | ^
> /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu:32:48: error: static assertion failed
> 32 | THRUST_ALIGNOF(thrust::complex<T const>) == THRUST_ALIGNOF(T) * 2
> /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/detail/static_assert.h:46:58: note: in definition of macro ‘THRUST_STATIC_ASSERT’
> 46 | # define THRUST_STATIC_ASSERT(B) static_assert(B)
> | ^
> /build/reproducible-path/cccl-2.2.0/thrust/testing/complex.cu:32:48: note: the comparison reduces to ‘(16 == 8)’
> 32 | THRUST_ALIGNOF(thrust::complex<T const>) == THRUST_ALIGNOF(T) * 2
> /build/reproducible-path/cccl-2.2.0/thrust/thrust/cmake/../../thrust/detail/static_assert.h:46:58: note: in definition of macro ‘THRUST_STATIC_ASSERT’
> 46 | # define THRUST_STATIC_ASSERT(B) static_assert(B)
> | ^
> cc1plus: note: unrecognized command-line option ‘-Wno-gnu-zero-variadic-macro-arguments’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-gnu-line-marker’ may have been intended to silence earlier diagnostics
> make[3]: *** [thrust/testing/CMakeFiles/thrust.test.complex.dir/build.make:82: thrust/testing/CMakeFiles/thrust.test.complex.dir/thrust/complex.cu.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/cccl_2.2.0-3_testing-i386.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&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-nvidia-devel
mailing list