You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4313 Reporter:@dbuenzli Assigned to: ertai Status: closed (set by @xavierleroy on 2010-04-29T12:26:11Z) Resolution: fixed Priority: normal Severity: minor Version: 3.10.0 Fixed in version: 3.10+dev Category: ~DO NOT USE (was: OCaml general)
Bug description
Go into a directory where there is no b and _build directory.
cd /tmp
rm -rf _build b
ocamlbuild -log b/_log
Fatal error: exception Sys_error("/private/tmp/b/_log: No such file or directory")
Raised at file "stdlib/lazy.ml", line 70, characters 51-52
Called from file "ocamlbuild/shell.ml", line 46, characters 15-88
Re-raised at file "stdlib/lazy.ml", line 71, characters 12-13
Called from file "ocamlbuild/log.ml", line 36, characters 55-73
Called from file "ocamlbuild/log.ml", line 38, characters 28-72
Called from file "ocamlbuild/log.ml", line 39, characters 18-34
Called from file "ocamlbuild/ocamlbuild.ml", line 15, characters 0-28
Now if I do the same a second time nothing is reported :
ocamlbuild -log b/_log
Another thing is that the _log seems to be created �before the _build hence if I try to use ocamlbuild with -log _build/_log after an ocamlbuild -clean, the first error is triggered.
And please (feature) make the _log in _build by default, it's a one line change and makes it easier for other tools (and humans) to ignore build artefacts (with respect to that I would also make the -no-links the default since the feature is anyway limited).
Best,
Daniel
The text was updated successfully, but these errors were encountered:
Original bug ID: 4313
Reporter: @dbuenzli
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:26:11Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10.0
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Bug description
Go into a directory where there is no b and _build directory.
Now if I do the same a second time nothing is reported :
Another thing is that the _log seems to be created �before the _build hence if I try to use ocamlbuild with -log _build/_log after an ocamlbuild -clean, the first error is triggered.
And please (feature) make the _log in _build by default, it's a one line change and makes it easier for other tools (and humans) to ignore build artefacts (with respect to that I would also make the -no-links the default since the feature is anyway limited).
Best,
Daniel
The text was updated successfully, but these errors were encountered: