aballier / ml-overlay

7 stars 6 forks source link

dev-ml/opam-2.0.6 - inconsistent assumptions over implementation Graph #10

Closed XVilka closed 4 years ago

XVilka commented 4 years ago

Same problem with dose/ocamlgraph - maybe it should be handled in the ebuild somehow (not sure it's possible) instead of manually rebuilding the dose all the time.

>>> Compiling source in /var/tmp/portage/dev-ml/opam-2.0.6/work/opam-2.0.6 ...
Scanned 0 directories
    ocamlopt src/client/opamMain.exe (exit 2)
(cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w +a-4-40-42-44-48 -safe-string -g -o src/client/opamMain.exe /usr/lib64/ocaml/re/re.cmxa /usr/lib64/ocaml/ocamlgraph/graph.cmxa /usr/lib64/ocaml/unix.cmxa -I /usr/lib64/ocaml /usr/lib64/ocaml/bigarray.cmxa -I /usr/lib64/ocaml /usr/lib64/ocaml/opam-core/opam_core.cmxa /usr/lib64/ocaml/opam-file-format/opam-file-format.cmxa /usr/lib64/ocaml/opam-format/opam_format.cmxa /usr/lib64/ocaml/opam-repository/opam_repository.cmxa /usr/lib64/ocaml/opam-state/opam_state.cmxa /usr/lib64/ocaml/extlib/extLib.cmxa /usr/lib64/ocaml/cudf/cudf.cmxa /usr/lib64/ocaml/re/pcre/re_pcre.cmxa /usr/lib64/ocaml/bz2/bz2.cmxa -I /usr/lib64/ocaml/bz2 /usr/lib64/ocaml/dose3/common.cmxa /usr/lib64/ocaml/dose3/algo.cmxa /usr/lib64/ocaml/mccs/glpk/internal/mccs_glpk.cmxa -I /usr/lib64/ocaml/mccs/glpk/internal /usr/lib64/ocaml/mccs/mccs.cmxa -I /usr/lib64/ocaml/mccs /usr/lib64/ocaml/opam-solver/opam_solver.cmxa /usr/lib64/ocaml/cmdliner/cmdliner.cmxa /usr/lib64/ocaml/opam-client/opam_client.cmxa src/client/.opamMain.eobjs/native/opamMain.cmx)
File "_none_", line 1:
Error: Files /usr/lib64/ocaml/dose3/algo.cmxa
       and /usr/lib64/ocaml/ocamlgraph/graph.cmxa
       make inconsistent assumptions over implementation Graph
Done: 72/150 (jobs: 1)

 * ERROR: dev-ml/opam-2.0.6::ml-overlay failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 540:  Called jbuilder_src_compile
 *   environment, line 490:  Called die
 * The specific snippet of code:
 *       dune build -p "${PN}" -j $(makeopts_jobs) @install || die
 * 
 * If you need support, post the output of `emerge --info '=dev-ml/opam-2.0.6::ml-overlay'`,
 * the complete build log and the output of `emerge -pqv '=dev-ml/opam-2.0.6::ml-overlay'`.
 * The complete build log is located at '/var/tmp/portage/dev-ml/opam-2.0.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-ml/opam-2.0.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-ml/opam-2.0.6/work/opam-2.0.6'
 * S: '/var/tmp/portage/dev-ml/opam-2.0.6/work/opam-2.0.6'
aballier commented 4 years ago

dose has >=dev-ml/ocamlgraph-1.8.6:= dep which is supposed to handle this automatically ocamlgraph (graph.cmxa) should have no dep besides ocaml, so we can rule out transitive deps

therefore I'll need you to figure out what has changed on your system that has caused this