Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004618OCaml~DO NOT USE (was: OCaml general)public2008-10-02 14:302017-01-28 18:34
ReporterJulien Signoles 
Assigned Tofrisch 
StatusclosedResolutionnot fixable 
PlatformOSLinux UbuntuOS Version
Product Version3.10.2 
Target Version4.01.0+devFixed in Version 
Summary0004618: ocamldep generates circular dependencies which don't exist

Consider the following files and

=== ===
module B = struct end
=== ===
open A
open B
$ ocamldep
b.cmo: b.cmo a.cmo
b.cmx: b.cmx a.cmx
Additional Informationocamldep has not the same scope rules for modules than ocaml[c|opt].

This bug is related to bugs 0001996 and 0004081 but here circular dependencies are generated and GNU make complains...
TagsNo tags attached.
Attached Files

- Relationships
related to 0001996closedfrisch ocamldep bad dependancy 
related to 0004081closedfrisch ocamldep reports incorrect dependency 
related to 0007470assignedoctachron Ocamldep can miss dependencies 

-  Notes
ertai (developer)
2008-10-02 16:55

(Just my 2cents)

That's a "well known" problem of ocamldep, moreover it's very hard to avoid.

Indeed to know what contains a module without typing it unfeasible (however an approximation could), and the goal of ocamldep is to run before compiling files.

I've already thought about solutions of this problem (better approximations) but never took the time to push it forward.

- Issue History
Date Modified Username Field Change
2008-10-02 14:30 Julien Signoles New Issue
2008-10-02 16:55 ertai Note Added: 0004644
2008-10-08 13:17 doligez Relationship added related to 0001996
2008-10-08 13:17 doligez Relationship added related to 0004081
2008-10-08 13:18 doligez Status new => acknowledged
2012-07-11 15:01 doligez Target Version => 4.01.0+dev
2012-07-29 18:05 frisch Status acknowledged => resolved
2012-07-29 18:05 frisch Resolution open => not fixable
2012-07-29 18:05 frisch Assigned To => frisch
2015-12-11 19:07 xleroy Status resolved => closed
2017-01-28 18:34 xleroy Relationship added related to 0007470
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker