Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786465 - app-admin/tripwire-2.4.3.7 fails to compile with gcc-11
Summary: app-admin/tripwire-2.4.3.7 fails to compile with gcc-11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-28 14:44 UTC by Agostino Sarubbo
Modified: 2021-06-15 04:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,37.41 KB, text/plain)
2021-04-28 14:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-04-28 14:44:20 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-admin/tripwire-2.4.3.7 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-04-28 14:44:22 UTC
Created attachment 703266 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-28 14:44:24 UTC
Possible context of error(s):

integer.cpp:1162:24: error: reference to ‘byte’ is ambiguous
Comment 3 Larry the Git Cow gentoo-dev 2021-06-15 01:22:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd260d9a9fdb2c2a8f0ef7b4e947c7df0ef1d2a2

commit cd260d9a9fdb2c2a8f0ef7b4e947c7df0ef1d2a2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 01:21:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 01:21:36 +0000

    app-admin/tripwire: update EAPI 6 -> 7, workaround GCC 11 failure
    
    Set C++ standard to c++14 rather than perform a huge sed on the byte type.
    
    Closes: https://bugs.gentoo.org/786465
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/tripwire/tripwire-2.4.3.7.ebuild | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-06-15 04:45:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef547cbebac38e4d36357fedea7511894cafa87

commit 5ef547cbebac38e4d36357fedea7511894cafa87
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 04:44:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 04:44:42 +0000

    app-admin/tripwire: use append-flags
    
    Bug: https://bugs.gentoo.org/786465
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/tripwire/tripwire-2.4.3.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)