Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 804082 - dev-ml/opam-core-2.0.8-r1 fails to compile
Summary: dev-ml/opam-core-2.0.8-r1 fails to compile
Status: CONFIRMED
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:
 
Reported: 2021-07-25 08:15 UTC by Agostino Sarubbo
Modified: 2021-07-26 09:20 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,42.29 KB, text/plain)
2021-07-25 08:15 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-07-25 08:15:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ml/opam-core-2.0.8-r1 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-07-25 08:15:02 UTC
Created attachment 726682 [details]
build.log

build log and emerge --info
Comment 2 Tupone Alfredo gentoo-dev 2021-07-26 09:19:44 UTC
The problem is not opam-core. 

The issue is a "something like" rdepend on dune that should be installed in the dune eclass.

You have downgraded dev-ml/dune from 2.9 to 2.8.4 but there are still packages that have been built with dune-2.9 that are needed for building opam-core.

In your case is ocamlgraph that needs to be rebuilt with the old dune.

I'll leave this bug opened as a memory for who find this problem again.

I'm waiting for e clean solution to implements.

To portage devs: 

package a has been built with dune-2.9

dune-2.9 is downgraded to 2.8.3

package b depends on package a

package b expect that all dependent packages have been built with a version of dune not newer than the one available.

The action to take is whenever I downgrade dune version and I rebuild a package, I also have to rebuild all packages depending on it that are built with new dune.

I think RDEPEND on dev-ml/dune:= should work but maybe is not the RDEPEND intention as this is not a runtime dependency