-
Notifications
You must be signed in to change notification settings - Fork 412
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
Exception "Build_system.get_collector called on closed directory" #734
Comments
The error is bad and needs to be fixed. The problem in this case is that dune expects all the files attached to a library to be in the same directory. What you need to do instead of writing (copy_files# stubs/*.cpp) We could eventually changes things so that this is not needed, but this requires a bit of work. |
This error reappears in dune 1.6.0, with
|
I can confirm this as well. Can we re-open this one? Seems like a regression. |
Sure |
I had a look and it seems that it is |
Nvm, I realized that we generate the installed dune file in the lib's source directory. |
fixed in #1612 |
CHANGES: - Fix regression introduced by ocaml/dune#1554 reported in: ocaml/dune#734 (comment) (ocaml/dune#1612, @rgrinberg) - Fix `dune external-lib-deps` when preprocessors are not installed (ocaml/dune#1607, @diml)
Thanks! |
The text was updated successfully, but these errors were encountered: