Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocaml-re 1.11.0 brokes 0.16.0 build process #51

Open
iadegesso opened this issue Dec 28, 2023 · 1 comment
Open

ocaml-re 1.11.0 brokes 0.16.0 build process #51

iadegesso opened this issue Dec 28, 2023 · 1 comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.

Comments

@iadegesso
Copy link

Hi,
after updatin ocaml-re to 1.11.0, I'm not able to build ppx_expect 0.16.0 anymore. Here the error:

dune build @install --display=short --profile release -j 8
ocamlc src/.ppx_expect.objs/byte/ppx_expect.{cmi,cmo,cmt}
ocamlc collector/.expect_test_collector.objs/byte/expect_test_collector__.{cmi,cmo,cmt}
ocamllex collector/check_backtraces.ml
ocamlc common/.expect_test_common.objs/byte/expect_test_common__.{cmi,cmo,cmt}
ocamlc config/types/.expect_test_config_types.objs/byte/expect_test_config_types__.{cmi,cmo,cmt}
ocamllex matcher/lexer.ml
ocamlc make-corrected-file/.make_corrected_file.objs/byte/make_corrected_file__.{cmi,cmo,cmt}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__.{cmi,cmo,cmt}
x86_64-pc-linux-gnu-gcc collector/expect_test_collector_stubs.o
ocamlopt src/.ppx_expect.objs/native/ppx_expect.{cmx,o}
ocamlopt collector/.expect_test_collector.objs/native/expect_test_collector__.{cmx,o}
ocamlopt common/.expect_test_common.objs/native/expect_test_common__.{cmx,o}
ocamlopt config/types/.expect_test_config_types.objs/native/expect_test_config_types__.{cmx,o}
ocamlopt make-corrected-file/.make_corrected_file.objs/native/make_corrected_file__.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__.{cmx,o}
ocamlmklib collector/dllexpect_test_collector_stubs.so,collector/libexpect_test_collector_stubs.a
ocamldep make-corrected-file/.make_corrected_file.objs/make_corrected_file.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Reconcile.impl.d
ocamldep collector/.expect_test_collector.objs/expect_test_collector.impl.d
ocamldep common/.expect_test_common.objs/expect_test_common__Import.impl.d
ocamldep config/types/.expect_test_config_types.objs/expect_test_config_types__Expect_test_config_types_intf.impl.d
ocamlc common/.expect_test_common.objs/byte/expect_test_common__Import.{cmi,cmo,cmt}
ocamlc config/types/.expect_test_config_types.objs/byte/expect_test_config_types__Expect_test_config_types_intf.{cmi,cmo,cmt}
ocamldep collector/.expect_test_collector.objs/expect_test_collector.intf.d
ocamldep common/.expect_test_common.objs/expect_test_common.impl.d
ocamldep config/types/.expect_test_config_types.objs/expect_test_config_types.intf.d
ocamldep make-corrected-file/.make_corrected_file.objs/make_corrected_file.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher.impl.d
ocamldep config/types/.expect_test_config_types.objs/expect_test_config_types.impl.d
ocamldep collector/.expect_test_collector.objs/expect_test_collector__Check_backtraces.intf.d
ocamldep collector/.expect_test_collector.objs/expect_test_collector__Check_backtraces.impl.d
ocamldep common/.expect_test_common.objs/expect_test_common__Expectation.intf.d
ocamldep common/.expect_test_common.objs/expect_test_common__Expectation.impl.d
ocamldep common/.expect_test_common.objs/expect_test_common__File.intf.d
ocamldep common/.expect_test_common.objs/expect_test_common__File.impl.d
ocamldep make-corrected-file/.make_corrected_file.objs/make_corrected_file__Import.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Choose_tag.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Choose_tag.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Cst.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Cst.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Fmt.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Fmt.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Import.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Lexer.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Lexer.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Matcher.intf.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Matcher.impl.d
ocamldep matcher/.expect_test_matcher.objs/expect_test_matcher__Reconcile.intf.d
ocamlc config/types/.expect_test_config_types.objs/byte/expect_test_config_types.{cmi,cmti}
ocamlopt config/types/.expect_test_config_types.objs/native/expect_test_config_types__Expect_test_config_types_intf.{cmx,o}
ocamlopt common/.expect_test_common.objs/native/expect_test_common__Import.{cmx,o}
ocamlc make-corrected-file/.make_corrected_file.objs/byte/make_corrected_file.{cmi,cmti}
ocamlc make-corrected-file/.make_corrected_file.objs/byte/make_corrected_file__Import.{cmi,cmo,cmt}
ocamlc config/.expect_test_config.objs/byte/expect_test_config.{cmi,cmti}
ocamlc common/.expect_test_common.objs/byte/expect_test_common__File.{cmi,cmti}
ocamlc config/types/.expect_test_config_types.objs/byte/expect_test_config_types.{cmo,cmt}
ocamlopt config/types/.expect_test_config_types.objs/native/expect_test_config_types.{cmx,o}
ocamlc config/.expect_test_config.objs/byte/expect_test_config.{cmo,cmt}
ocamlopt make-corrected-file/.make_corrected_file.objs/native/make_corrected_file__Import.{cmx,o}
ocamlc make-corrected-file/.make_corrected_file.objs/byte/make_corrected_file.{cmo,cmt}
ocamlc config/types/expect_test_config_types.cma
ocamlc common/.expect_test_common.objs/byte/expect_test_common__Expectation.{cmi,cmti}
ocamlc common/.expect_test_common.objs/byte/expect_test_common__File.{cmo,cmt}
ocamlc config/expect_test_config.cma
ocamlopt config/.expect_test_config.objs/native/expect_test_config.{cmx,o}
ocamlopt config/types/expect_test_config_types.{a,cmxa}
ocamlc make-corrected-file/make_corrected_file.cma
ocamlc common/.expect_test_common.objs/byte/expect_test_common.{cmi,cmo,cmt}
ocamlc common/.expect_test_common.objs/byte/expect_test_common__Expectation.{cmo,cmt}
ocamlopt config/expect_test_config.{a,cmxa}
ocamlc collector/.expect_test_collector.objs/byte/expect_test_collector.{cmi,cmti}
ocamlopt common/.expect_test_common.objs/native/expect_test_common__File.{cmx,o}
ocamlc collector/.expect_test_collector.objs/byte/expect_test_collector__Check_backtraces.{cmi,cmti}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Choose_tag.{cmi,cmti}
ocamlopt make-corrected-file/.make_corrected_file.objs/native/make_corrected_file.{cmx,o}
ocamlopt config/types/expect_test_config_types.cmxs
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Import.{cmi,cmo,cmt}
ocamlc common/expect_test_common.cma
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Cst.{cmi,cmti}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Fmt.{cmi,cmti}
ocamlc expect_payload/.ppx_expect_payload.objs/byte/ppx_expect_payload.{cmi,cmti}
ocamlc collector/.expect_test_collector.objs/byte/expect_test_collector__Check_backtraces.{cmo,cmt}
ocamlopt config/expect_test_config.cmxs
ocamlopt make-corrected-file/make_corrected_file.{a,cmxa}
ocamlc collector/.expect_test_collector.objs/byte/expect_test_collector.{cmo,cmt}
ocamlopt common/.expect_test_common.objs/native/expect_test_common__Expectation.{cmx,o}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Lexer.{cmi,cmti}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Fmt.{cmo,cmt}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Reconcile.{cmi,cmti}
ocamlc collector/expect_test_collector.cma
ocamlopt common/.expect_test_common.objs/native/expect_test_common.{cmx,o}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Cst.{cmo,cmt}
ocamlopt make-corrected-file/make_corrected_file.cmxs
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Matcher.{cmi,cmti}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Choose_tag.{cmo,cmt}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Lexer.{cmo,cmt}
ocamlopt common/expect_test_common.{a,cmxa}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Reconcile.{cmo,cmt}
ocamlc expect_payload/.ppx_expect_payload.objs/byte/ppx_expect_payload.{cmo,cmt}
ocamlopt collector/.expect_test_collector.objs/native/expect_test_collector__Check_backtraces.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Import.{cmx,o}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher.{cmi,cmo,cmt}
ocamlc expect_payload/ppx_expect_payload.cma
ocamlopt common/expect_test_common.cmxs
ocamlc evaluator/.ppx_expect_evaluator.objs/byte/ppx_expect_evaluator.{cmi,cmti}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Fmt.{cmx,o}
ocamlc matcher/.expect_test_matcher.objs/byte/expect_test_matcher__Matcher.{cmo,cmt}
ocamlc matcher/expect_test_matcher.cma
ocamlc .ppx/0224ad3443a846e54f1637fccb074e7d/dune__exe___ppx.{cmi,cmo}
ocamlc evaluator/.ppx_expect_evaluator.objs/byte/ppx_expect_evaluator.{cmo,cmt}
ocamlc evaluator/ppx_expect_evaluator.cma
ocamlopt collector/.expect_test_collector.objs/native/expect_test_collector.{cmx,o}
ocamlopt expect_payload/.ppx_expect_payload.objs/native/ppx_expect_payload.{cmx,o}
ocamlopt collector/expect_test_collector.{a,cmxa}
ocamlopt .ppx/0224ad3443a846e54f1637fccb074e7d/dune__exe___ppx.{cmx,o}
ocamlopt expect_payload/ppx_expect_payload.{a,cmxa}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Cst.{cmx,o}
ocamlopt .ppx/0224ad3443a846e54f1637fccb074e7d/ppx.exe (exit 2)
File "none", line 1:
Error: Files /usr/lib64/ocaml/ppxlib/astlib/astlib.cmxa
and /usr/lib64/ocaml/compiler-libs/ocamlcommon.cmxa
make inconsistent assumptions over implementation Location
ocamlopt expect_payload/ppx_expect_payload.cmxs
ocamlopt collector/expect_test_collector.cmxs
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Lexer.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Choose_tag.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Reconcile.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher__Matcher.{cmx,o}
ocamlopt matcher/.expect_test_matcher.objs/native/expect_test_matcher.{cmx,o}
ocamlopt matcher/expect_test_matcher.{a,cmxa}
ocamlopt matcher/expect_test_matcher.cmxs
ocamlopt evaluator/.ppx_expect_evaluator.objs/native/ppx_expect_evaluator.{cmx,o}
ocamlopt evaluator/ppx_expect_evaluator.{a,cmxa}
ocamlopt evaluator/ppx_expect_evaluator.cmxs

I'm on an ~amd64 Gentoo.

Iade

@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Dec 29, 2023
@iadegesso
Copy link
Author

UPDATE: According to this page and this page (without it I wasn't aware there was a script to rebuild ocaml related packages), rebuilding the whole set of ocaml installed packages solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.
Projects
None yet
Development

No branches or pull requests

2 participants