-
Notifications
You must be signed in to change notification settings - Fork 413
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 subst
no longer works on empty directories in ocaml-ci without Dune 3.17
#11200
Comments
shonfeder
changed the title
Dec 12, 2024
dune subst
no longer works on vendored deps without Dune 3.17 dune subst
no longer works on vendored deps in ocaml-ci without Dune 3.17
shonfeder
added a commit
to shonfeder/dune
that referenced
this issue
Dec 12, 2024
shonfeder
added a commit
to shonfeder/dune
that referenced
this issue
Dec 12, 2024
shonfeder
added a commit
to shonfeder/dune
that referenced
this issue
Dec 12, 2024
shonfeder
changed the title
Dec 13, 2024
dune subst
no longer works on vendored deps in ocaml-ci without Dune 3.17 dune subst
no longer works on enoty directories in ocaml-ci without Dune 3.17
shonfeder
changed the title
Dec 13, 2024
dune subst
no longer works on enoty directories in ocaml-ci without Dune 3.17 dune subst
no longer works on empty directories in ocaml-ci without Dune 3.17
shonfeder
added a commit
to shonfeder/dune
that referenced
this issue
Dec 13, 2024
Signed-off-by: Shon Feder <[email protected]>
rgrinberg
pushed a commit
to shonfeder/dune
that referenced
this issue
Dec 13, 2024
Signed-off-by: Shon Feder <[email protected]>
rgrinberg
pushed a commit
that referenced
this issue
Dec 13, 2024
Signed-off-by: Shon Feder <[email protected]>
Fixed by #11204. |
maiste
added a commit
to maiste/opam-repository
that referenced
this issue
Dec 17, 2024
CHANGES: ### Fixed - When a library declares `(no_dynlink)`, then the `.cmxs` file for it is no longer built. (ocaml/dune#11176, @nojb) - Fix bug that could result in corrupted file copies by Dune, for example when using the `copy_files#` stanza or the `copy#` action. (@nojb, ocaml/dune#11194, fixes ocaml/dune#11193) - Remove useless error message when running `$ dune subst` in empty projects. (@rgrinberg, ocaml/dune#11204, fixes ocaml/dune#11200)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
dune subst
(invovked by opam) continues to work on empty directories of vendored projects for pinned dependencies, as it did up until 3.16Actual Behavior
Failes with
Reproduction
This is not at all minimal, but is a starter, taken from an ocaml-ci job (where this problem has been encountered):
Note that the commented out block where we create dummy
dune-project
files is the current workaround we have hacked into ocaml-ci to prevent spurious CI failures for users.Running the above produces the following errors during the final
opam install
:Specifications
dune
(output ofdune --version
):dune.3.17.0
ocaml
(output ofocamlc --version
):ocaml.4.14.2
Additional information
dune-project
file ocurrent/ocaml-ci#993dune subst
on a project with an opam file #11045 may be related (tho the specific problem is different).The text was updated successfully, but these errors were encountered: