Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743172 - 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>’
Summary: dev-cpp/eigen-3.3.7 fails to build tests - /var/tmp/portage/dev-cpp/eigen-3.3...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-09-17 18:03 UTC by ernsteiswuerfel
Modified: 2023-05-01 23:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (eigen-3.3.7:20200917-173318.log,973.18 KB, text/plain)
2020-09-17 18:03 UTC, ernsteiswuerfel
Details
emerge --info (file_743172.txt,5.90 KB, text/plain)
2020-09-17 18:03 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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 Infrastructure gentoo-dev Security 2020-09-17 18:17:15 UTC
Reporting this upstream may be required.
Comment 3 Yarda 2023-05-01 23:43:55 UTC
Reproduced with dev-cpp/eigen-3.4.0-r1, it emerges OK with '-doc'.