-
Notifications
You must be signed in to change notification settings - Fork 697
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
failed while unpacking the package - windows #1698
Comments
I am also experiencing this for haddock. Doing this:
gives me this:
|
I'm getting the exact same messages for the exact same packages. Also running GHC 7.6.3 on Windows 8.1. |
Same for me, but with language-c-0.4.5 package |
Same here with pandoc-citeproc 0.3.1, which does not let me install hakyll. Windows 7. |
Just wanted to report that I also see this bug with GHC 7.8.2 on Windows 2012 server. I couldn't install happy-1.19.3 and language-c-0.4.5. After extracting and installing these packages tar.gz contents manually everything worked fine. |
Here is the log with --verbosity=3
Looks like the presense of dist directory in the tar.gz makes cabal rename it to dist-tmp, then create it one more time and then fail trying to rename dist-tmp back to dist. |
It is possible to install Pandoc without any conflicts from Git clone using 'cabal install'. So the problem seems to be related to the package, not really the code itself. |
Any suggested workarounds for this? I didn't really understand kosiakk's reference to cabal install from Git clone. |
@stephensong You may just clone Pandoc source from git (or download a recent tarball from Hackage and extract it to any folder you like) manually, and then launch cabal install from a directory that contains a source code. I haven't tried that with Pandoc, but it works for me with packages like alex, happy, and language-c. |
Thanks for responding, Anton. I tried your suggestion firstly with Alex, and it failed saying that it [17:07:20] $ cabal install Wtf? I have to have happy to build happy? In desperation, I then reinstalled the entire Haskell Platform, and Thanks again for your help. gary On 16/06/2014 6:03 PM, Anton Dessiatov wrote:
|
Interestingly, this error only arises for me if I try running
Neither seemed to change anything. |
@RyanGlScott If the |
@23Skidoo You're right. The Haskell Platform version of |
I suspect this is due to the As such, a simple fix might be to ensure that the old & new dist paths differ in the preceding |
#1698 - Don't attempt to rename dist if it is already named correctly
installing
haskell-src-exts-1.14.0.1
fails with the cabal master on windows 8.1 (tested with ghc 7.6.3 and 7.8.1rc1 i386), i suspect because this package contains a dist directory (with a pre-generated happy parser)The text was updated successfully, but these errors were encountered: