Bug 1917457

Summary: F34FTBFS: conflict on log1p
Product: [Fedora] Fedora Reporter: Mamoru TASAKA <mtasaka>
Component: eigen3Assignee: Rich Mattes <richmattes>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: design-devel, kwizart, luya_tfz, manisandro, negativo17, orion, promac, richmattes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-19 12:03:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1868278    

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