*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/X11-extras-0.0 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring X11-extras-0.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency X11 >=1.2: using X11-1.5.0.0 Dependency base -any: using base-4.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/X11-extras-0.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/X11-extras-0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/X11-extras-0.0 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 X11-extras-0.0... /usr/local/bin/haddock --use-contents=/package/X11-extras-0.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library X11-extras-0.0... Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=612 --cflag=-Iinclude --lflag=-lX11 --lflag=-lXext --cflag=-I/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1/include --cflag=-I/usr/local/lib/ghc-6.12.1/base-4.2.0.0/include --cflag=-I/usr/local/lib/ghc-6.12.1/include --cflag=-I/usr/local/lib/ghc-6.12.1/include --lflag=-L/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1 --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-L/usr/local/tmp/archive/install/lib/syb-0.1.0.3/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/tmp/archive/install/lib/syb-0.1.0.3/ghc-6.12.1 --lflag=-L/usr/local/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-L/usr/local/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-lgmp --lflag=-L/usr/local/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1 --lflag=-lm --lflag=-lrt --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1 -o dist/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc hsc2hs: Graphics/X11/Xlib/Extras.hsc: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character) *** Trying again with preferred-versions *** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/X11-extras-0.0 --constraint=base<4 --constraint=parsec<3 --constraint=QuickCheck<2 --constraint=cabal-install<0.8 --verbose Warning: defaultUserHooks in Setup script is deprecated. Configuring X11-extras-0.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Dependency X11 >=1.2: using X11-1.5.0.0 Dependency base <4: using base-3.0.3.2 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package base-3.0.3.2 requires syb-0.1.0.2 package X11-1.5.0.0 requires syb-0.1.0.3 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/X11-extras-0.0/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/X11-extras-0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/X11-extras-0.0 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 X11-extras-0.0... /usr/local/bin/haddock --use-contents=/package/X11-extras-0.0 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library X11-extras-0.0... Creating dist/build/Graphics/X11/Xlib (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=612 --cflag=-Iinclude --lflag=-lX11 --lflag=-lXext --cflag=-I/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1/include --cflag=-I/usr/local/lib/ghc-6.12.1/base-4.2.0.0/include --cflag=-I/usr/local/lib/ghc-6.12.1/include --cflag=-I/usr/local/lib/ghc-6.12.1/include --lflag=-L/usr/local/lib/ghc-6.12.1/base-3.0.3.2 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/base-3.0.3.2 --lflag=-L/usr/local/lib/ghc-6.12.1/syb-0.1.0.2 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/syb-0.1.0.2 --lflag=-L/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/tmp/archive/install/lib/X11-1.5.0.0/ghc-6.12.1 --lflag=-lXinerama --lflag=-lXext --lflag=-lX11 --lflag=-L/usr/local/tmp/archive/install/lib/syb-0.1.0.3/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/tmp/archive/install/lib/syb-0.1.0.3/ghc-6.12.1 --lflag=-L/usr/local/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/base-4.2.0.0 --lflag=-L/usr/local/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/integer-gmp-0.2.0.0 --lflag=-lgmp --lflag=-L/usr/local/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1/ghc-prim-0.2.0.0 --lflag=-L/usr/local/lib/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1 --lflag=-lm --lflag=-lrt --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.12.1 --lflag=-Wl,-R,/usr/local/lib/ghc-6.12.1 -o dist/build/Graphics/X11/Xlib/Extras.hs Graphics/X11/Xlib/Extras.hsc hsc2hs: Graphics/X11/Xlib/Extras.hsc: hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)