Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamlbuild tries to delete _build/_log and fails and whole build fails (windows) #4639

Closed
vicuna opened this issue Nov 5, 2008 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Nov 5, 2008

Original bug ID: 4639
Reporter: @ygrek
Assigned to: ertai
Status: closed (set by @xavierleroy on 2011-05-29T10:14:08Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.11.0+beta
Fixed in version: 3.11.0
Category: -for ocamlbuild use https://github.com/ocaml/ocamlbuild/issues

Bug description

StR:
Create empty directory. Create empty file myocamlbuild.ml. Run
ocamlbuild -classic-display
AcR:
mkdir _build
ocamlopt -I "C:\Program\ocaml\lib\ocamlbuild" unix.cmxa "C:\Program\ocaml\lib\ocamlbuild/ocamlbuildlib.cmxa" myocamlbuild.ml "C:\Program\ocaml\lib\ocamlbuild/ocamlbuild.cmx" -o myocamlbuild
Exception Sys_error("_build/_log: Permission denied").

Another StR:
Create empty directory. Run
ocamlbuild -clean -classic-display
AcR:
rm: cannot remove `_build/_log': Permission denied

For now I have to use -no-log because of this.
Looks like Windows blocks file from deleting because it is opened by ocamlbuild itself?

@vicuna
Copy link
Author

vicuna commented Jul 6, 2009

Comment author: @ygrek

I cannot reproduce it with 3.11.0

@vicuna
Copy link
Author

vicuna commented Jul 10, 2009

Comment author: ertai

Indeed it has been resolved in 3.11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant