oasis icon indicating copy to clipboard operation
oasis copied to clipboard

a Module directive with directory (e.g. "bar/Bar") does not work with a Path of "."

Open gildor478 opened this issue 4 years ago • 1 comments

This bug has been migrated from artifact #1271 on forge.ocamlcore.org. It was assigned to user102.

user11453 posted on 2013-04-02 19:17:01:

I created a trivial project with a Library this:

Library bar Path: . FindlibName: foo_bar buildTools: ocamlbuild Modules: bar/Bar

and when I build, I get an error:

E: Failure("No one of expected built files '_build/bar.cma' exists")

If I then move _oasis up a directory, e.g.

Library bar Path: foo FindlibName: foo_bar buildTools: ocamlbuild Modules: bar/Bar

the build works fine.

In the attached file, the "foo" directory has the first _oasis file; the "ugh" directory has the second.

user102 replied on 2013-04-02 20:07:29:

That is not the first time I see this bug... It keeps biting me again and again.

Thx for the report.

gildor478 avatar Oct 24 '20 16:10 gildor478

dirbug.tar.gz

gildor478 avatar Oct 24 '20 18:10 gildor478