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

COQ_USE_DUNE affects the build of coq through opam #1736

Open
ana-borges opened this issue Jun 9, 2021 · 3 comments
Open

COQ_USE_DUNE affects the build of coq through opam #1736

ana-borges opened this issue Jun 9, 2021 · 3 comments

Comments

@ana-borges
Copy link

If COQ_USE_DUNE is set, then the opam installation of coq will try to use dune and end up not installing anything.

Steps to reproduce:

export COQ_USE_DUNE=true
opam switch create test 4.12.0
opam update
opam repo add coq-released https://coq.inria.fr/opam/released
opam install coq -vv # observe dune is being used and an error is produced

Cf. coq/coq#14469 and the zulip discussion.

@Blaisorblade
Copy link
Contributor

Seems a duplicate of ocaml/opam-repository#18836, has the same instructions, and coq-released does not package Coq. This can probably be closed.

@palmskog
Copy link
Contributor

Hmm, I don't think there was a solution to the opam-repository issue, and we have lots of Coq packages here in core-dev, so I think we should keep this open in case people run into it or there is a solution.

@ejgallego
Copy link
Member

ejgallego commented Jul 26, 2022

I think the problem was solved by ocaml/opam-repository#19663 , so indeed we can update the opam files here in a similar fashion. This is not a problem anymore in coq.dev , that is to say, Coq master doesn't use that variable anymore.

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

No branches or pull requests

4 participants