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>
Status: RESOLVED FIXED    
Severity: normal CC: gienah
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=813906
Whiteboard:
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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

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

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c224ffba495bb0d8543c1c5769087e7d7cee31d

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

    dev-ml/opam-installer: remove building ext library (already in tree)
    
    Closes: https://bugs.gentoo.org/787212
    Package-Manager: Portage-3.0.18, Repoman-3.0.2
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

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