Actually cabal install output:
>cabal install darcs-2.4.1
Resolving dependencies...
[1 of 1] Compiling Main ( C:\Users\M\AppData\Local\Temp\hashed-stora
ge-0.4.116260\hashed-storage-0.4.11\Setup.hs, C:\Users\M\AppData\Local\Temp\hash
ed-storage-0.4.116260\hashed-storage-0.4.11\dist\setup\Main.o )
Linking C:\Users\M\AppData\Local\Temp\hashed-storage-0.4.116260\hashed-storage-0
.4.11\dist\setup\setup.exe ...
Configuring hashed-storage-0.4.11...
Preprocessing library hashed-storage-0.4.11...
Preprocessing executables for hashed-storage-0.4.11...
Building hashed-storage-0.4.11...
[ 1 of 12] Compiling Bundled.SHA256 ( Bundled\SHA256.hs, dist\build\Bundled\SH
A256.o )
on the commandline:
Warning: -XPatternSignatures is deprecated: use -XScopedTypeVariables or pra
gma {-# LANGUAGE ScopedTypeVariables #-} instead
[ 2 of 12] Compiling Storage.Hashed.Hash ( Storage\Hashed\Hash.hs, dist\build\St
orage\Hashed\Hash.o )
[ 3 of 12] Compiling Bundled.Posix ( dist\build\Bundled\Posix.hs, dist\build\
Bundled\Posix.o )
Bundled\Posix.hsc:86:36:
Couldn't match expected type `Foreign.C.Types.CChar'
against inferred type `Foreign.C.Types.CWchar'
Expected type: Foreign.C.String.CString
Inferred type: System.Posix.Internals.CFilePath
In the second argument of `withCString', namely `(`lstat` p)'
In the expression: (fp `withCString` (`lstat` p))
Bundled\Posix.hsc:91:43:
Couldn't match expected type `Foreign.C.Types.CChar'
against inferred type `Foreign.C.Types.CWchar'
Expected type: Foreign.C.String.CString
Inferred type: System.Posix.Internals.CFilePath
In the second argument of `unsafeUseAsCString', namely
`(`lstat` p)'
In the expression: (fp `unsafeUseAsCString` (`lstat` p))
cabal: Error: some packages failed to install:
darcs-2.4.1 depends on hashed-storage-0.4.11 which failed to install.
hashed-storage-0.4.11 failed during the building phase. The exception was:
ExitFailure 1
Platform: Windows7
P.S. http://bugs.darcs.net/ is offline.
Attachments
|