[arch-haskell] Could not find module Distribution.Simple

pete morris pete.morris at gmail.com
Sun Mar 28 10:30:54 EDT 2010


On Sun Mar 28, 2010 at 10:18AM, Adam Vogt wrote:
> * On Sunday, March 28 2010, pete morris wrote:
> 
> >Hi all,
> >
> >Since the recent gmp/ghc upgrades in Arch, I get an error trying to build 
> >haskell packages on i686. For example, haskell-binary:
> >
> >$ cd /var/abs/local/haskell-binary && makepkg
> >    ...
> >    ==> Starting build()...
> >
> >    Setup.hs:3:7:
> >        Could not find module `Distribution.Simple':
> >        Use -v to see a list of the files searched for.
> >    ==> ERROR: Build Failed.
> >        Aborting...
> >
> ...
> >
> >Any thoughts on the missing module error?
> 
> It looks like the Cabal library is no longer correctly installed. It
> should be provided by ghc though.
> 
> 
> What's the output for ghc-pkg list?

$ ghc-pkg list
WARNING: there are broken packages.  Run 'ghc-pkg check' for more details.
/usr/lib/ghc-6.12.1/package.conf.d
   Cabal-1.8.0.2
   X11-1.5.0.0
   X11-xft-0.3
   base-3.0.3.2
   base-4.2.0.0
   bin-package-db-0.0.0.0
   bytestring-0.9.1.5
   containers-0.3.0.0
   directory-1.0.1.0
   dph-base-0.4.0
   dph-par-0.4.0
   dph-prim-interface-0.4.0
   dph-prim-par-0.4.0
   dph-prim-seq-0.4.0
   dph-seq-0.4.0
   extensible-exceptions-0.1.1.1
   ffi-1.0
   filepath-1.1.0.3
   ghc-6.12.1
   ghc-binary-0.5.0.2
   ghc-prim-0.2.0.0
   haskell98-1.0.1.1
   hpc-0.5.0.4
   integer-gmp-0.2.0.0
   mtl-1.1.0.2
   network-2.2.1.7
   old-locale-1.0.0.2
   old-time-1.0.0.3
   parsec-2.1.0.1
   pretty-1.0.1.1
   process-1.0.1.2
   random-1.0.0.2
   rts-1.0
   stm-2.1.1.2
   syb-0.1.0.2
   template-haskell-2.4.0.0
   time-1.1.4
   unix-2.4.0.0
   utf8-string-0.3.4
   utf8-string-0.3.6
   xmonad-0.9.1
   xmonad-contrib-0.9.1
   zlib-0.5.2.0
/home/morrispj/.ghc/i386-linux-6.12.1/package.conf.d


And here is the output from ghc-pkg check:

$ ghc-pkg check
There are problems in package stm-2.1.1.2:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package dph-prim-seq-0.4.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package ghc-binary-0.5.0.2:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package Cabal-1.8.0.2:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package containers-0.3.0.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package dph-prim-par-0.4.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package dph-seq-0.4.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package ghc-6.12.1:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package haskell98-1.0.1.1:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package dph-par-0.4.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist
There are problems in package dph-base-0.4.0:
  dependency "array-0.3.0.0-dbdf73710a5bd9a534e8bcb2d8c8ee98" doesn't exist

The following packages are broken, either because they have a problem
listed above, or because they depend on a broken package.
stm-2.1.1.2
dph-prim-seq-0.4.0
ghc-binary-0.5.0.2
Cabal-1.8.0.2
containers-0.3.0.0
dph-prim-par-0.4.0
dph-seq-0.4.0
ghc-6.12.1
haskell98-1.0.1.1
dph-par-0.4.0
dph-base-0.4.0
xmonad-contrib-0.9.1
xmonad-0.9.1
X11-xft-0.3
hpc-0.5.0.4
template-haskell-2.4.0.0
bin-package-db-0.0.0.0
dph-prim-interface-0.4.0


Thanks,
Pete


More information about the arch-haskell mailing list