Bug 1917457 - F34FTBFS: conflict on log1p
Summary: F34FTBFS: conflict on log1p
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: eigen3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F34FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-01-18 14:21 UTC by Mamoru TASAKA
Modified: 2021-01-19 12:03 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-19 12:03:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gitlab libeigen eigen issues 2124 0 None None None 2021-01-19 01:48:26 UTC

Description Mamoru TASAKA 2021-01-18 14:21:24 UTC
Description of problem:
eigen3-3.3.9-1.fc34 FTBFS, probably started with gcc-11.0.0-0.14.fc34


Version-Release number of selected component (if applicable):
eigen3-3.3.9-1.fc34
with
gcc-11.0.0-0.14.fc34

Actual results:

Parent task
https://koji.fedoraproject.org/koji/taskinfo?taskID=59956593
x86_64 task
https://koji.fedoraproject.org/koji/taskinfo?taskID=59956632

=======================================================================
/builddir/build/BUILD/eigen-3.3.9/Eigen/src/Core/MathFunctions.h: In instantiation of 'static Scalar Eigen::internal::log1p_impl<Scalar>::run(const Scalar&) [with Scalar = float]':
/builddir/build/BUILD/eigen-3.3.9/Eigen/src/Core/MathFunctions.h:943:49:   required from 'typename Eigen::internal::log1p_retval<typename Eigen::internal::global_math_functions_filtering_base<Scalar>::type>::type Eigen::numext
::log1p(const Scalar&) [with Scalar = float; typename Eigen::internal::log1p_retval<typename Eigen::internal::global_math_functions_filtering_base<Scalar>::type>::type = float; typename Eigen::internal::global_math_functions_f
iltering_base<Scalar>::type = float]'
/builddir/build/BUILD/eigen-3.3.9/Eigen/src/Core/arch/CUDA/Half.h:466:37:   required from here
/builddir/build/BUILD/eigen-3.3.9/Eigen/src/Core/MathFunctions.h:489:25: error: 'Scalar Eigen::internal::std_fallback::log1p(const Scalar&)' conflicts with a previous declaration
  489 |     using std_fallback::log1p;
      |                         ^~~~~
In file included from /usr/include/c++/11/complex:44,
                 from /builddir/build/BUILD/eigen-3.3.9/Eigen/Core:96,
                 from /builddir/build/BUILD/eigen-3.3.9/doc/examples/nullary_indexing.cpp:1:
/usr/include/c++/11/cmath:1563:5: note: previous declaration 'namespace std { }::log1p'
 1563 |     log1p(_Tp __x)
      |     ^~~~~
=======================================================================

Additional info:
Probably the following must be backported:
https://gitlab.com/libeigen/eigen/-/commit/d55d392e7b1136655b4223bea8e99cb2fe0a8afd

Comment 1 Mamoru TASAKA 2021-01-18 14:23:10 UTC
Oops... actually this report is against eigen3, but blender fails to build due to the same reason...

Comment 2 Nicolas Chauvet (kwizart) 2021-01-18 20:05:06 UTC
Thanks for the report.

Seems like blender have a technical debt with respect to unbundling...
Once blender uses a fixed system version, it will be fine.

Comment 3 Sandro Mani 2021-01-19 11:47:45 UTC
Building: https://koji.fedoraproject.org/koji/taskinfo?taskID=60030227


Note You need to log in before you can comment on or make changes to this bug.