m4dc4p / haskelldb

A library for building re-usable and composable SQL queries.
BSD 3-Clause "New" or "Revised" License
102 stars 17 forks source link

Can't install via `cabal install` #13

Open tel opened 11 years ago

tel commented 11 years ago

Installs fail due to haskelldb-2.2.2. They work with -2.2.1.

An example from a larger cabal install --only-dependencies of a project including build-depends: haskelldb.

...
Failed to install haskelldb-2.2.2
Last 10 lines of the build log (
/Users/tel/rh/proj/gsk/urania2/.hsenv_u2/cabal/logs/haskelldb-2.2.2.log ):
cabal:
/Users/tel/rh/proj/gsk/urania2/.hsenv_u2/cabal/logs/haskelldb-2.2.2.log: does
not exist
...

An more isolated example, isolated in a separate hsenv (tmp).

(tmp)> ~ cabal install haskelldb
Resolving dependencies...
Configuring transformers-0.3.0.0...
Building transformers-0.3.0.0...
Preprocessing library transformers-0.3.0.0...
[ 1 of 24] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist_tmp/build/Data/Functor/Product.o )
...
[24 of 24] Compiling Data.Functor.Reverse ( Data/Functor/Reverse.hs, dist_tmp/build/Data/Functor/Reverse.o )
In-place registering transformers-0.3.0.0...
Installing library in
/Users/tel/.hsenv_tmp/cabal/lib/transformers-0.3.0.0/ghc-7.6.3
Registering transformers-0.3.0.0...
Installed transformers-0.3.0.0
Configuring mtl-2.1.2...
Building mtl-2.1.2...
Preprocessing library mtl-2.1.2...
[ 1 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist_tmp/build/Control/Monad/Writer/Class.o )
...
[21 of 21] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist_tmp/build/Control/Monad/Cont.o )
In-place registering mtl-2.1.2...
Installing library in /Users/tel/.hsenv_tmp/cabal/lib/mtl-2.1.2/ghc-7.6.3
Registering mtl-2.1.2...
Installed mtl-2.1.2
Failed to install haskelldb-2.2.2
cabal: Error: some packages failed to install:
haskelldb-2.2.2 failed while unpacking the package. The exception was:
user error (data is not in tar format)

This are happening with cabal-install version 1.16.0.2 and cabal version 1.16.0 on GHC 7.6.3.