Summary: | portage does not rebuild := deps in proper order (dev-ml/integers-0.2.2 : Error: The files /usr/lib64/ocaml/findlib/findlib.cma) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | aballier, asturm, gienah, ml, sam, tsmksubc |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=636520 https://bugs.gentoo.org/show_bug.cgi?id=749777 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 749555 | ||
Attachments: |
emerge-info.txt
dev-ml:integers-0.2.2:20170714-215027.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
Description
Toralf Förster
2017-07-15 06:59:08 UTC
Created attachment 484702 [details]
emerge-info.txt
Created attachment 484704 [details]
dev-ml:integers-0.2.2:20170714-215027.log
Created attachment 484706 [details]
emerge-history.txt
Created attachment 484708 [details]
environment
Created attachment 484710 [details]
etc.portage.tbz2
Created attachment 484712 [details]
temp.tbz2
seems a portage bug: Error: The files /usr/lib64/ocaml/findlib/findlib.cma and /usr/lib64/ocaml/topkg/topkg.cmi make inconsistent assumptions means that you updated dev-lang/ocaml but one of dev-ml/findlib and dev-ml/topkg has been rebuilt with new ocaml but not the other. (most likely findlib has been rebuilt but not topkg) dev-lang/ocaml has SLOT=0/$PV dev-ml/integers has build dep on topkg and findlib dev-ml/topkg has dev-ml/findlib:= and dev-lang/ocaml:= build + run dep dev-ml/findlib has >=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] build + run dep so this seems to me a proper ordering would have been: update dev-lang/ocaml rebuild dev-ml/findlib rebuild dev-ml/topkg build/rebuild dev-ml/integers portage seems to have skipped the 'rebuild dev-ml/topkg' step causing this bug *** Bug 625164 has been marked as a duplicate of this bug. *** bug #625164 is another occurence of improper rebuild ordering by portage if you need more data/evidence A workaround may well end up being some haskell-updater tool for now. (In reply to Alexis Ballier from comment #7) > so this seems to me a proper ordering would have been: > update dev-lang/ocaml > rebuild dev-ml/findlib > rebuild dev-ml/topkg > build/rebuild dev-ml/integers > > > portage seems to have skipped the 'rebuild dev-ml/topkg' step causing this > bug It looks like dev-ml/topkg-0.9.0 was rebuilt in emerge-history.txt attached in comment #3. |