*** setup configure Configuring curl-1.3.2... Flags chosen: new-base=True Dependency base>=3: using base-3.0.1.0 Dependency containers-any: using containers-0.1.0.1 Dependency base-any: using base-3.0.1.0 Using compiler: ghc-6.8.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/curl-1.3.2/ghc-6.8.2 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/curl-1.3.2 Documentation installed in: /usr/local/tmp/archive/install/share/doc/curl-1.3.2 Using alex version 2.0.1 found on system at: /usr/local/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 ghc version 6.8.2 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.2 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.1.0 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.66-ghc 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E configure: creating ./config.status config.status: creating curl.buildinfo *** setup build Reading parameters from /usr/local/tmp/archive/build/curl-1.3.2/curl.buildinfo Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... Building curl-1.3.2... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name curl-1.3.2 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.1.0 -package containers-0.1.0.1 -package base-3.0.1.0 -O -Wall -fvia-C -XCPP -XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug [1 of 8] Compiling Network.Curl.Debug ( Network/Curl/Debug.hs, dist/build/Network/Curl/Debug.o ) [2 of 8] Compiling Network.Curl.Types ( Network/Curl/Types.hs, dist/build/Network/Curl/Types.o ) [3 of 8] Compiling Network.Curl.Post ( Network/Curl/Post.hs, dist/build/Network/Curl/Post.o ) [4 of 8] Compiling Network.Curl.Opts ( Network/Curl/Opts.hs, dist/build/Network/Curl/Opts.o ) [5 of 8] Compiling Network.Curl.Code ( Network/Curl/Code.hs, dist/build/Network/Curl/Code.o ) [6 of 8] Compiling Network.Curl.Info ( Network/Curl/Info.hs, dist/build/Network/Curl/Info.o ) [7 of 8] Compiling Network.Curl.Easy ( Network/Curl/Easy.hs, dist/build/Network/Curl/Easy.o ) Warning: retaining unknown function `_curl_easy_setopt_err_long' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_curl_off_t' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_string' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_write_callback' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_read_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_ioctl_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_sockopt_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_opensocket_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_progress_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_debug_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_ssl_ctx_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_conv_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_seek_cb' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_cb_data' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_error_buffer' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_FILE' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_postfields' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_curl_httpost' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_curl_slist' in output from C compiler Warning: retaining unknown function `_curl_easy_setopt_err_CURLSH' in output from C compiler [8 of 8] Compiling Network.Curl ( Network/Curl.hs, dist/build/Network/Curl.o ) Linking... /usr/bin/ar q dist/build/libHScurl-1.3.2.a dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o /usr/bin/ar: creating dist/build/libHScurl-1.3.2.a /usr/bin/ld -x -r -o dist/build/HScurl-1.3.2.o.tmp dist/build/Network/Curl.o dist/build/Network/Curl/Code.o dist/build/Network/Curl/Info.o dist/build/Network/Curl/Opts.o dist/build/Network/Curl/Post.o dist/build/Network/Curl/Types.o dist/build/Network/Curl/Easy.o dist/build/Network/Curl/Debug.o dist/build/Network/Curl/Types_stub.o dist/build/Network/Curl/Easy_stub.o *** setup haddock Reading parameters from /usr/local/tmp/archive/build/curl-1.3.2/curl.buildinfo Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running hscolour for curl-1.3.2... Creating dist/doc/html/curl/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/curl/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl.html Network/Curl.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Code.html Network/Curl/Code.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Info.html Network/Curl/Info.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Opts.html Network/Curl/Opts.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Post.html Network/Curl/Post.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Types.html Network/Curl/Types.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Easy.html Network/Curl/Easy.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/curl/src/Network-Curl-Debug.html Network/Curl/Debug.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/curl (and its parents) Preprocessing library curl-1.3.2... Running Haddock for curl-1.3.2... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library curl-1.3.2... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 --html --odir=dist/doc/html/curl --title=curl-1.3.2: Haskell binding to libcurl --dump-interface=dist/doc/html/curl/curl.haddock --prologue=dist/curl-1.3.2-haddock-prolog27432.txt --optghc=-package-name --optghc=curl-1.3.2 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/containers/0.1.0.1/doc/html,/usr/local/share/doc/ghc/libraries/containers/containers.haddock --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.1.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/curl-1.3.2 -B/usr/local/lib/ghc-6.8.2 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.1.0 --optghc=-package --optghc=containers-0.1.0.1 --optghc=-package --optghc=base-3.0.1.0 --optghc=-i --optghc=-Wall --optghc=-fvia-C --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP --optghc=-XForeignFunctionInterface Network.Curl Network.Curl.Code Network.Curl.Info Network.Curl.Opts Network.Curl.Post Network.Curl.Types Network.Curl.Easy Network.Curl.Debug Network/Curl/Opts.hs:233:15: parse error on input `-- ^ pointer to external buffer holding data' haddock: Failed to check module: Network.Curl.Opts