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
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
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: ---


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