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

Trying with Mirage, and llikely with the newly released ocaml-solo5 (1.0.0) supporting OCaml 5.x -- and OCaml 5.3 being released #406

Open
hannesm opened this issue Jan 19, 2025 · 3 comments

Comments

@hannesm
Copy link
Contributor

hannesm commented Jan 19, 2025

In a make lock, I get the following error:

opam-monorepo: [ERROR] Some dependencies cannot be built with dune!

opam-monorepo requires that all dependencies use dune as their build system.

These dependencies (possibly transitive) don't use dune as their build system:
- ocaml-compiler

Now, I understand there's been some shuffling around with opam package names and ocaml 5.3 - but I'm a bit stuck what opam-monorepo intends to do here. Would it be possible to fix that?

@hannesm hannesm changed the title Trying with Mirage, and llikely with the newly released ocaml-solo5 (1.0.0) supporting OCaml 5.x Trying with Mirage, and llikely with the newly released ocaml-solo5 (1.0.0) supporting OCaml 5.x -- and OCaml 5.3 being released Jan 19, 2025
@hannesm
Copy link
Contributor Author

hannesm commented Jan 20, 2025

This has as well been reported on discord on the mirage channel. Would any of those knowing more details of opam-monorepo be able to take a look into how to deal with OCaml 5.3? Thanks a lot!

@PizieDust
Copy link

I have this same issue with OCaml 4.14.1

@hannesm
Copy link
Contributor Author

hannesm commented Feb 10, 2025

Please have a look in #407. It would be great to get that merged and released ASAP. Of course any "better" fix is very welcome.

The issue I ran into (and @PizieDust as well) is that albatross has specified a bound on ptime >= 1.2.0, which is not available in the dune-opam-overlays repository. But the ocaml-compiler issue shadowed the underlying issue.

Now, of course it would be great if you could as well put the ptime 1.2.0 package into the dune-opam-overlays repository. In the meantime, I as well opened ocaml/opam-repository#27417 as a workaround.

It would also be nice if your code would print not only the first error, but as well other errors if there are some.

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

2 participants