*** setup configure Reading installed packages... /usr/local/bin/ghc-pkg dump --global /usr/local/bin/ghc-pkg dump --user /usr/local/bin/ghc --print-libdir Creating setup (and its parents) /usr/local/bin/ghc -package Cabal-1.8.0.4 --make Setup.hs -o setup/setup -odir setup -hidir setup [1 of 1] Compiling Main ( Setup.hs, setup/Main.o ) Linking setup/setup ... setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/gf-3.1.6 --verbose Configuring gf-3.1.6... Flags chosen: interrupt=True Dependency array -any: using array-0.3.0.0 Dependency base >=4.2 && <5: using base-4.2.0.1 Dependency bytestring -any: using bytestring-0.9.1.6 Dependency containers -any: using containers-0.3.0.0 Dependency directory -any: using directory-1.0.1.1 Dependency filepath -any: using filepath-1.1.0.4 Dependency haskeline -any: using haskeline-0.6.2.2 Dependency mtl -any: using mtl-1.1.0.2 Dependency old-time -any: using old-time-1.0.0.4 Dependency pretty -any: using pretty-1.0.1.1 Dependency process -any: using process-1.0.1.2 Dependency random -any: using random-1.0.0.2 Dependency unix -any: using unix-2.4.0.1 Using Cabal-1.8.0.4 compiled by ghc-6.12 Using compiler: ghc-6.12.2 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/gf-3.1.6/ghc-6.12.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/gf-3.1.6 Documentation installed in: /usr/local/tmp/archive/install/share/doc/gf-3.1.6 Using alex version 2.3.3 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.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.12.2 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.6.1 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 gf-3.1.6... /usr/local/bin/haddock --use-contents=/package/gf-3.1.6 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library gf-3.1.6... Preprocessing executables for gf-3.1.6... Creating dist/build/gf/gf-tmp/GF/Grammar (and its parents) /usr/bin/alex -g -o dist/build/gf/gf-tmp/GF/Grammar/Lexer.hs src/compiler/GF/Grammar/Lexer.x Creating dist/build/gf/gf-tmp/GF/Grammar (and its parents) /usr/local/bin/happy -agc -o dist/build/gf/gf-tmp/GF/Grammar/Parser.hs src/compiler/GF/Grammar/Parser.y Running hscolour for gf-3.1.6... Creating dist/doc/html/gf (and its parents) Creating dist/doc/html/gf/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/gf/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF.html src/runtime/haskell/PGF.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-CId.html src/runtime/haskell/PGF/CId.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Data.html src/runtime/haskell/PGF/Data.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Macros.html src/runtime/haskell/PGF/Macros.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Generate.html src/runtime/haskell/PGF/Generate.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Linearize.html src/runtime/haskell/PGF/Linearize.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Parse.html src/runtime/haskell/PGF/Parse.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Expr.html src/runtime/haskell/PGF/Expr.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Type.html src/runtime/haskell/PGF/Type.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Tree.html src/runtime/haskell/PGF/Tree.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Paraphrase.html src/runtime/haskell/PGF/Paraphrase.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-TypeCheck.html src/runtime/haskell/PGF/TypeCheck.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Binary.html src/runtime/haskell/PGF/Binary.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Morphology.html src/runtime/haskell/PGF/Morphology.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-VisualizeTree.html src/runtime/haskell/PGF/VisualizeTree.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Printer.html src/runtime/haskell/PGF/Printer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/PGF-Probabilistic.html src/runtime/haskell/PGF/Probabilistic.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/GF-Data-TrieMap.html src/compiler/GF/Data/TrieMap.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/GF-Data-Utilities.html src/compiler/GF/Data/Utilities.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/gf/src/GF-Data-SortedList.html src/compiler/GF/Data/SortedList.hs HsColour: src/compiler/GF/Data/SortedList.hs: hGetContents: invalid argument (invalid UTF-8 byte sequence) *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/gf-3.1.6 --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --constraint=cabal-install<0.8 --verbose Configuring gf-3.1.6... setup: At least the following dependencies are missing: base >=4.2 && <5 && <4 && >=4.2 && <4