OCaml Forge

Detail: [#1271] a Module directive with directory (e.g. "bar/Bar") does not work with a Path of "."

Bugs: Browse | Download .csv | Monitor

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

Date:
2013-04-02 19:17
Priority:
3
State:
Open
Submitted by:
Chet Murthy (chet)
Assigned to:
Sylvain Le Gall (gildor-admin)
Product:
OASIS
Due in version:
0.4.0
Resolution:
Accepted As Bug
Severity:
normal
Version:
0.4.0
Component:
OASIS
Operating System:
Linux
 
URL:
Summary:
a Module directive with directory (e.g. "bar/Bar") does not work with a Path of "."

Detailed description
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.

Followup

Message
Date: 2013-04-02 20:07
Sender: Sylvain Le Gall

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

Thx for the report.

Attached Files:

Attachments:
dirbug.tgz

Changes:

Field Old Value Date By
assigned_tonone2013-04-02 20:07gildor-admin
ResolutionNone2013-04-02 20:07gildor-admin
File Added209: dirbug.tgz2013-04-02 19:17chet