*** setup configure Configuring network-2.2.1.2... Flags chosen: base4=True Dependency base ==4.*: using base-4.2.0.0 Dependency parsec -any: using parsec-3.1.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/network-2.2.1.2/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/network-2.2.1.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/network-2.2.1.2 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install configure: WARNING: Unrecognized options: --with-compiler checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 for an ANSI C-conforming const... yes 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for readlink... yes checking for symlink... yes checking for struct msghdr.msg_control... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for in_addr_t in netinet/in.h... yes checking for SO_PEERCRED and struct ucred in sys/socket.h... yes checking for getaddrinfo... yes checking whether AI_ADDRCONFIG is declared... yes checking whether AI_ALL is declared... yes checking whether AI_NUMERICSERV is declared... yes checking whether AI_V4MAPPED is declared... yes checking for sendfile in sys/sendfile.h... yes checking for sendfile in sys/socket.h... no checking for gethostent... yes configure: creating ./config.status config.status: creating network.buildinfo config.status: creating include/HsNetworkConfig.h config.status: include/HsNetworkConfig.h is unchanged configure: WARNING: Unrecognized options: --with-compiler Reading parameters from ./network.buildinfo *** setup haddock Reading parameters from ./network.buildinfo Running Haddock for network-2.2.1.2... /usr/local/bin/haddock --use-contents=/package/network-2.2.1.2 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library network-2.2.1.2... Running hscolour for network-2.2.1.2... Creating dist/doc/html/network (and its parents) Creating dist/doc/html/network/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/network/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network.html Network.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-BSD.html dist/build/Network/BSD.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-Socket-Internal.html dist/build/Network/Socket/Internal.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-Socket.html dist/build/Network/Socket.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-URI.html Network/URI.hs Warning: The documentation for the following packages are not installed. No links will be generated to these packages: 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/tmp22174/Network.hs Network.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DBASE4 -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22174/dist/build/Network/BSD.hs dist/build/Network/BSD.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DBASE4 -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22174/dist/build/Network/Socket/Internal.hs dist/build/Network/Socket/Internal.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DBASE4 -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22174/dist/build/Network/Socket.hs dist/build/Network/Socket.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DBASE4 -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp22174/Network/URI.hs Network/URI.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -DBASE4 -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE Creating dist/doc/html/network/ (and its parents) /usr/local/bin/haddock --use-contents=/package/network-2.2.1.2 --prologue=dist/doc/html/network/haddock-prolog22174.txt --dump-interface=dist/doc/html/network/network.haddock --optghc=-package-name --optghc=network-2.2.1.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/base.haddock --read-interface=/packages/archive/bytestring/0.9.1.6/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.6/html/bytestring.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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/mtl/1.1.0.2/doc/html,/usr/local/tmp/archive/install/share/doc/mtl-1.1.0.2/html/mtl.haddock --read-interface=/packages/archive/parsec/3.1.0/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-3.1.0/html/parsec.haddock --read-interface=/packages/archive/syb/0.1.0.3/doc/html,/usr/local/tmp/archive/install/share/doc/syb-0.1.0.3/html/syb.haddock --odir=dist/doc/html/network/ --title=network-2.2.1.2: Networking-related facilities --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=-Iinclude --optghc=-optP-DBASE4 --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=base-4.2.0.0-c9182baf5cf44f2e72b2298fa160086c --optghc=-package-id --optghc=parsec-3.1.0-1dde57682e33d9eb5ad523ff675c2cdb --optghc=-O --optghc=-DCALLCONV=ccall --optghc=-D_GNU_SOURCE --optghc=-XCPP -B/usr/local/lib/ghc-6.12.1 dist/build/tmp22174/Network.hs dist/build/tmp22174/dist/build/Network/BSD.hs dist/build/tmp22174/dist/build/Network/Socket/Internal.hs dist/build/tmp22174/dist/build/Network/Socket.hs dist/build/tmp22174/Network/URI.hs Network/Socket.hsc:1707:45: Not in scope: data constructor `System.Posix.Internals.Stream' *** Trying again with preferred-versions *** setup configure Configuring network-2.2.1.2... Flags chosen: base4=False Dependency base <4: using base-3.0.3.2 Dependency parsec <3: using parsec-2.1.0.1 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/network-2.2.1.2/ghc-6.12.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/network-2.2.1.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/network-2.2.1.2 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 sh configure --with-compiler=ghc --prefix=/usr/local/tmp/archive/install configure: WARNING: Unrecognized options: --with-compiler checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu 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 for an ANSI C-conforming const... yes 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking for readlink... yes checking for symlink... yes checking for struct msghdr.msg_control... yes checking for struct msghdr.msg_accrights... no checking for struct sockaddr.sa_len... no checking for in_addr_t in netinet/in.h... yes checking for SO_PEERCRED and struct ucred in sys/socket.h... yes checking for getaddrinfo... yes checking whether AI_ADDRCONFIG is declared... yes checking whether AI_ALL is declared... yes checking whether AI_NUMERICSERV is declared... yes checking whether AI_V4MAPPED is declared... yes checking for sendfile in sys/sendfile.h... yes checking for sendfile in sys/socket.h... no checking for gethostent... yes configure: creating ./config.status config.status: creating network.buildinfo config.status: creating include/HsNetworkConfig.h config.status: include/HsNetworkConfig.h is unchanged configure: WARNING: Unrecognized options: --with-compiler Reading parameters from ./network.buildinfo *** setup haddock Reading parameters from ./network.buildinfo Running Haddock for network-2.2.1.2... /usr/local/bin/haddock --use-contents=/package/network-2.2.1.2 --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library network-2.2.1.2... Running hscolour for network-2.2.1.2... Creating dist/doc/html/network (and its parents) Creating dist/doc/html/network/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/network/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network.html Network.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-BSD.html dist/build/Network/BSD.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-Socket-Internal.html dist/build/Network/Socket/Internal.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-Socket.html dist/build/Network/Socket.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/network/src/Network-URI.html Network/URI.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/tmp23739/Network.hs Network.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp23739/dist/build/Network/BSD.hs dist/build/Network/BSD.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp23739/dist/build/Network/Socket/Internal.hs dist/build/Network/Socket/Internal.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp23739/dist/build/Network/Socket.hs dist/build/Network/Socket.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE /usr/local/bin/ghc -E -cpp -x hs -optP-include -optPdist/build/autogen/cabal_macros.h -o dist/build/tmp23739/Network/URI.hs Network/URI.hs -Dlinux_BUILD_OS -Dlinux_HOST_OS -Di386_BUILD_ARCH -Di386_HOST_ARCH -D__GLASGOW_HASKELL__=612 -Iinclude -DCALLCONV=ccall -D_GNU_SOURCE Creating dist/doc/html/network/ (and its parents) /usr/local/bin/haddock --use-contents=/package/network-2.2.1.2 --prologue=dist/doc/html/network/haddock-prolog23739.txt --dump-interface=dist/doc/html/network/network.haddock --optghc=-package-name --optghc=network-2.2.1.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/base/4.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.2.0.0/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.0/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.0/integer-gmp.haddock --read-interface=/packages/archive/parsec/2.1.0.1/doc/html,/usr/local/tmp/archive/install/share/doc/parsec-2.1.0.1/html/parsec.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/network/ --title=network-2.2.1.2: Networking-related facilities --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=-Iinclude --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=base-3.0.3.2-52acef427378232ec569bca0486ee48f --optghc=-package-id --optghc=parsec-2.1.0.1-190ec41e7316b7eb7fddf355acddd826 --optghc=-O --optghc=-DCALLCONV=ccall --optghc=-D_GNU_SOURCE --optghc=-XCPP -B/usr/local/lib/ghc-6.12.1 dist/build/tmp23739/Network.hs dist/build/tmp23739/dist/build/Network/BSD.hs dist/build/tmp23739/dist/build/Network/Socket/Internal.hs dist/build/tmp23739/dist/build/Network/Socket.hs dist/build/tmp23739/Network/URI.hs Network/Socket.hsc:1707:45: Not in scope: data constructor `System.Posix.Internals.Stream'