*** setup configure Configuring HGL-3.2.0.1... Flags chosen: split-base=True Dependency X11 -any: using X11-1.5.0.0 Dependency array -any: using array-0.3.0.0 Dependency base ==3.*: using base-3.0.3.2 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/HGL-3.2.0.1/ghc-6.12.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HGL-3.2.0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HGL-3.2.0.1 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 Running Haddock for HGL-3.2.0.1... /usr/local/bin/haddock --use-contents=/package/HGL-3.2.0.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HGL-3.2.0.1... Running hscolour for HGL-3.2.0.1... Creating dist/doc/html/HGL (and its parents) Creating dist/doc/html/HGL/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/HGL/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Core.html Graphics/HGL/Core.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw.html Graphics/HGL/Draw.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Units.html Graphics/HGL/Units.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Key.html Graphics/HGL/Key.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Run.html Graphics/HGL/Run.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Brush.html Graphics/HGL/Draw/Brush.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Font.html Graphics/HGL/Draw/Font.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Monad.html Graphics/HGL/Draw/Monad.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Pen.html Graphics/HGL/Draw/Pen.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Picture.html Graphics/HGL/Draw/Picture.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Region.html Graphics/HGL/Draw/Region.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Text.html Graphics/HGL/Draw/Text.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Utils.html Graphics/HGL/Utils.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Window.html Graphics/HGL/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL.html Graphics/HGL.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-SOE.html Graphics/SOE.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Display.html Graphics/HGL/X11/Display.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-DC.html Graphics/HGL/X11/DC.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Timer.html Graphics/HGL/X11/Timer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Types.html Graphics/HGL/X11/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Window.html Graphics/HGL/X11/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Event.html Graphics/HGL/Internals/Event.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Events.html Graphics/HGL/Internals/Events.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Draw.html Graphics/HGL/Internals/Draw.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Types.html Graphics/HGL/Internals/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Flag.html Graphics/HGL/Internals/Flag.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Utilities.html Graphics/HGL/Internals/Utilities.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Core.hs Graphics/HGL/Core.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw.hs Graphics/HGL/Draw.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Units.hs Graphics/HGL/Units.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Key.hs Graphics/HGL/Key.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Run.hs Graphics/HGL/Run.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Brush.hs Graphics/HGL/Draw/Brush.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Font.hs Graphics/HGL/Draw/Font.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Monad.hs Graphics/HGL/Draw/Monad.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Pen.hs Graphics/HGL/Draw/Pen.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Picture.hs Graphics/HGL/Draw/Picture.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Region.hs Graphics/HGL/Draw/Region.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Draw/Text.hs Graphics/HGL/Draw/Text.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Utils.hs Graphics/HGL/Utils.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Window.hs Graphics/HGL/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL.hs Graphics/HGL.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/SOE.hs Graphics/SOE.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/X11/Display.hs Graphics/HGL/X11/Display.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/X11/DC.hs Graphics/HGL/X11/DC.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/X11/Timer.hs Graphics/HGL/X11/Timer.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/X11/Types.hs Graphics/HGL/X11/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/X11/Window.hs Graphics/HGL/X11/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Event.hs Graphics/HGL/Internals/Event.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Events.hs Graphics/HGL/Internals/Events.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Draw.hs Graphics/HGL/Internals/Draw.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Types.hs Graphics/HGL/Internals/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Flag.hs Graphics/HGL/Internals/Flag.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22515/Graphics/HGL/Internals/Utilities.hs Graphics/HGL/Internals/Utilities.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 Creating dist/doc/html/HGL/ (and its parents) /usr/local/bin/haddock --use-contents=/package/HGL-3.2.0.1 --prologue=dist/doc/html/HGL/haddock-prolog22515.txt --dump-interface=dist/doc/html/HGL/HGL.haddock --optghc=-package-name --optghc=HGL-3.2.0.1 --hide=Graphics.HGL.X11.Display --hide=Graphics.HGL.X11.DC --hide=Graphics.HGL.X11.Timer --hide=Graphics.HGL.X11.Types --hide=Graphics.HGL.X11.Window --hide=Graphics.HGL.Internals.Event --hide=Graphics.HGL.Internals.Events --hide=Graphics.HGL.Internals.Draw --hide=Graphics.HGL.Internals.Types --hide=Graphics.HGL.Internals.Flag --hide=Graphics.HGL.Internals.Utilities --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/X11/1.5.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/X11-1.5.0.0/html/X11.haddock --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.1/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.1/base.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.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.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 --odir=dist/doc/html/HGL/ --title=HGL-3.2.0.1: A simple graphics library based on X11 or Win32 --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --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=X11-1.5.0.0-87011d3a15d7d77765d3e41c674b46ec --optghc=-package-id --optghc=array-0.3.0.0-c443d193ea1a8784bcbeef961d3b892a --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-O --optghc=-XCPP -B/usr/local/lib/ghc-6.12.2 dist/build/tmp22515/Graphics/HGL/Core.hs dist/build/tmp22515/Graphics/HGL/Draw.hs dist/build/tmp22515/Graphics/HGL/Units.hs dist/build/tmp22515/Graphics/HGL/Key.hs dist/build/tmp22515/Graphics/HGL/Run.hs dist/build/tmp22515/Graphics/HGL/Draw/Brush.hs dist/build/tmp22515/Graphics/HGL/Draw/Font.hs dist/build/tmp22515/Graphics/HGL/Draw/Monad.hs dist/build/tmp22515/Graphics/HGL/Draw/Pen.hs dist/build/tmp22515/Graphics/HGL/Draw/Picture.hs dist/build/tmp22515/Graphics/HGL/Draw/Region.hs dist/build/tmp22515/Graphics/HGL/Draw/Text.hs dist/build/tmp22515/Graphics/HGL/Utils.hs dist/build/tmp22515/Graphics/HGL/Window.hs dist/build/tmp22515/Graphics/HGL.hs dist/build/tmp22515/Graphics/SOE.hs dist/build/tmp22515/Graphics/HGL/X11/Display.hs dist/build/tmp22515/Graphics/HGL/X11/DC.hs dist/build/tmp22515/Graphics/HGL/X11/Timer.hs dist/build/tmp22515/Graphics/HGL/X11/Types.hs dist/build/tmp22515/Graphics/HGL/X11/Window.hs dist/build/tmp22515/Graphics/HGL/Internals/Event.hs dist/build/tmp22515/Graphics/HGL/Internals/Events.hs dist/build/tmp22515/Graphics/HGL/Internals/Draw.hs dist/build/tmp22515/Graphics/HGL/Internals/Types.hs dist/build/tmp22515/Graphics/HGL/Internals/Flag.hs dist/build/tmp22515/Graphics/HGL/Internals/Utilities.hs Graphics/HGL/Internals/Utilities.hs:34:10: Couldn't match expected type `E.IOException' against inferred type `base:Control.OldException.Exception' Expected type: IO (Either E.IOException a) Inferred type: IO (Either base:Control.OldException.Exception a) In the expression: E.try In the definition of `safeTry': safeTry = E.try *** Trying again with preferred-versions *** setup configure Configuring HGL-3.2.0.1... Flags chosen: split-base=True Dependency X11 -any: using X11-1.5.0.0 Dependency array -any: using array-0.3.0.0 Dependency base ==3.*: using base-3.0.3.2 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/HGL-3.2.0.1/ghc-6.12.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/HGL-3.2.0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/HGL-3.2.0.1 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 Running Haddock for HGL-3.2.0.1... /usr/local/bin/haddock --use-contents=/package/HGL-3.2.0.1 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library HGL-3.2.0.1... Running hscolour for HGL-3.2.0.1... Creating dist/doc/html/HGL (and its parents) Creating dist/doc/html/HGL/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/HGL/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Core.html Graphics/HGL/Core.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw.html Graphics/HGL/Draw.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Units.html Graphics/HGL/Units.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Key.html Graphics/HGL/Key.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Run.html Graphics/HGL/Run.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Brush.html Graphics/HGL/Draw/Brush.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Font.html Graphics/HGL/Draw/Font.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Monad.html Graphics/HGL/Draw/Monad.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Pen.html Graphics/HGL/Draw/Pen.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Picture.html Graphics/HGL/Draw/Picture.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Region.html Graphics/HGL/Draw/Region.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Draw-Text.html Graphics/HGL/Draw/Text.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Utils.html Graphics/HGL/Utils.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Window.html Graphics/HGL/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL.html Graphics/HGL.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-SOE.html Graphics/SOE.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Display.html Graphics/HGL/X11/Display.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-DC.html Graphics/HGL/X11/DC.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Timer.html Graphics/HGL/X11/Timer.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Types.html Graphics/HGL/X11/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-X11-Window.html Graphics/HGL/X11/Window.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Event.html Graphics/HGL/Internals/Event.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Events.html Graphics/HGL/Internals/Events.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Draw.html Graphics/HGL/Internals/Draw.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Types.html Graphics/HGL/Internals/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Flag.html Graphics/HGL/Internals/Flag.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/HGL/src/Graphics-HGL-Internals-Utilities.html Graphics/HGL/Internals/Utilities.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 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Core.hs Graphics/HGL/Core.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw.hs Graphics/HGL/Draw.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Units.hs Graphics/HGL/Units.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Key.hs Graphics/HGL/Key.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Run.hs Graphics/HGL/Run.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Brush.hs Graphics/HGL/Draw/Brush.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Font.hs Graphics/HGL/Draw/Font.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Monad.hs Graphics/HGL/Draw/Monad.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Pen.hs Graphics/HGL/Draw/Pen.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Picture.hs Graphics/HGL/Draw/Picture.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Region.hs Graphics/HGL/Draw/Region.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Draw/Text.hs Graphics/HGL/Draw/Text.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Utils.hs Graphics/HGL/Utils.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Window.hs Graphics/HGL/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL.hs Graphics/HGL.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/SOE.hs Graphics/SOE.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/X11/Display.hs Graphics/HGL/X11/Display.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/X11/DC.hs Graphics/HGL/X11/DC.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/X11/Timer.hs Graphics/HGL/X11/Timer.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/X11/Types.hs Graphics/HGL/X11/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/X11/Window.hs Graphics/HGL/X11/Window.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Event.hs Graphics/HGL/Internals/Event.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Events.hs Graphics/HGL/Internals/Events.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Draw.hs Graphics/HGL/Internals/Draw.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Types.hs Graphics/HGL/Internals/Types.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Flag.hs Graphics/HGL/Internals/Flag.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22776/Graphics/HGL/Internals/Utilities.hs Graphics/HGL/Internals/Utilities.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 Creating dist/doc/html/HGL/ (and its parents) /usr/local/bin/haddock --use-contents=/package/HGL-3.2.0.1 --prologue=dist/doc/html/HGL/haddock-prolog22776.txt --dump-interface=dist/doc/html/HGL/HGL.haddock --optghc=-package-name --optghc=HGL-3.2.0.1 --hide=Graphics.HGL.X11.Display --hide=Graphics.HGL.X11.DC --hide=Graphics.HGL.X11.Timer --hide=Graphics.HGL.X11.Types --hide=Graphics.HGL.X11.Window --hide=Graphics.HGL.Internals.Event --hide=Graphics.HGL.Internals.Events --hide=Graphics.HGL.Internals.Draw --hide=Graphics.HGL.Internals.Types --hide=Graphics.HGL.Internals.Flag --hide=Graphics.HGL.Internals.Utilities --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/X11/1.5.0.0/doc/html,/usr/local/tmp/archive/install/share/doc/X11-1.5.0.0/html/X11.haddock --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.1/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.1/base.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.1/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.1/integer-gmp.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 --odir=dist/doc/html/HGL/ --title=HGL-3.2.0.1: A simple graphics library based on X11 or Win32 --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-i. --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=X11-1.5.0.0-87011d3a15d7d77765d3e41c674b46ec --optghc=-package-id --optghc=array-0.3.0.0-c443d193ea1a8784bcbeef961d3b892a --optghc=-package-id --optghc=base-3.0.3.2-260693a92016991a03206b5a55f6a411 --optghc=-O --optghc=-XCPP -B/usr/local/lib/ghc-6.12.2 dist/build/tmp22776/Graphics/HGL/Core.hs dist/build/tmp22776/Graphics/HGL/Draw.hs dist/build/tmp22776/Graphics/HGL/Units.hs dist/build/tmp22776/Graphics/HGL/Key.hs dist/build/tmp22776/Graphics/HGL/Run.hs dist/build/tmp22776/Graphics/HGL/Draw/Brush.hs dist/build/tmp22776/Graphics/HGL/Draw/Font.hs dist/build/tmp22776/Graphics/HGL/Draw/Monad.hs dist/build/tmp22776/Graphics/HGL/Draw/Pen.hs dist/build/tmp22776/Graphics/HGL/Draw/Picture.hs dist/build/tmp22776/Graphics/HGL/Draw/Region.hs dist/build/tmp22776/Graphics/HGL/Draw/Text.hs dist/build/tmp22776/Graphics/HGL/Utils.hs dist/build/tmp22776/Graphics/HGL/Window.hs dist/build/tmp22776/Graphics/HGL.hs dist/build/tmp22776/Graphics/SOE.hs dist/build/tmp22776/Graphics/HGL/X11/Display.hs dist/build/tmp22776/Graphics/HGL/X11/DC.hs dist/build/tmp22776/Graphics/HGL/X11/Timer.hs dist/build/tmp22776/Graphics/HGL/X11/Types.hs dist/build/tmp22776/Graphics/HGL/X11/Window.hs dist/build/tmp22776/Graphics/HGL/Internals/Event.hs dist/build/tmp22776/Graphics/HGL/Internals/Events.hs dist/build/tmp22776/Graphics/HGL/Internals/Draw.hs dist/build/tmp22776/Graphics/HGL/Internals/Types.hs dist/build/tmp22776/Graphics/HGL/Internals/Flag.hs dist/build/tmp22776/Graphics/HGL/Internals/Utilities.hs Graphics/HGL/Internals/Utilities.hs:34:10: Couldn't match expected type `E.IOException' against inferred type `base:Control.OldException.Exception' Expected type: IO (Either E.IOException a) Inferred type: IO (Either base:Control.OldException.Exception a) In the expression: E.try In the definition of `safeTry': safeTry = E.try