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

Bug 792798

Summary: sci-libs/coinor-couenne-0.5.8-r1 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=786306
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2021-05-29 10:58:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/coinor-couenne-0.5.8-r1 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-05-29 10:58:25 UTC
Created attachment 712176 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-29 10:58:27 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_tree.h:770:15: error: static assertion failed: comparison object must be invocable as const
Comment 3 Larry the Git Cow gentoo-dev 2021-06-15 04:44:15 UTC
The bug has been closed via the following commit(s):

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

commit 8d3a84b70c2c2b3a20a40b30a88c3aa91db58203
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-06-15 04:43:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-06-15 04:43:52 +0000

    sci-libs/coinor-couenne: fix build with GCC 11
    
    Closes: https://bugs.gentoo.org/792798
    Signed-off-by: Sam James <sam@gentoo.org>

 .../coinor-couenne/coinor-couenne-0.5.8-r1.ebuild  |  4 ++
 ...coinor-couenne-0.5.8-fix-build-with-gcc11.patch | 43 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)