Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 792798 - sci-libs/coinor-couenne-0.5.8-r1 fails to compile with gcc-11
Summary: sci-libs/coinor-couenne-0.5.8-r1 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 (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-29 10:58 UTC by Agostino Sarubbo
Modified: 2021-06-15 04:44 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,32.36 KB, application/x-xz)
2021-05-29 10:58 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-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(+)