*** setup configure Configuring ghc-core-0.4... Dependency base -any: using base-4.1.0.0 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency hscolour >=1.10: using hscolour-1.12 Dependency pcre-light -any: using pcre-light-0.3.1 Dependency process -any: using process-1.0.1.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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/ghc-core-0.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ghc-core-0.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ghc-core-0.4 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.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.9 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 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 build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for ghc-core-0.4... Building ghc-core-0.4... Building executable: ghc-core... Creating dist/build/ghc-core (and its parents) Creating dist/build/ghc-core/ghc-core-tmp (and its parents) /usr/local/bin/ghc -o dist/build/ghc-core/ghc-core --make -hide-all-packages -i -idist/build/ghc-core/ghc-core-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/ghc-core/ghc-core-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/ghc-core/ghc-core-tmp -hidir dist/build/ghc-core/ghc-core-tmp -stubdir dist/build/ghc-core/ghc-core-tmp -package base-4.1.0.0 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package hscolour-1.12 -package pcre-light-0.3.1 -package process-1.0.1.1 -O -Wall -XPatternGuards ./ghc-core.hs [1 of 1] Compiling Main ( ghc-core.hs, dist/build/ghc-core/ghc-core-tmp/Main.o ) ghc-core.hs:120:29: Ambiguous occurrence `readProcess' It could refer to either `Main.readProcess', defined at ghc-core.hs:220:0 or `System.Process.readProcess', imported from System.Process at ghc-core.hs:37:0-20 ghc-core.hs:200:9: Ambiguous occurrence `readProcess' It could refer to either `Main.readProcess', defined at ghc-core.hs:220:0 or `System.Process.readProcess', imported from System.Process at ghc-core.hs:37:0-20 ghc-core.hs:244:13: Not in scope: data constructor `C.ExitException' *** Trying again with preferred-versions *** setup configure Configuring ghc-core-0.4... Dependency base -any && <4: using base-3.0.3.1 Dependency directory -any: using directory-1.0.0.3 Dependency filepath -any: using filepath-1.1.0.2 Dependency hscolour >=1.10: using hscolour-1.12 Dependency pcre-light -any: using pcre-light-0.3.1 Dependency process -any: using process-1.0.1.1 Using Cabal-1.6.0.1 compiled by ghc-6.8 Using compiler: ghc-6.10.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/ghc-core-0.4/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/ghc-core-0.4 Documentation installed in: /usr/local/tmp/archive/install/share/doc/ghc-core-0.4 Using alex version 2.2 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar Using c2hs version 0.15.1 found on system at: /usr/local/bin/c2hs Using cpphs version 0.7 found on system at: /usr/bin/cpphs Using ffihugs found on system at: /usr/local/bin/ffihugs Using gcc version 4.3.3 found on system at: /usr/bin/gcc Using ghc version 6.10.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.10.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.4.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.9 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 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 build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing executables for ghc-core-0.4... Building ghc-core-0.4... Building executable: ghc-core... Creating dist/build/ghc-core (and its parents) Creating dist/build/ghc-core/ghc-core-tmp (and its parents) /usr/local/bin/ghc -o dist/build/ghc-core/ghc-core --make -hide-all-packages -i -idist/build/ghc-core/ghc-core-tmp -i. -idist/build/autogen -Idist/build/autogen -Idist/build/ghc-core/ghc-core-tmp -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build/ghc-core/ghc-core-tmp -hidir dist/build/ghc-core/ghc-core-tmp -stubdir dist/build/ghc-core/ghc-core-tmp -package base-3.0.3.1 -package directory-1.0.0.3 -package filepath-1.1.0.2 -package hscolour-1.12 -package pcre-light-0.3.1 -package process-1.0.1.1 -O -Wall -XPatternGuards ./ghc-core.hs [1 of 1] Compiling Main ( ghc-core.hs, dist/build/ghc-core/ghc-core-tmp/Main.o ) ghc-core.hs:120:29: Ambiguous occurrence `readProcess' It could refer to either `Main.readProcess', defined at ghc-core.hs:220:0 or `System.Process.readProcess', imported from System.Process at ghc-core.hs:37:0-20 ghc-core.hs:200:9: Ambiguous occurrence `readProcess' It could refer to either `Main.readProcess', defined at ghc-core.hs:220:0 or `System.Process.readProcess', imported from System.Process at ghc-core.hs:37:0-20