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

Fail to compile ocp-indent on Windows #17

Closed
F-Loyer opened this issue Jan 27, 2024 · 1 comment
Closed

Fail to compile ocp-indent on Windows #17

F-Loyer opened this issue Jan 27, 2024 · 1 comment

Comments

@F-Loyer
Copy link

F-Loyer commented Jan 27, 2024

On Windows (opam.2.20~beta1, mingw, CYGMWIN set to winsymlinks:nativestrict), ocp-indent doesn't build.

The tar file contains:

lrwxrwxrwx root/root         0 2019-10-21 12:03 ocp-indent-1.8.1/tests/inplace/link.ml -> otherfile.ml
lrwxrwxrwx root/root         0 2019-10-21 12:03 ocp-indent-1.8.1/tests/inplace/link2.ml -> link.ml
-rw-rw-r-- root/root         0 2019-10-21 12:03 ocp-indent-1.8.1/tests/inplace/otherfile.ml

And Windows doesn't like to create a symlink to a file which doesn't exist yet. (Here link.ml should point to otherfile.ml, but it will be created afterwards).

I can't even opam source ocp-indent.

@F-Loyer F-Loyer changed the title Fail to compile ocp-indent on WIndows Fail to compile ocp-indent on Windows Jan 27, 2024
@dra27
Copy link
Member

dra27 commented Jul 5, 2024

This was mitigated by ocaml/opam#5953 in 2.2.0~beta3, so should be fine now (albeit with a warning when the tarball is extracted).

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

No branches or pull requests

2 participants