Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 743172

Summary: dev-cpp/eigen-3.3.7 fails to build tests - /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/MathFunctions.h:623:50: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: UNCONFIRMED ---    
Severity: normal CC: kde, sam
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description ernsteiswuerfel archtester 2020-09-17 18:03:35 UTC
Created attachment 661056 [details]
build.log

[...]
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/MathFunctions.h:684:50:   required from ‘typename Eigen::internal::random_retval<typename Eigen::internal::global_math_functions_filtering_base<Scalar>::type>::type Eigen::internal::random() [with Scalar = long long int; typename Eigen::internal::random_retval<typename Eigen::internal::global_math_functions_filtering_base<Scalar>::type>::type = long long int]’
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/integer_types.cpp:112:34:   required from ‘void integer_type_tests(const MatrixType&) [with MatrixType = Eigen::Matrix<long long int, 11, 13>]’
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/integer_types.cpp:154:5:   required from here
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/MathFunctions.h:623:50: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
  623 |     typedef typename make_unsigned<Scalar>::type ScalarU;
      |                                                  ^~~~~~~
In file included from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/Core:364,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/QR:11,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/main.h:305,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/integer_types.cpp:12:
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/util/Meta.h:118:27: note: declaration of ‘struct Eigen::internal::make_unsigned<long long int>’
  118 | template<typename> struct make_unsigned;
      |                           ^~~~~~~~~~~~~
In file included from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/Core:371,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/QR:11,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/main.h:305,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/integer_types.cpp:12:
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/MathFunctions.h:627:35: error: invalid use of incomplete type ‘struct Eigen::internal::make_unsigned<long long int>’
  627 |     typedef typename conditional<(ScalarU(-1) > unsigned(-1)), ScalarU, unsigned>::type ScalarX;
      |                                   ^~~~~~~~~~~
In file included from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/Core:364,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/QR:11,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/main.h:305,
                 from /var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/test/integer_types.cpp:12:
/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7/Eigen/src/Core/util/Meta.h:118:27: note: declaration of ‘struct Eigen::internal::make_unsigned<long long int>’
  118 | template<typename> struct make_unsigned;
[...]
make[2]: Leaving directory '/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7_build'
make[1]: *** [CMakeFiles/Makefile2:4392: CMakeFiles/buildtests.dir/rule] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-cpp/eigen-3.3.7/work/eigen-3.3.7_build'
make: *** [Makefile:500: buildtests] Error 2
 * ERROR: dev-cpp/eigen-3.3.7::gentoo failed (test phase):
Comment 1 ernsteiswuerfel archtester 2020-09-17 18:03:50 UTC
Created attachment 661059 [details]
emerge --info
Comment 2 Sam James archtester gentoo-dev Security 2020-09-17 18:17:15 UTC
Reporting this upstream may be required.