[Pkg-haskell-maintainers] Bug#575608: cabal-install clueless of previously installed lib with custom package-db
Christopher Lane Hinson
lane at downstairspeople.org
Sat Mar 27 17:03:21 UTC 2010
Package: cabal-install
Version: 0.8.0-1
Severity: normal
This seems to happen for any library that carried dependencies, not just parallel/deepseq.
lane at biped:~/src/test $ cabal --version
cabal-install version 0.8.0
using version 1.8.0.2 of the Cabal library
lane at biped:~/src/test $ cabal update
Downloading the latest package list from hackage.haskell.org
lane at biped:~/src/test $ echo "[]" > my-package-db
lane at biped:~/src/test $ cabal install parallel --package-db="/home/lane/src/test/my-package-db" --prefix="/home/lane/src/test/prefix/"
Resolving dependencies...
Downloading deepseq-1.1.0.0...
Configuring deepseq-1.1.0.0...
Preprocessing library deepseq-1.1.0.0...
Building deepseq-1.1.0.0...
[1 of 1] Compiling Control.DeepSeq ( Control/DeepSeq.hs, dist/build/Control/DeepSeq.o )
Registering deepseq-1.1.0.0...
Installing library in
/home/lane/src/test/prefix//lib/deepseq-1.1.0.0/ghc-6.12.1
Registering deepseq-1.1.0.0...
Downloading parallel-2.2.0.1...
Configuring parallel-2.2.0.1...
Preprocessing library parallel-2.2.0.1...
Building parallel-2.2.0.1...
[1 of 2] Compiling Control.Parallel ( Control/Parallel.hs, dist/build/Control/Parallel.o )
[2 of 2] Compiling Control.Parallel.Strategies ( Control/Parallel/Strategies.hs, dist/build/Control/Parallel/Strategies.o )
Registering parallel-2.2.0.1...
cabal: parallel-2.2.0.1: dependency
"deepseq-1.1.0.0-14fbf43e1c607f21a1eab1783c9c45d4" doesn't exist (use --force
to override)
cabal: Error: some packages failed to install:
parallel-2.2.0.1 failed during the building phase. The exception was:
ExitFailure 1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (700, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cabal-install depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libffi5 3.0.9-1 Foreign Function Interface library
ii libgmp3c2 2:4.3.2+dfsg-1 Multiprecision arithmetic library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages cabal-install recommends:
ii ghc6 6.12.1-12 GHC - the Glasgow Haskell Compilat
cabal-install suggests no packages.
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list