Bug#1103067: eigen3: FTBFS in testing/i386: GenericPacketMathFunctions.h:42:77: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
Lucas Nussbaum
lucas at debian.org
Mon Apr 14 12:27:20 BST 2025
Source: eigen3
Version: 3.4.0-4
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/eigen3-3.4.0/debian/build/unsupported/doc/examples && /usr/bin/c++ -I/build/reproducible-path/eigen3-3.4.0 -I/build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/../../../unsupported -I/build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/../../../unsupported/test -g -O2 -ffile-prefix-map=/build/reproducible-path/eigen3-3.4.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++03 -pedantic -Wall -Wextra -Wundef -Wcast-align -Wchar-subscripts -Wnon-virtual-dtor -Wunused-local-typedefs -Wpointer-arith -Wwrite-strings -Wformat-security -Wlogical-op -Wenum-conversion -Wc++11-extensions -Wdouble-promotion -Wshadow -Wno-psabi -Wno-variadic-macros -Wno-long-long -fno-check-new -fno-common -fstrict-aliasing -ansi -msse2 -msse3 -MD -MT unsupported/doc/examples/CMakeFiles/example_MatrixFunction.dir/MatrixFunction.cpp.o -MF CMakeFiles/example_MatrixFunction.dir/MatrixFunction.cpp.o.d -o CMakeFiles/example_MatrixFunction.dir/MatrixFunction.cpp.o -c /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/MatrixFunction.cpp
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/EulerAngles:14,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/EulerAngles.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/FFT.cpp:16:
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/Polynomials:12,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/PolynomialUtils1.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/MatrixFunctions:17,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/MatrixLogarithm.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/Eigen/StdVector:14,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/BVH_Example.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/MatrixFunctions:17,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/MatrixFunction.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/MatrixFunctions:17,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/MatrixExponential.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:172,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/MatrixFunctions:17,
> from /build/reproducible-path/eigen3-3.4.0/unsupported/doc/examples/MatrixPower.cpp:1:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/GenericPacketMath.h:163:48: warning: defaulted and deleted functions only available with ‘-std=c++11’ or ‘-std=gnu++11’ [-Wc++11-extensions]
> 163 | EIGEN_ALWAYS_INLINE eigen_packet_wrapper() = default;
> | ^~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/Eigen/Core:250:
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h: In instantiation of ‘Packet Eigen::internal::pfrexp_generic(const Packet&, Packet&) [with Packet = __vector(2) double]’:
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/arch/SSE/PacketMath.h:919:24: required from here
> 919 | return pfrexp_generic(a, exponent);
> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:42:77: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
> 42 | typedef typename make_unsigned<typename make_integer<Scalar>::type>::type ScalarUI;
> | ^~~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/Eigen/Core:162:
> /build/reproducible-path/eigen3-3.4.0/Eigen/src/Core/util/Meta.h:182:27: note: declaration of ‘struct Eigen::internal::make_unsigned<long long int>’
> 182 | template<typename> struct make_unsigned;
> | ^~~~~~~~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:250:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h: In instantiation of ‘Packet Eigen::internal::pfrexp_generic(const Packet&, Packet&) [with Packet = __vector(2) double]’:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/arch/SSE/PacketMath.h:919:24: required from here
> 919 | return pfrexp_generic(a, exponent);
> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/arch/Default/GenericPacketMathFunctions.h:42:77: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
> 42 | typedef typename make_unsigned<typename make_integer<Scalar>::type>::type ScalarUI;
> | ^~~~~~~~
> In file included from /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/Core:162:
> /build/reproducible-path/eigen3-3.4.0/unsupported/Eigen/../../Eigen/src/Core/util/Meta.h:182:27: note: declaration of ‘struct Eigen::internal::make_unsigned<long long int>’
> 182 | template<typename> struct make_unsigned;
> | ^~~~~~~~~~~~~
> make[5]: *** [unsupported/doc/examples/CMakeFiles/example_FFT.dir/build.make:82: unsupported/doc/examples/CMakeFiles/example_FFT.dir/FFT.cpp.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2025/04/14/eigen3_3.4.0-4_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 debian-science-maintainers
mailing list