Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 622290

Summary: =sys-apps/diffutils-3.5 fails to compile in stage2 with GCC 7.1
Product: Gentoo/Alt Reporter: Muhammad Herdiansyah <herdiansyah>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: stage2 log (gzipped)

Description Muhammad Herdiansyah 2017-06-20 12:11:01 UTC
Created attachment 477316 [details]
stage2 log (gzipped)

Hello,

It seems stage2 failed when I'm trying to set up a prefix

> intprops.h:234:34: error: expected ')' before '(' token
>     __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)                                  >                                   ^

The full log is gzipped below.
Comment 1 Muhammad Herdiansyah 2017-06-27 18:11:34 UTC
It has been addressed in bug 617538 but it seems the patch hasn't been applied here.
Comment 2 Fabian Groffen gentoo-dev 2017-06-28 08:08:02 UTC
The patch doesn't seem in because we use an older snapshot.  Can you export LATEST_TREE_YES=1 and try the bootstrap again?  If that works, I can bump the snapshot.
Comment 3 Muhammad Herdiansyah 2017-06-29 08:04:48 UTC
It doesn't seem to work, it produces the same error.
Comment 4 Willem Mulder 2017-07-06 13:51:15 UTC
For me, exporting LATEST_TREE_YES=1 builds diffutils 3.6, which succeeds.
Comment 5 Muhammad Herdiansyah 2017-07-08 18:03:58 UTC
Oops. Sorry. Fault on my part. Yeah, after a second time testing it does work.
Comment 6 Fabian Groffen gentoo-dev 2017-07-10 17:23:52 UTC
snapshot bumped, thanks