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
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
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: ---

build.log.xz (build.log.xz,32.36 KB, application/x-xz)
2021-05-29 10:58 UTC, Agostino Sarubbo

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

Issue: sci-libs/coinor-couenne-0.5.8-r1 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

This machine uses GCC-11:
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-29 10:58:25 UTC
Created attachment 712176 [details]

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):

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

    sci-libs/coinor-couenne: fix build with GCC 11
    Signed-off-by: Sam James <>

 .../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(+)