[Pkg-haskell-maintainers] Bug#778987: mismatched versions of cabal-install and Cabal result in build failures

Joey Hess id at joeyh.name
Sun Feb 22 16:35:27 UTC 2015


Package: cabal-install
Version: 1.20.0.3-1
Severity: normal

Since Cabal is back at version 1.16.0, a package with a custom Setup.hs
will be built linked against that. However, cabal-install 1.20 puts
things in the default ~/.cabal/config that cause such a Setup to crash.

For example:

joey at darkstar:~/src/git-annex>cabal configure
Config file path source is default config file.
Config file /home/joey/.cabal/config not found.
Writing default configuration to /home/joey/.cabal/config
Warning: The package list for 'hackage.haskell.org' does not exist. Run
'cabal
update' to download it.
Resolving dependencies...
unrecognized option `--extra-prog-path=/home/joey/.cabal/bin'

-- System Information:
Debian Release: 8.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cabal-install depends on:
ii  libc6     2.19-13
ii  libffi6   3.1-2+b2
ii  libgmp10  2:6.0.0+dfsg-6
ii  zlib1g    1:1.2.8.dfsg-2+b1

Versions of packages cabal-install recommends:
ii  ghc  7.6.3-20

cabal-install suggests no packages.

-- no debconf information

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20150222/54de0029/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list