disagree over interface String File "./pkg/pkg.ml", line 1: Error: The files /usr/lib64/ocaml/findlib/findlib.cma and /usr/lib64/ocaml/topkg/topkg.cmi make inconsistent assumptions over interface String * ERROR: dev-ml/integers-0.2.2::gentoo failed (compile phase): ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 13.0-systemd_20170711-225716 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-6.3.0 * Available Python interpreters, in order of preference: [1] python3.4 [2] python3.5 (fallback) [3] python2.7 (fallback) Available Ruby profiles: [1] ruby21 (with Rubygems) [2] ruby22 (with Rubygems) *
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.