Bug 2045152 (CGAL_FTBFS_in_F36)

Summary: CGAL: FTBFS in Fedora rawhide/f36
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: CGALAssignee: Laurent Rineau <laurent.rineau__fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: code, laurent.rineau__fedora
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: 2022-02-03 14:57:35 UTC Type: ---
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: 1071880, 1771031, 1992484, 2045184, 2048685    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2022-01-25 15:59:47 UTC
CGAL failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81769402


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix CGAL at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
CGAL will be orphaned. Before branching of Fedora 37,
CGAL will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-25 15:59:51 UTC
Created attachment 1853521 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-25 15:59:54 UTC
Created attachment 1853522 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-25 15:59:56 UTC
Created attachment 1853523 [details]
state.log

Comment 4 Laurent Rineau 2022-01-25 19:42:10 UTC
This build failure is only on ppc64le.

Comment 5 Laurent Rineau 2022-01-25 19:45:04 UTC
Upstream bug (at CGAL): https://github.com/CGAL/cgal/issues/6271
Upstream-Uptream bug (at Boost Multiprecision): https://github.com/boostorg/multiprecision/issues/419

Comment 6 Laurent Rineau 2022-01-25 19:50:52 UTC
Boost Multiprecision already has a possible fix, at https://github.com/boostorg/multiprecision/pull/421.

Now my job is to try that patch with koji, and build CGAL-5.4-beta1 at the same time. My packaging skill are a bit rusty. If anybody knows how to create a scratch build (or whatever) with both:
  - a patched version of boost, with a patch of my own,
  - and CGAL-5.4-beta1,
then let me know. Meanwhile, I will dig in the documentation of koji...

Comment 7 Laurent Rineau 2022-01-26 13:20:55 UTC
The compilation error seems to be caused by a compiler bug. See gcc.gnu.org/bugzilla/show_bug.cgi?id=104239

Comment 8 Laurent Rineau 2022-02-03 14:57:35 UTC
Fixed in rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2022-31f35f945d