Stephen Sherratt
Stephen Sherratt
Ah useful. The output is: ``` $ dune pkg lock --debug-backtraces Error: read(): Is a directory Raised by primitive operation at Dune_digest.Direct_impl.file in file "src/dune_digest/dune_digest.ml", line 30, characters 23-29 Called...
I can't reproduce this issue anymore. My experiment is to take this empty dune project that depends on zarith: https://github.com/gridbugs/dune-pkg-dashboard/tree/main/bonsai-deps/zarith ...and run `dune pkg lock && dune build` and that...
Oh interesting, so it seems like it works when it's built as a dependency in some cases and not others, and it doesn't build when referred to as the target?...
If I make an empty project (with `(allow_empty)`) that depends on the zarith package I can see from the output of `dune build` that zarith is being built and it...
To help understand this issue I made a small library that installs with bare `ocamlfind` and a dependent app that builds with dune pkg. It fails in the same way...
Thanks for the feedback. I'll revise this proposal.
In order to express alternative packages, I propose adding keywords `all` and `any` which introduce lists of package formulae. E.g. ``` (depends (any (all a b) c)) ``` This would...
@samoht can you clarify when you say "fix a version" do you mean a git revision/tag?
Dune builds opam packages by running the build and install commands from the package spec. For ocamlbuild this is: ``` build: [ [ make "-f" "configure.make" "all" "OCAMLBUILD_PREFIX=%{prefix}%" "OCAMLBUILD_BINDIR=%{bin}%" "OCAMLBUILD_LIBDIR=%{lib}%"...
I did some playing around with this branch while investigating https://github.com/ocaml/dune/issues/8931. I'm trying to build https://github.com/ocaml/Zarith directly (without dune) after installing ocamlfind from this branch without passing the new flag...