Skip to content

cabal install broken with ghc 7.10.1-rc2

Trying to install a package with cabal-install and Cabal from ghc 7.10-rc2 consistently gives this error message (primitive is just an example):

peter@montebre:~> cabal install primitive
Resolving dependencies...
Configuring primitive-0.5.4.0...
cabal: Distribution/Client/Config.hs:(246,37)-(299,9): Missing field in record construction configProf

This is my package database:

peter@montebre:~> ghc-pkg list
/usr/lib64/ghc-7.10.0.20150123/package.conf.d
   Cabal-1.22.1.0
   HTTP-4000.2.19
   array-0.5.0.1
   base-4.8.0.0
   bin-package-db-0.0.0.0
   binary-0.7.3.0
   bytestring-0.10.6.0
   containers-0.5.6.2
   deepseq-1.4.0.0
   directory-1.2.2.0
   filepath-1.3.1.0
   ghc-7.10.0.20150123
   ghc-prim-0.3.1.0
   haskeline-0.7.2.0
   hoopl-3.10.0.2
   hpc-0.6.0.2
   integer-gmp-1.0.0.0
   mtl-2.2.1
   network-2.4.2.3
   old-locale-1.0.0.7
   old-time-1.1.0.3
   parsec-3.1.8
   pretty-1.1.2.0
   process-1.2.2.0
   random-1.0.1.1
   rts-1.0
   stm-2.4.2
   syb-0.4.4
   template-haskell-2.10.0.0
   terminfo-0.4.0.1
   text-1.2.0.4
   th-desugar-1.5
   th-lift-0.7
   time-1.5.0.1
   transformers-0.4.2.0
   unix-2.7.1.0
   xhtml-3000.2.1
   zlib-0.5.4.2

I updated only those packages (from their versions in Haskell Platform) that would not compile with 7.101-rc2.

I am setting this to highest as this issue would be very annoying for everyone.

Trac metadata
Trac field Value
Version 7.10.1-rc2
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Package system
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information