janestreet-deprecated/ppx_driver

issue with system switch on 4.02.3

Closed this issue · 3 comments

See https://travis-ci.org/docker/datakit/jobs/161333595#L996

#=== ERROR while installing ppx_driver.113.33.03 ==============================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/travis/.opam/system/build/ppx_driver.113.33.03
# compiler     system (4.02.3)
# exit-code    2
# env-file     /home/travis/.opam/system/build/ppx_driver.113.33.03/ppx_driver-11141-fc3679.env
# stdout-file  /home/travis/.opam/system/build/ppx_driver.113.33.03/ppx_driver-11141-fc3679.out
# stderr-file  /home/travis/.opam/system/build/ppx_driver.113.33.03/ppx_driver-11141-fc3679.err
### stdout ###
# [...]
# /home/travis/.opam/system/bin/ocamlfind ocamldep -package ppx_optcomp -package ppx_core -predicates custom_ppx -modules src/ppx_driver.mli > src/ppx_driver.mli.depends
# /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package ppx_optcomp -package ppx_core -predicates custom_ppx -w -40 -I src -o src/ppx_driver.cmi src/ppx_driver.mli
# + /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package ppx_optcomp -package ppx_core -predicates custom_ppx -w -40 -I src -o src/ppx_driver.cmi src/ppx_driver.mli
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib/ocaml/compiler-libs, /usr/lib/ocaml
# /home/travis/.opam/system/bin/ocamlfind ocamldep -package ppx_optcomp -package ppx_core -predicates custom_ppx -modules src/ppx_driver.ml > src/ppx_driver.ml.depends
# /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package ppx_optcomp -package ppx_core -predicates custom_ppx -w -40 -I src -o src/ppx_driver.cmo src/ppx_driver.ml
# + /home/travis/.opam/system/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package ppx_optcomp -package ppx_core -predicates custom_ppx -w -40 -I src -o src/ppx_driver.cmo src/ppx_driver.ml
# findlib: [WARNING] Interface topdirs.cmi occurs in several directories: /usr/lib/ocaml/compiler-libs, /usr/lib/ocaml
# Uncaught exception: Fl_topo.Inconsistent_ordering
# Command exited with code 3.
### stderr ###
# E: Failure("Command ''/usr/bin/ocamlbuild' src/ppx_driver.cma src/ppx_driver.cmxa src/ppx_driver.a src/ppx_driver.cmxs ocamlbuild_plugin/ppx_driver_ocamlbuild.cma ocamlbuild_plugin/ppx_driver_ocamlbuild.cmxa ocamlbuild_plugin/ppx_driver_ocamlbuild.a ocamlbuild_plugin/ppx_driver_ocamlbuild.cmxs runner/ppx_driver_runner.cma runner/ppx_driver_runner.cmxa runner/ppx_driver_runner.a runner/ppx_driver_runner.cmxs runner_as_ppx/ppx_driver_runner_as_ppx.cma runner_as_ppx/ppx_driver_runner_as_ppx.cmxa runner_as_ppx/ppx_driver_runner_as_ppx.a runner_as_ppx/ppx_driver_runner_as_ppx.cmxs -use-ocamlfind -plugin-tags 'package(js-build-tools.ocamlbuild_goodies)' -tag debug' terminated with error code 10")

It must be a problem with the installed findlib packages

hhugo commented

duplicate #5