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

Error installing dependencies with new build in windows: "you don't have permission to modify this file" #47

Open
jneira opened this issue May 25, 2018 · 1 comment

Comments

@jneira
Copy link
Collaborator

jneira commented May 25, 2018

Hi, installing dhall-haskell in windows i've usually got errors, not always in the same dependency:

eta-pkg: D:\sd\eta-0.7.2.2\package.db\package.cache: you don't have permission t
o modify this file
....
Failed to build parsec-3.1.13.0. The failure occurred during the final install
step.
Build log (
C:\Users\user\AppData\Roaming\etlas\logs\eta-0.7.2.2\parsec-3.1.13.0-ef999ca9e1d0
e8852b1c568fd086cdbe3a1ad978.log
):
Installing library in D:\sd\eta-0.7.2.2\incoming\new-7972\sd\eta-0.7.2.2\parsec-
3.1.13.0-ef999ca9e1d0e8852b1c568fd086cdbe3a1ad978\lib
 [K [1m [32m✓ Successfully built 25 modules. Mission Accomplished! [0mm [0m0m

 [0m
etlas: Failed to build parsec-3.1.13.0 (which is required by exe:dhall-hash
from dhall-1.14.0, exe:dhall-format from dhall-1.14.0 and others). See the
build log above for details.

Not sure if the cause is the long paths issue of windows or some problem with locks...
Rerunning the etlas build the error is gone. Maybe related with haskell/cabal#4005 (fixed)

@jneira jneira changed the title Error installing dependencies with new build in windows: "you don't have permission t o modify this file" Error installing dependencies with new build in windows: "you don't have permission to modify this file" May 25, 2018
@rahulmutt
Copy link
Member

Definitely sounds like a locking problem. We should implement the fix mentioned in the linked issue.

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

2 participants