OCaml Forge

Detail: [#1128] E: OASISFileTemplate.AlreadyExists("src/META") when building two libraries in the same dir

Bugs: Browse | Download .csv | Monitor

[#1128] E: OASISFileTemplate.AlreadyExists("src/META") when building two libraries in the same dir

Date:
2012-03-26 11:45
Priority:
3
State:
Open
Submitted by:
Goswin Brederlow, von (goswin)
Assigned to:
Sylvain Le Gall (gildor-admin)
Product:
None
Due in version:
None
Resolution:
None
Severity:
None
Version:
None
Component:
None
Operating System:
None
 
URL:
Summary:
E: OASISFileTemplate.AlreadyExists("src/META") when building two libraries in the same dir

Detailed description
When specifying two toplevel libraries in _oasis one gets a cryptic error message:

Library extunix
Path: src/
Modules: ExtUnix
InternalModules: ExtUnixAll, ExtUnixSpecific
if flag(strict) && ccomp_type(cc)
CCOpt: -std=c89 -pedantic -Wno-long-long
CSources: config.h,
eventfd.c, dirfd.c, fsync.c, statvfs.c, atfile.c,
ioctl_siocgifconf.c, uname.c, fadvise.c, fallocate.c,
tty_ioctl.c, unistd.c, stdlib.c, signalfd.c, ptrace.c,
resource.c, mman.c, time.c, pts.c, execinfo.c, malloc.c,
endian.c
BuildDepends: unix

Library extunixba
Path: src
Modules: ExtUnixBA
InternalModules: ExtUnixBAAll, ExtUnixBASpecific
if flag(strict) && ccomp_type(cc)
CCOpt: -std=c89 -pedantic -Wno-long-long
CSources: config.h,
memalign.c
BuildDepends: unix, bigarray
# FindlibParent: extunix
# FindlibName: bigarray

% oasis setup
E: OASISFileTemplate.AlreadyExists("src/META")

The problem was the missing FindlibParent/FindlibName so both libraries wanted their own src/META file instead of one being a sub-module of the other. The error message could say that it has multiple libraries trying to build the same file and hint that FindlibParent/FindlibName might be missing.


Followup

No Followups Have Been Posted

Attached Files:

Changes:

Field Old Value Date By
assigned_tonone2012-07-06 08:33gildor-admin