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

Bug 787212

Summary: dev-ml/opam-installer-2.0.8-r1 fails to compile with gcc-11
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Team for the ML programming language family <ml>
Severity: normal CC: gienah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log

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