|Anonymous | Login | Signup for a new account||2014-03-11 17:01 CET|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004611||OCaml||OCamlbuild (the tool)||public||2008-09-06 01:40||2013-07-12 18:15|
|Status||assigned||Resolution||no change required|
|Target Version||4.01.1+dev||Fixed in Version|
|Summary||0004611: Dependencies not built despite matching tags|
|Description||I have a line like below in my ocamlbuild plugin, which doesn't get triggered when cmi files are tagged with use_custom_compiler. Even though the set of the tags when using 'ocamlbuild -show-tags <target.cmi>' is a superset of the tags in the below dependency rule, the dependencies are ignored. However, the dependency rule behaves as expected for .cmx files.|
The solution was to remove "compile" from the set of tags for the dependency.
dep ["ocaml"; "compile"; "use_custom_compiler"] ["ocamlopt.opt"; "ocamloptcomp.ml"]
|Tags||No tags attached.|
By removing "compile" you allow the flags to be added to linking, ocamldoc, preprocessing...
Moreover by looking at your flags "ocamlopt.opt", I assume that's the command, and not a flag. In that case you should look a virtual commands that allow you to the ocaml compiler (look at myocamlbuild.ml in the root of the ocaml sources).
I don't understand what the intended semantics of the line shown in the report is, so I'm not sure whether there is an underlying OCaml issue (and in that case how to reproduce it), or a misuse of the tool. Given that this bug is quite old, my first move was to close the report, but I suppose bug reporters are rather patient :)
Jessicah, could you provide more information about how to reproduce the problem? For example, an archive of a small directory with self-contained files and myocamlbuild allowing to reproduce the problem?
(If this issue hasn't advanced by the time we triage bug for 4.02, it should probably be resolved.)
|2008-09-06 01:40||jessicah||New Issue|
|2008-09-06 11:32||ertai||Note Added: 0004598|
|2008-09-06 11:32||ertai||Resolution||open => no change required|
|2008-09-10 12:51||doligez||Status||new => assigned|
|2008-09-10 12:51||doligez||Assigned To||=> ertai|
|2010-07-22 11:46||ertai||Assigned To||ertai => xclerc|
|2012-02-02 15:17||protz||Category||OCamlbuild => OCamlbuild (the tool)|
|2012-07-06 16:38||doligez||Target Version||=> 4.01.0+dev|
|2012-07-31 13:36||doligez||Target Version||4.01.0+dev => 4.00.1+dev|
|2012-09-10 14:05||frisch||Target Version||4.00.1+dev => 4.00.2+dev|
|2013-06-16 18:46||gasche||Note Added: 0009515|
|2013-06-16 18:46||gasche||Target Version||4.00.2+dev => 4.02.0+dev|
|2013-06-16 21:25||gasche||Severity||major => minor|
|2013-07-12 18:15||doligez||Target Version||4.02.0+dev => 4.01.1+dev|
|Copyright © 2000 - 2011 MantisBT Group|