Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787212 - dev-ml/opam-installer-2.0.8-r1 fails to compile with gcc-11
Summary: dev-ml/opam-installer-2.0.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 Team for the ML programming language family
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2021-04-30 19:47 UTC by Agostino Sarubbo
Modified: 2021-09-19 18:14 UTC (History)
1 user (show)

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

build.log (build.log,69.68 KB, text/plain)
2021-04-30 19:47 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-04-30 19:47:53 UTC

Issue: dev-ml/opam-installer-2.0.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-04-30 19:47:55 UTC
Created attachment 704721 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-04-30 19:47:58 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-05-10 15:20:16 UTC
The bug has been closed via the following commit(s):

commit 9c224ffba495bb0d8543c1c5769087e7d7cee31d
Author:     Alfredo Tupone <>
AuthorDate: 2021-05-10 15:19:29 +0000
Commit:     Alfredo Tupone <>
CommitDate: 2021-05-10 15:19:55 +0000

    dev-ml/opam-installer: remove building ext library (already in tree)
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <>

 .../opam-installer/opam-installer-2.0.8-r2.ebuild  | 42 ++++++++++++++++++++++
 1 file changed, 42 insertions(+)