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

CI broken because of the installation of Why3 via OPAM #118

Closed
Niols opened this issue Feb 11, 2020 · 2 comments · Fixed by #120
Closed

CI broken because of the installation of Why3 via OPAM #118

Niols opened this issue Feb 11, 2020 · 2 comments · Fixed by #120
Labels

Comments

@Niols
Copy link
Member

Niols commented Feb 11, 2020

The CI is now broken because of a failure in the installation of Why3 via OPAM.

#=== ERROR while compiling why3.dev ===========================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | pinned(git+https://gitlab.inria.fr/why3/why3.git#4fbafaac#4fbafaac)
# path                 ~/.opam/4.07/.opam-switch/build/why3.dev
# command              /usr/bin/make -j71 all opt byte
# exit-code            2
# env-file             ~/.opam/log/why3-7-637bd5.env
# output-file          ~/.opam/log/why3-7-637bd5.out
### output ###
# [...]
# Ocamlc   src/session/xml.ml
# Ocamlopt src/tools/unix_scheduler.ml
# gcc -Wall -o lib/why3cpulimit src/server/cpulimit-unix.o src/server/cpulimit-win.o
# Ocamlopt src/tools/why3wc.ml
# Linking  bin/why3wc.byte
# Ocamlopt src/util/pp.ml
# Ocamlc   src/util/wstdlib.mli
# Ocamlopt src/util/cmdline.ml
# File "_none_", line 1:
# Error: Cannot find file menhirLib.cmo
# make: *** [Makefile:2291: bin/why3wc.byte] Error 2
# make: *** Waiting for unfinished jobs....

This is also what is happening on my personal machine with both the old pinned version and the master branch of Why3, and this no matter the version of OCaml. @benozol @claudemarche Do you have any idea?

@claudemarche
Copy link
Contributor

Probably related to https://gitlab.inria.fr/why3/why3/issues/436, but that issue is closed so the problem should be solved in the master branch of Why3.
You may consider reopening that issue by detailed your exact configuration. But first you should check the menhir version you have. Maybe too many pinned versions in your opam ?

@Niols
Copy link
Member Author

Niols commented Feb 11, 2020

OK, then I guess it will be solved by #117 when it is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants