*** setup configure Configuring unix-2.2.0.0... Dependency base -any: using base-4.1.0.0 Dependency directory -any: using directory-1.0.0.3 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/unix-2.2.0.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/unix-2.2.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/unix-2.2.0.0 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for an ANSI C-conforming const... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for string.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getpwnam... yes checking for getpwuid... yes checking for getpwent... yes checking for getgrent... yes checking for lchown... yes checking for setenv... yes checking for sysconf... yes checking for unsetenv... yes checking for nanosleep... yes checking for ptsname... yes checking for setitimer... yes checking for shm_open... no checking for shm_unlink... no checking value of SIGABRT... 6 checking value of SIGALRM... 14 checking value of SIGBUS... 7 checking value of SIGCHLD... 17 checking value of SIGCONT... 18 checking value of SIGFPE... 8 checking value of SIGHUP... 1 checking value of SIGILL... 4 checking value of SIGINT... 2 checking value of SIGKILL... 9 checking value of SIGPIPE... 13 checking value of SIGQUIT... 3 checking value of SIGSEGV... 11 checking value of SIGSTOP... 19 checking value of SIGTERM... 15 checking value of SIGTSTP... 20 checking value of SIGTTIN... 21 checking value of SIGTTOU... 22 checking value of SIGUSR1... 10 checking value of SIGUSR2... 12 checking value of SIGPOLL... 29 checking value of SIGPROF... 27 checking value of SIGSYS... 31 checking value of SIGTRAP... 5 checking value of SIGURG... 23 checking value of SIGVTALRM... 26 checking value of SIGXCPU... 24 checking value of SIGXFSZ... 25 checking value of SIG_BLOCK... 0 checking value of SIG_SETMASK... 2 checking value of SIG_UNBLOCK... 1 checking for _SC_GETGR_R_SIZE_MAX... yes checking for _SC_GETPW_R_SIZE_MAX... yes checking return type of usleep... int checking for RTLD_NEXT from dlfcn.h... no checking for RTLD_DEFAULT from dlfcn.h... no checking for RTLD_LOCAL from dlfcn.h... yes checking for RTLD_GLOBAL from dlfcn.h... yes checking for RTLD_NOW from dlfcn.h... yes checking for openpty... no checking for openpty in -lutil... yes checking for /dev/ptmx... yes checking for /dev/ptc... no checking for dlopen in -ldl... yes configure: creating ./config.status config.status: creating unix.buildinfo config.status: creating include/HsUnixConfig.h config.status: include/HsUnixConfig.h is unchanged *** setup build Reading parameters from ./unix.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library unix-2.2.0.0... Creating dist/build/System/Posix/DynamicLinker (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/DynamicLinker/Module.hs System/Posix/DynamicLinker/Module.hsc Creating dist/build/System/Posix/DynamicLinker (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/DynamicLinker/Prim.hs System/Posix/DynamicLinker/Prim.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Directory.hs System/Posix/Directory.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/DynamicLinker.hs System/Posix/DynamicLinker.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Env.hs System/Posix/Env.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Files.hs System/Posix/Files.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/IO.hs System/Posix/IO.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Process.hs System/Posix/Process.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Resource.hs System/Posix/Resource.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Temp.hs System/Posix/Temp.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Terminal.hs System/Posix/Terminal.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Time.hs System/Posix/Time.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Unistd.hs System/Posix/Unistd.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/User.hs System/Posix/User.hsc Creating dist/build/System/Posix/Signals (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Signals/Exts.hs System/Posix/Signals/Exts.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/Semaphore.hs System/Posix/Semaphore.hsc Creating dist/build/System/Posix (and its parents) /usr/local/bin/hsc2hs --cc=/usr/bin/gcc --ld=/usr/bin/gcc --cflag=-D__GLASGOW_HASKELL__=610 --cflag=-Iinclude --lflag=-lutil --lflag=-ldl --cflag=-I/usr/local/lib/ghc-6.10.2/directory-1.0.0.3/include --cflag=-I/usr/local/lib/ghc-6.10.2/unix-2.3.2.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2/include --cflag=-I/usr/local/lib/ghc-6.10.2/base-4.1.0.0/include --cflag=-I/usr/local/lib/ghc-6.10.2/include --cflag=-IPAPI_INCLUDE_DIR --lflag=-L/usr/local/lib/ghc-6.10.2/directory-1.0.0.3 --lflag=-L/usr/local/lib/ghc-6.10.2/unix-2.3.2.0 --lflag=-lrt --lflag=-lutil --lflag=-ldl --lflag=-L/usr/local/lib/ghc-6.10.2/old-time-1.0.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/old-locale-1.0.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/filepath-1.1.0.2 --lflag=-L/usr/local/lib/ghc-6.10.2/base-4.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2/integer-0.1.0.1 --lflag=-L/usr/local/lib/ghc-6.10.2/ghc-prim-0.1.0.0 --lflag=-L/usr/local/lib/ghc-6.10.2 --lflag=-lm --lflag=-lffi --lflag=-lgmp --lflag=-ldl --lflag=-lrt -o dist/build/System/Posix/SharedMem.hs System/Posix/SharedMem.hsc Building unix-2.2.0.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name unix-2.2.0.0 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -#include "HsUnix.h" -#include "execvpe.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-4.1.0.0 -package directory-1.0.0.3 -O -XCPP -XForeignFunctionInterface System.Posix System.Posix.DynamicLinker.Module System.Posix.DynamicLinker.Prim System.Posix.Directory System.Posix.DynamicLinker System.Posix.Env System.Posix.Error System.Posix.Files System.Posix.IO System.Posix.Process System.Posix.Process.Internals System.Posix.Resource System.Posix.Temp System.Posix.Terminal System.Posix.Time System.Posix.Unistd System.Posix.User System.Posix.Signals System.Posix.Signals.Exts System.Posix.Semaphore System.Posix.SharedMem System/Posix/DynamicLinker/Module.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/DynamicLinker/Prim.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Directory.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Env.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Files.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/IO.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Process.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Temp.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Terminal.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Time.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Unistd.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/User.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Signals/Exts.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Semaphore.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/SharedMem.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead [ 1 of 21] Compiling System.Posix.Signals ( System/Posix/Signals.hs, dist/build/System/Posix/Signals.o ) [ 2 of 21] Compiling System.Posix.Signals.Exts ( dist/build/System/Posix/Signals/Exts.hs, dist/build/System/Posix/Signals/Exts.o ) [ 3 of 21] Compiling System.Posix.User ( dist/build/System/Posix/User.hs, dist/build/System/Posix/User.o ) [ 4 of 21] Compiling System.Posix.Unistd ( dist/build/System/Posix/Unistd.hs, dist/build/System/Posix/Unistd.o ) [ 5 of 21] Compiling System.Posix.Time ( dist/build/System/Posix/Time.hs, dist/build/System/Posix/Time.o ) [ 6 of 21] Compiling System.Posix.Resource ( dist/build/System/Posix/Resource.hs, dist/build/System/Posix/Resource.o ) [ 7 of 21] Compiling System.Posix.Process.Internals ( System/Posix/Process/Internals.hs, dist/build/System/Posix/Process/Internals.o ) [ 8 of 21] Compiling System.Posix.Error ( System/Posix/Error.hs, dist/build/System/Posix/Error.o ) [ 9 of 21] Compiling System.Posix.Files ( dist/build/System/Posix/Files.hs, dist/build/System/Posix/Files.o ) System/Posix/Files.hsc:503:42: Not in scope: `c_rename' *** Trying again with preferred-versions *** setup configure Configuring unix-2.2.0.0... Dependency base -any && <4: using base-3.0.3.1 Dependency directory -any: using directory-1.0.0.3 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/unix-2.2.0.0/ghc-6.10.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/unix-2.2.0.0 Documentation installed in: /usr/local/tmp/archive/install/share/doc/unix-2.2.0.0 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for an ANSI C-conforming const... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for string.h... (cached) yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/stat.h... (cached) yes checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for getgrgid_r... yes checking for getgrnam_r... yes checking for getpwnam_r... yes checking for getpwuid_r... yes checking for getpwnam... yes checking for getpwuid... yes checking for getpwent... yes checking for getgrent... yes checking for lchown... yes checking for setenv... yes checking for sysconf... yes checking for unsetenv... yes checking for nanosleep... yes checking for ptsname... yes checking for setitimer... yes checking for shm_open... no checking for shm_unlink... no checking value of SIGABRT... 6 checking value of SIGALRM... 14 checking value of SIGBUS... 7 checking value of SIGCHLD... 17 checking value of SIGCONT... 18 checking value of SIGFPE... 8 checking value of SIGHUP... 1 checking value of SIGILL... 4 checking value of SIGINT... 2 checking value of SIGKILL... 9 checking value of SIGPIPE... 13 checking value of SIGQUIT... 3 checking value of SIGSEGV... 11 checking value of SIGSTOP... 19 checking value of SIGTERM... 15 checking value of SIGTSTP... 20 checking value of SIGTTIN... 21 checking value of SIGTTOU... 22 checking value of SIGUSR1... 10 checking value of SIGUSR2... 12 checking value of SIGPOLL... 29 checking value of SIGPROF... 27 checking value of SIGSYS... 31 checking value of SIGTRAP... 5 checking value of SIGURG... 23 checking value of SIGVTALRM... 26 checking value of SIGXCPU... 24 checking value of SIGXFSZ... 25 checking value of SIG_BLOCK... 0 checking value of SIG_SETMASK... 2 checking value of SIG_UNBLOCK... 1 checking for _SC_GETGR_R_SIZE_MAX... yes checking for _SC_GETPW_R_SIZE_MAX... yes checking return type of usleep... int checking for RTLD_NEXT from dlfcn.h... no checking for RTLD_DEFAULT from dlfcn.h... no checking for RTLD_LOCAL from dlfcn.h... yes checking for RTLD_GLOBAL from dlfcn.h... yes checking for RTLD_NOW from dlfcn.h... yes checking for openpty... no checking for openpty in -lutil... yes checking for /dev/ptmx... yes checking for /dev/ptc... no checking for dlopen in -ldl... yes configure: creating ./config.status config.status: creating unix.buildinfo config.status: creating include/HsUnixConfig.h config.status: include/HsUnixConfig.h is unchanged *** setup build Reading parameters from ./unix.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library unix-2.2.0.0... Building unix-2.2.0.0... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name unix-2.2.0.0 --make -hide-all-packages -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -Iinclude -optP-include -optPdist/build/autogen/cabal_macros.h -#include "HsUnix.h" -#include "execvpe.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.3.1 -package directory-1.0.0.3 -O -XCPP -XForeignFunctionInterface System.Posix System.Posix.DynamicLinker.Module System.Posix.DynamicLinker.Prim System.Posix.Directory System.Posix.DynamicLinker System.Posix.Env System.Posix.Error System.Posix.Files System.Posix.IO System.Posix.Process System.Posix.Process.Internals System.Posix.Resource System.Posix.Temp System.Posix.Terminal System.Posix.Time System.Posix.Unistd System.Posix.User System.Posix.Signals System.Posix.Signals.Exts System.Posix.Semaphore System.Posix.SharedMem System/Posix/DynamicLinker/Module.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/DynamicLinker/Prim.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Directory.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Env.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Files.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/IO.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Process.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Temp.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Terminal.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Time.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Unistd.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/User.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Signals/Exts.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/Semaphore.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead System/Posix/SharedMem.hsc:1:11: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface#-} instead [ 1 of 21] Compiling System.Posix.Signals ( System/Posix/Signals.hs, dist/build/System/Posix/Signals.o ) [ 2 of 21] Compiling System.Posix.Signals.Exts ( dist/build/System/Posix/Signals/Exts.hs, dist/build/System/Posix/Signals/Exts.o ) [ 3 of 21] Compiling System.Posix.User ( dist/build/System/Posix/User.hs, dist/build/System/Posix/User.o ) [ 4 of 21] Compiling System.Posix.Unistd ( dist/build/System/Posix/Unistd.hs, dist/build/System/Posix/Unistd.o ) [ 5 of 21] Compiling System.Posix.Time ( dist/build/System/Posix/Time.hs, dist/build/System/Posix/Time.o ) [ 6 of 21] Compiling System.Posix.Resource ( dist/build/System/Posix/Resource.hs, dist/build/System/Posix/Resource.o ) [ 7 of 21] Compiling System.Posix.Process.Internals ( System/Posix/Process/Internals.hs, dist/build/System/Posix/Process/Internals.o ) [ 8 of 21] Compiling System.Posix.Error ( System/Posix/Error.hs, dist/build/System/Posix/Error.o ) [ 9 of 21] Compiling System.Posix.Files ( dist/build/System/Posix/Files.hs, dist/build/System/Posix/Files.o ) System/Posix/Files.hsc:503:42: Not in scope: `c_rename'