Bug 2045152 (CGAL_FTBFS_in_F36) - CGAL: FTBFS in Fedora rawhide/f36
Summary: CGAL: FTBFS in Fedora rawhide/f36
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: CGAL_FTBFS_in_F36
Product: Fedora
Classification: Fedora
Component: CGAL
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Laurent Rineau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker 1771031 F36FTBFS 2045184 CGAL-5.4
TreeView+ depends on / blocked
 
Reported: 2022-01-25 15:59 UTC by Fedora Release Engineering
Modified: 2022-02-03 14:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-02-03 14:57:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-25 15:59 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-25 15:59 UTC, Fedora Release Engineering
no flags Details
state.log (984 bytes, text/plain)
2022-01-25 15:59 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 104239 0 P1 RESOLVED [12 Regression] immintrin.h or x86gprintrin.h headers can't be included 2022-01-27 17:21:42 UTC
Github CGAL cgal issues 6271 0 None open CGAL-5.4 no longer build on Fedora 36, with GCC 12 2022-01-25 19:47:14 UTC
Github boostorg multiprecision issues 419 0 None open Boost MP fails to compile with GCC 12 on PowerPC 64 little endian (ppc64le) 2022-01-25 19:47:14 UTC
Github boostorg multiprecision pull 421 0 None open Update gcc Intel intrinsic usage config. 2022-01-25 19:50:52 UTC

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


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