Open cogumbreiro opened 1 week ago
This looks like an issue where our ocamlfind
fork reports a DESTDIR
that doesn't exist. I am not sure whether the right way would be to patch ocamlfind
to create it when reporting it or whether Z3 should mkdir $DESTDIR
.
Expected Behavior
I would like to migrate my project to Dune developer preview.
Actual Behavior
dune build
is unable to compile the packagez3
. See point 4 below for output.Reproduction
1. Create a new project
``` $ dune init proj hello_world $ cd hello_world ```2. Change the dependency section of `dune-project` and add `z3`.
``` (depends ocaml dune (z3 (>= 4.13.0)) ) ```3. Update `bin/dune` to include `z3` in the libraries section
``` (executable (public_name hello_world) (name main) (libraries hello_world z3)) ```4. `dune build` fails in a Python script.
``` $ dune build Building z3.4.13.0-3 File "dune.lock/z3.pkg", line 11, characters 7-14: 11 | (run python3 scripts/mk_make.py --ml) ^^^^^^^ Error: Logs for package z3 Traceback (most recent call last): File "/home/tiago/Work/hello_world/_build/.sandbox/f902b8116518b10f30ed7475b3b5c86b/_private/default/.pkg/z3/source/scripts/mk_make.py", line 21, inSpecifications