[Haskell-cafe] Cabal failures...

Gregory Guthrie guthrie at mum.edu
Mon Nov 19 22:25:39 CET 2012


I follow the Cabal-messes threads with some interest, since that is the hardest area for me since starting to use Haskell. Probably 40-60% of all package install fail for some mysterious reason, with threats that trying  to fix them will break more things, which generally is true. :-)

I am not exert in the area, but I wonder how /why/ this is different than other package managers, like apt in Linux, I have never had any problems with it, and I would think that their dependencies are of at least similar complexities.

In any case; Trying to do a cabal update" I was told to try to update "cabal-install", which I think means actually updating cabal (since I actually run installs via cabal install...), but that fails with this message below, and I don't know how to proceed.

Linking C:\Users\guthrie\AppData\Local\Temp\Cabal-1.16.0.3-13880\Cabal-1.16.0.3\dist\setup\setup.exe ...
Configuring Cabal-1.16.0.3...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package process-1.1.0.1 requires base-4.5.0.0
package pretty-1.1.1.0 requires base-4.5.0.0
package old-time-1.1.0.0 requires base-4.5.0.0
package old-locale-1.0.0.4 requires base-4.5.0.0
package filepath-1.3.0.0 requires base-4.5.0.0
package directory-1.1.0.2 requires base-4.5.0.0
package deepseq-1.3.0.0 requires base-4.5.0.0
package containers-0.4.2.1 requires base-4.5.0.0
package bytestring-0.9.2.1 requires base-4.5.0.0
package array-0.4.0.0 requires base-4.5.0.0
package Win32-2.2.2.0 requires base-4.5.0.0
package filepath-1.3.0.0 requires base-4.5.1.0
package Cabal-1.16.0.3 requires base-4.5.1.0
package Cabal-1.16.0.3 requires filepath-1.3.0.0
package process-1.1.0.1 requires filepath-1.3.0.0
package directory-1.1.0.2 requires filepath-1.3.0.0
package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0
package bytestring-0.9.2.1 requires ghc-prim-0.2.0.0
package base-4.5.0.0 requires ghc-prim-0.2.0.0
package integer-gmp-0.4.0.0 requires ghc-prim-0.2.0.0
package base-4.5.1.0 requires ghc-prim-0.2.0.0
package base-4.5.1.0 requires integer-gmp-0.4.0.0
package base-4.5.0.0 requires integer-gmp-0.4.0.0
Building Cabal-1.16.0.3...
Preprocessing library Cabal-1.16.0.3...
<command line>: cannot satisfy -package-id array-0.4.0.0-3cf1bc3f5cd0078adea24752c18081b9
    (use -v for more information)
cabal: Error: some packages failed to install:
Cabal-1.16.0.3 failed during the building phase. The exception was: ExitFailure 1
cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install.
-------------------------------------------



More information about the Haskell-Cafe mailing list