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

dune build - Error: Too many opam files for package #155

Open
roddyyaga opened this issue Jan 23, 2021 · 3 comments
Open

dune build - Error: Too many opam files for package #155

roddyyaga opened this issue Jan 23, 2021 · 3 comments
Labels
bug Something isn't working requires dune change Would need additional dune features to implement upstream Fix has to be implemented upstream

Comments

@roddyyaga
Copy link

After doing opam monorepo lock, opam monorepo pull and dune build for a project, I got this error:

Error: Too many opam files for package "fix":
- duniverse/menhir/fix/fix.opam
- duniverse/fix/fix.opam

Relevant versions lines of the lock file are "fix" {= "20201120"} and "menhir" {= "20201216"}. Is there a way to avoid this?

@dakotamurphyucf
Copy link

@roddyyaga
I experienced the same issue

https://gitlab.inria.fr/fpottier/menhir/-/commit/23391fea326478ae1c49b2f487cd44e1e1dd1593

I cloned this commit and pinned locally and everything worked

@emillon
Copy link
Collaborator

emillon commented Oct 18, 2021

Yes, that's because menhir itself vendors fix. opam-monorepo does not know about this. There's little it can do, but in the meantime a recent version will work.

@tmattio tmattio added requires dune change Would need additional dune features to implement upstream Fix has to be implemented upstream bug Something isn't working labels Jan 10, 2023
@tmattio
Copy link
Contributor

tmattio commented Jan 10, 2023

This should be worked around by #367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working requires dune change Would need additional dune features to implement upstream Fix has to be implemented upstream
Projects
None yet
Development

No branches or pull requests

4 participants