[haskell-llvm] [Haskell-cafe] Hackage have ghc 7.0 false positives builds

Maciej Piechotka uzytkownik2 at gmail.com
Tue Dec 7 15:50:46 EST 2010


On Tue, 2010-12-07 at 21:42 +0100, Henning Thielemann wrote:
> On Tue, 7 Dec 2010, Maciej Piechotka wrote:
> 
> > To begin with there is type-checking error when compiling with cabal
> > 1.10 shipped with ghc:
> >
> > /var/tmp/paludis/dev-haskell-llvm-0.9.0.1/work/llvm-0.9.0.1/Setup.hs:102:70:
> >    Couldn't match expected type `[PackageDB]'
> >                with actual type `PackageDB'
> >    Expected type: PackageDBStack
> >      Actual type: PackageDB
> >    In the sixth argument of `registerPackage', namely `packageDb'
> >    In the expression:
> >      registerPackage
> >        verbosity installedPkgInfo pkg lbi inplace packageDb
> 
> 
> This looks like an incompatibility with respect to Cabal, not with respect 
> to the 'llvm' modules and GHC-7.
> 

Yes. But since ghc-7 contains cabal 1.10 and you cannot compile cabal
1.8 with ghc-7 (I've tried) I believe that it should be marked as
non-buildable on ghc-7 on hackage. I don't recall mentioning any
problems with llvm (as C++ library).

> > [39 of 40] Compiling LLVM.Util.Arithmetic ( LLVM/Util/Arithmetic.hs,
> > dist/build/LLVM/Util/Arithmetic.o )
> >
> > LLVM/Util/Arithmetic.hs:17:1:
> >    Warning: The import of `Data.TypeLevel' is redundant
> >               except perhaps to import instances from `Data.TypeLevel'
> >             To import instances alone, use: import Data.TypeLevel[40 of
> > 40] Compiling LLVM.Util.File   ( LLVM/Util/File.hs,
> > dist/build/LLVM/Util/File.o )
> > ()
> > Registering llvm-0.9.0.1...
> > Running Haddock for llvm-0.9.0.1...
> > Preprocessing library llvm-0.9.0.1...
> > Running hscolour for llvm-0.9.0.1...
> 
> Thus in the end it was built, wasn't it?

But failed to install.

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://projects.haskell.org/pipermail/haskell-llvm/attachments/20101207/6d41cf1c/attachment-0001.pgp 


More information about the Haskell-llvm mailing list