*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/regular-0.2.1 --verbose Configuring regular-0.2.1... Dependency base >=4.0 && <5: using base-4.2.0.0 Dependency template-haskell >=2.2 && <2.4: using template-haskell-2.2.0.0 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-6.12.1 Using install prefix: /usr/local/tmp/archive/install Binaries installed in: /usr/local/tmp/archive/install/bin Libraries installed in: /usr/local/tmp/archive/install/lib/regular-0.2.1/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/regular-0.2.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/regular-0.2.1 Using alex version 2.3.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.16.0 found on system at: /usr/local/bin/c2hs Using cpphs version 1.11 found on system at: /usr/local/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.4.3 found on system at: /usr/bin/gcc Using ghc version 6.12.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.1 found on system at: /usr/local/bin/ghc-pkg Using greencard found on system at: /usr/local/tmp/archive/install/bin/greencard Using haddock version 2.7.2 found on system at: /usr/local/bin/haddock Using happy version 1.17 found on system at: /usr/local/bin/happy No hmake found Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.16 found on system at: /usr/local/bin/HsColour Using hugs found on system at: /usr/local/bin/hugs No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found Using pkg-config version 0.22 found on system at: /usr/bin/pkg-config Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar *** setup haddock setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for regular-0.2.1... /usr/local/bin/haddock --use-contents=/package/regular-0.2.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library regular-0.2.1... Running hscolour for regular-0.2.1... Creating dist/doc/html/regular (and its parents) Creating dist/doc/html/regular/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/regular/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular.html src/Generics/Regular.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Base.html src/Generics/Regular/Base.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Constructor.html src/Generics/Regular/Constructor.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Selector.html src/Generics/Regular/Selector.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-TH.html src/Generics/Regular/TH.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions.html src/Generics/Regular/Functions.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-ConNames.html src/Generics/Regular/Functions/ConNames.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Crush.html src/Generics/Regular/Functions/Crush.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Eq.html src/Generics/Regular/Functions/Eq.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Fold.html src/Generics/Regular/Functions/Fold.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-GMap.html src/Generics/Regular/Functions/GMap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-LR.html src/Generics/Regular/Functions/LR.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Read.html src/Generics/Regular/Functions/Read.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Seq.html src/Generics/Regular/Functions/Seq.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Show.html src/Generics/Regular/Functions/Show.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/regular/src/Generics-Regular-Functions-Zip.html src/Generics/Regular/Functions/Zip.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-3.0.3.2, ffi-1.0, rts-1.0 /usr/local/bin/ghc --print-libdir copy src/Generics/Regular.hs to dist/build/tmp30791/src/Generics/Regular.hs copy src/Generics/Regular/Base.hs to dist/build/tmp30791/src/Generics/Regular/Base.hs copy src/Generics/Regular/Constructor.hs to dist/build/tmp30791/src/Generics/Regular/Constructor.hs copy src/Generics/Regular/Selector.hs to dist/build/tmp30791/src/Generics/Regular/Selector.hs copy src/Generics/Regular/TH.hs to dist/build/tmp30791/src/Generics/Regular/TH.hs copy src/Generics/Regular/Functions.hs to dist/build/tmp30791/src/Generics/Regular/Functions.hs copy src/Generics/Regular/Functions/ConNames.hs to dist/build/tmp30791/src/Generics/Regular/Functions/ConNames.hs copy src/Generics/Regular/Functions/Crush.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Crush.hs copy src/Generics/Regular/Functions/Eq.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Eq.hs copy src/Generics/Regular/Functions/Fold.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Fold.hs copy src/Generics/Regular/Functions/GMap.hs to dist/build/tmp30791/src/Generics/Regular/Functions/GMap.hs copy src/Generics/Regular/Functions/LR.hs to dist/build/tmp30791/src/Generics/Regular/Functions/LR.hs copy src/Generics/Regular/Functions/Read.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Read.hs copy src/Generics/Regular/Functions/Seq.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Seq.hs copy src/Generics/Regular/Functions/Show.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Show.hs copy src/Generics/Regular/Functions/Zip.hs to dist/build/tmp30791/src/Generics/Regular/Functions/Zip.hs Creating dist/doc/html/regular/ (and its parents) /usr/local/bin/haddock --use-contents=/package/regular-0.2.1 --prologue=dist/doc/html/regular/haddock-prolog30791.txt --dump-interface=dist/doc/html/regular/regular.haddock --optghc=-package-name --optghc=regular-0.2.1 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/array/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.0/array.haddock --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.haddock --read-interface=/packages/archive/containers/0.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/containers-0.3.0.0/containers.haddock --read-interface=/packages/archive/ghc-prim/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.2.0.0/ghc-prim.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/packedstring/0.1.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/packedstring-0.1.0.1/html/packedstring.haddock --read-interface=/packages/archive/pretty/1.0.1.1/doc/html,/usr/local/share/doc/ghc/html/libraries/pretty-1.0.1.1/pretty.haddock --read-interface=/packages/archive/syb/0.1.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/syb-0.1.0.2/syb.haddock --read-interface=/packages/archive/template-haskell/2.2.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/template-haskell-2.2.0.0/html/template-haskell.haddock --odir=dist/doc/html/regular/ --title=regular-0.2.1: Generic programming library for regular datatypes. --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-isrc --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-stubdir --optghc=dist/build --optghc=-package-id --optghc=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=template-haskell-2.2.0.0-1fa53cfb0cb3d86f2ec7274417f84075 --optghc=-O --optghc=-Wall -B/usr/local/lib/ghc-6.12.1 dist/build/tmp30791/src/Generics/Regular.hs dist/build/tmp30791/src/Generics/Regular/Base.hs dist/build/tmp30791/src/Generics/Regular/Constructor.hs dist/build/tmp30791/src/Generics/Regular/Selector.hs dist/build/tmp30791/src/Generics/Regular/TH.hs dist/build/tmp30791/src/Generics/Regular/Functions.hs dist/build/tmp30791/src/Generics/Regular/Functions/ConNames.hs dist/build/tmp30791/src/Generics/Regular/Functions/Crush.hs dist/build/tmp30791/src/Generics/Regular/Functions/Eq.hs dist/build/tmp30791/src/Generics/Regular/Functions/Fold.hs dist/build/tmp30791/src/Generics/Regular/Functions/GMap.hs dist/build/tmp30791/src/Generics/Regular/Functions/LR.hs dist/build/tmp30791/src/Generics/Regular/Functions/Read.hs dist/build/tmp30791/src/Generics/Regular/Functions/Seq.hs dist/build/tmp30791/src/Generics/Regular/Functions/Show.hs dist/build/tmp30791/src/Generics/Regular/Functions/Zip.hs dist/build/tmp30791/src/Generics/Regular/TH.hs:32:0: Bad interface file: /usr/local/tmp/archive/install/lib/template-haskell-2.2.0.0/ghc-6.12.1/Language/Haskell/TH.hi Something is amiss; requested module template-haskell-2.2.0.0:Language.Haskell.TH differs from name found in the interface file template-haskell:Language.Haskell.TH *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/regular-0.2.1 --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --constraint=cabal-install<0.8 --verbose Configuring regular-0.2.1... setup: At least the following dependencies are missing: base >=4.0 && <5 && <4