Error while installing new packages with GHC 7.4.1

Antoras mail at antoras.de
Wed Feb 29 10:53:12 CET 2012


I updated my GHC version from 7.0.3 to 7.4.1. But after that GHC is 
unable to install some required packages. For example when I type in
'cabal install -v hoogle' I get a lot of errors (see end of message). 
Even after reinstalling the newest packages the errors still occurs. I 
use Linux-x86_64 and get this information:

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1
$ ghc-pkg list | grep Cabal
     Cabal-1.14.0

How to solve the error?


Reading available packages...
Resolving dependencies...
In order, the following would be installed:
deepseq-1.3.0.0 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
containers-0.4.2.1 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
Cabal-1.12.0 (new version)
binary-0.5.1.0 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
haskell-src-exts-1.11.1 (new package)
syb-0.3.6 (new package)
template-haskell-2.7.0.0 (reinstall)
cmdargs-0.9.3 (new package)
text-0.11.1.13 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
blaze-builder-0.3.1.0 (new package)
enumerator-0.4.18 (new package)
blaze-builder-enumerator-0.2.0.3 (new package)
hashable-1.1.2.3 (new package)
case-insensitive-0.4.0.1 (new package)
http-types-0.6.9 (new package)
parsec-3.1.2 (new package)
network-2.3.0.11 (new package)
simple-sendfile-0.2.1 (new package)
tagsoup-0.12.6 (new package)
time-1.4 (reinstall)
random-1.0.1.1 (new package)
unordered-containers-0.1.4.6 (new package)
uniplate-1.6.6 (new package)
wai-0.4.3 (new package)
warp-0.4.6.3 (new package)
hoogle-4.2.8 (new package)
Extracting
/home/antoras/.cabal/packages/hackage.haskell.org/deepseq/1.3.0.0/deepseq-1.3.0.0.tar.gz
to /tmp/deepseq-1.3.0.016966...
Configuring deepseq-1.3.0.0...
Dependency array ==0.3.0.3: using array-0.3.0.3
Dependency base ==4.5.0.0: using base-4.5.0.0
Using Cabal-1.10.1.0 compiled by ghc-7.0
Using compiler: ghc-7.4.1
Using install prefix: /home/antoras/.cabal
Binaries installed in: /home/antoras/.cabal/bin
Libraries installed in: /home/antoras/.cabal/lib/deepseq-1.3.0.0/ghc-7.4.1
Private binaries installed in: /home/antoras/.cabal/libexec
Data files installed in: /home/antoras/.cabal/share/deepseq-1.3.0.0
Documentation installed in: /home/antoras/.cabal/share/doc/deepseq-1.3.0.0
Using alex version 2.3.5 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
Using cpphs version 1.12 found on system at: /home/antoras/.cabal/bin/cpphs
No ffihugs found
Using gcc version 4.6.2 found on system at: /usr/bin/gcc
Using ghc version 7.4.1 found on system at: /usr/bin/ghc
Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at: /usr/bin/haddock
Using happy version 1.18.6 found on system at: /usr/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Creating dist/build (and its parents)
Creating dist/build/autogen (and its parents)
Preprocessing library deepseq-1.3.0.0...
Building deepseq-1.3.0.0...
Building library...
Creating dist/build (and its parents)
/usr/bin/ghc --make -package-name deepseq-1.3.0.0 -hide-all-packages 
-fbuilding-cabal-package -i -idist/build -i. -idist/build/autogen 
-Idist/build/autogen -Idist/build -optP-include 
-optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir 
dist/build -stubdir dist/build -package-id 
array-0.3.0.3-29b5df20d1fe0ed3d8d697b667bb789e -package-id 
base-4.5.0.0-6db966b4cf8c1a91188e66d354ba065e -O -Wall -XHaskell98 -XCPP 
Control.DeepSeq
[1 of 1] Compiling Control.DeepSeq  ( Control/DeepSeq.hs, 
dist/build/Control/DeepSeq.o )

Control/DeepSeq.hs:56:1:
     array-0.3.0.3:Data.Array can't be safely imported! The module 
itself isn't safe.
Extracting
/home/antoras/.cabal/packages/hackage.haskell.org/haskell-src-exts/1.11.1/haskell-src-exts-1.11.1.tar.gz
to /tmp/haskell-src-exts-1.11.116966...
Creating 
/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1/dist/setup
(and its parents)
/usr/bin/ghc --make 
/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1/Setup.hs -o 
/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1/dist/setup/setup 
-odir 
/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1/dist/setup 
-hidir 
/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1/dist/setup -i 
-i/tmp/haskell-src-exts-1.11.116966/haskell-src-exts-1.11.1 -package 
Cabal-1.14.0
<command line>: cannot satisfy -package Cabal-1.14.0:
     Cabal-1.14.0-5875475606fe70ef919bbc055077d744 is unusable due to 
missing or recursive dependencies:
       array-0.4.0.0-59d1cc0e7979167b002f021942d60f46 
containers-0.4.2.1-cfc6420ecc2194c9ed977b06bdfd9e69 
directory-1.1.0.2-07820857642f1427d8b3bb49f93f97b0 
process-1.1.0.1-18dadd8ad5fc640f55a7afdc7aace500
     (use -v for more information)
Extracting
/home/antoras/.cabal/packages/hackage.haskell.org/syb/0.3.6/syb-0.3.6.tar.gz
to /tmp/syb-0.3.616966...
Creating /tmp/syb-0.3.616966/syb-0.3.6/dist/setup (and its parents)
/usr/bin/ghc --make /tmp/syb-0.3.616966/syb-0.3.6/Setup.hs -o 
/tmp/syb-0.3.616966/syb-0.3.6/dist/setup/setup -odir 
/tmp/syb-0.3.616966/syb-0.3.6/dist/setup -hidir 
/tmp/syb-0.3.616966/syb-0.3.6/dist/setup -i 
-i/tmp/syb-0.3.616966/syb-0.3.6 -package Cabal-1.14.0
<command line>: cannot satisfy -package Cabal-1.14.0:
     Cabal-1.14.0-5875475606fe70ef919bbc055077d744 is unusable due to 
missing or recursive dependencies:
       array-0.4.0.0-59d1cc0e7979167b002f021942d60f46 
containers-0.4.2.1-cfc6420ecc2194c9ed977b06bdfd9e69 
directory-1.1.0.2-07820857642f1427d8b3bb49f93f97b0 
process-1.1.0.1-18dadd8ad5fc640f55a7afdc7aace500
     (use -v for more information)
World file is already up to date.
cabal: Error: some packages failed to install:
Cabal-1.12.0 depends on deepseq-1.3.0.0 which failed to install.
binary-0.5.1.0 depends on deepseq-1.3.0.0 which failed to install.
blaze-builder-0.3.1.0 depends on deepseq-1.3.0.0 which failed to install.
blaze-builder-enumerator-0.2.0.3 depends on deepseq-1.3.0.0 which failed to
install.
case-insensitive-0.4.0.1 depends on deepseq-1.3.0.0 which failed to install.
cmdargs-0.9.3 depends on deepseq-1.3.0.0 which failed to install.
containers-0.4.2.1 depends on deepseq-1.3.0.0 which failed to install.
deepseq-1.3.0.0 failed during the building phase. The exception was:
ExitFailure 1
enumerator-0.4.18 depends on deepseq-1.3.0.0 which failed to install.
hashable-1.1.2.3 depends on deepseq-1.3.0.0 which failed to install.
haskell-src-exts-1.11.1 failed during the configure step. The exception was:
ExitFailure 1
hoogle-4.2.8 depends on syb-0.3.6 which failed to install.
http-types-0.6.9 depends on deepseq-1.3.0.0 which failed to install.
network-2.3.0.11 depends on deepseq-1.3.0.0 which failed to install.
parsec-3.1.2 depends on deepseq-1.3.0.0 which failed to install.
random-1.0.1.1 depends on deepseq-1.3.0.0 which failed to install.
simple-sendfile-0.2.1 depends on deepseq-1.3.0.0 which failed to install.
syb-0.3.6 failed during the configure step. The exception was:
ExitFailure 1
tagsoup-0.12.6 depends on deepseq-1.3.0.0 which failed to install.
template-haskell-2.7.0.0 depends on deepseq-1.3.0.0 which failed to install.
text-0.11.1.13 depends on deepseq-1.3.0.0 which failed to install.
time-1.4 depends on deepseq-1.3.0.0 which failed to install.
uniplate-1.6.6 depends on syb-0.3.6 which failed to install.
unordered-containers-0.1.4.6 depends on deepseq-1.3.0.0 which failed to
install.
wai-0.4.3 depends on deepseq-1.3.0.0 which failed to install.
warp-0.4.6.3 depends on deepseq-1.3.0.0 which failed to install.



More information about the Glasgow-haskell-users mailing list