*** setup configure Configuring download-0.1... Dependency base-any: using base-3.0.2.0 Dependency bytestring-any: using bytestring-0.9.1.3 Dependency tagsoup-any: using tagsoup-0.6 Using compiler: ghc-6.8.3 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/download-0.1/ghc-6.8.3 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/download-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/download-0.1 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 ghc version 6.8.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 6.8.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.3.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 *** setup build Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library download-0.1... Creating dist/build/Network (and its parents) /usr/local/bin/hsc2hs --cc=/usr/local/bin/ghc --ld=/usr/local/bin/ghc --cflag=-optc-O2 --cflag=-optc-pipe --cflag=-optc-DINET6 --cflag=-optc-D_GNU_SOURCE --cflag=-optc-D_FILE_OFFSET_BITS=64 --cflag=-optc-Wall --cflag=-optc-Wstrict-prototypes --cflag=-optc-Wsign-compare --cflag=-optc-Wchar-subscripts --cflag=-optc-Wpointer-arith --cflag=-optc-Wcast-align --cflag=-optc-UDEBUG --cflag=-package --cflag=base-3.0.2.0 --cflag=-package --cflag=bytestring-0.9.1.3 --cflag=-package --cflag=tagsoup-0.6 --cflag=-Icbits -o dist/build/Network/Download.hs Network/Download.hsc Building download-0.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc -package-name download-0.1 --make -hide-all-packages -i -idist/build/autogen -idist/build -i. -Idist/build -Icbits -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -#include "common.h" -#include "download.h" -#include "ftperr.h" -#include "httperr.h" -#include "hs_download_utils.h" -odir dist/build -hidir dist/build -stubdir dist/build -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -O -Wall -fvia-C -XCPP -XForeignFunctionInterface -XGeneralizedNewtypeDeriving Network.Download [1 of 1] Compiling Network.Download ( dist/build/Network/Download.hs, dist/build/Network/Download.o ) Network/Download.hsc:40:0: Warning: Module `Data.ByteString' is imported, but nothing from it is used, except perhaps instances visible in `Data.ByteString' To suppress this warning, use: import Data.ByteString() Network/Download.hsc:41:0: Warning: Module `Data.ByteString.Unsafe' is imported, but nothing from it is used, except perhaps instances visible in `Data.ByteString.Unsafe' To suppress this warning, use: import Data.ByteString.Unsafe() Network/Download.hsc:79:19: Warning: This binding for `s' shadows an existing binding In a case alternative Network/Download.hsc:101:12: Warning: Defined but not used: data constructor `URL_' Network/Download.hsc:188:28: Warning: This binding for `fp' shadows an existing binding In a pattern binding in a 'do' expression Network/Download.hsc:208:28: Warning: This binding for `fp' shadows an existing binding In a pattern binding in a 'do' expression Network/Download.hsc:247:0: Warning: Defined but not used: `version' Network/Download.hsc:254:0: Warning: Defined but not used: `url_schemelen' Network/Download.hsc:256:0: Warning: Defined but not used: `url_userlen' Network/Download.hsc:258:0: Warning: Defined but not used: `url_pwdlen' Network/Download.hsc:261:17: Warning: Defined but not used: data constructor `Scheme' Network/Download.hsc:261:26: Warning: Defined but not used: `unScheme' Network/Download.hsc:265:0: Warning: Defined but not used: `scheme_ftp' Network/Download.hsc:266:0: Warning: Defined but not used: `scheme_http' Network/Download.hsc:267:0: Warning: Defined but not used: `scheme_https' Network/Download.hsc:268:0: Warning: Defined but not used: `scheme_file' Network/Download.hsc:272:28: Warning: Defined but not used: `unDLError' Network/Download.hsc:278:0: Warning: Defined but not used: `dlerr_abort' Network/Download.hsc:280:0: Warning: Defined but not used: `dlerr_auth' Network/Download.hsc:282:0: Warning: Defined but not used: `dlerr_down' Network/Download.hsc:284:0: Warning: Defined but not used: `dlerr_exists' Network/Download.hsc:286:0: Warning: Defined but not used: `dlerr_full' Network/Download.hsc:288:0: Warning: Defined but not used: `dlerr_info' Network/Download.hsc:290:0: Warning: Defined but not used: `dlerr_memory' Network/Download.hsc:292:0: Warning: Defined but not used: `dlerr_moved' Network/Download.hsc:294:0: Warning: Defined but not used: `dlerr_network' Network/Download.hsc:296:0: Warning: Defined but not used: `dlerr_ok' Network/Download.hsc:298:0: Warning: Defined but not used: `dlerr_proto' Network/Download.hsc:300:0: Warning: Defined but not used: `dlerr_resolv' Network/Download.hsc:302:0: Warning: Defined but not used: `dlerr_server' Network/Download.hsc:304:0: Warning: Defined but not used: `dlerr_temp' Network/Download.hsc:306:0: Warning: Defined but not used: `dlerr_timeout' Network/Download.hsc:308:0: Warning: Defined but not used: `dlerr_unavail' Network/Download.hsc:310:0: Warning: Defined but not used: `dlerr_unknown' Network/Download.hsc:312:0: Warning: Defined but not used: `dlerr_url' Network/Download.hsc:314:0: Warning: Defined but not used: `dlerr_verbose' In file included from /tmp/ghc11329_0/ghc11329_0.hc:4:0: /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:269:0: warning: function declaration isn't a prototype /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:279:0: warning: function declaration isn't a prototype /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:285:0: warning: function declaration isn't a prototype /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:291:0: warning: function declaration isn't a prototype /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:301:0: warning: function declaration isn't a prototype /usr/local/lib/ghc-6.8.3/lib/base-3.0.2.0/include/HsBase.h:743:0: warning: function declaration isn't a prototype In file included from /tmp/ghc11329_0/ghc11329_0.hc:7:0: cbits/common.h:97:0: warning: 'struct url' declared inside parameter list cbits/common.h:97:0: warning: its scope is only this definition or declaration, which is probably not what you want In file included from /tmp/ghc11329_0/ghc11329_0.hc:11:0: cbits/hs_download_utils.h:3:0: warning: function declaration isn't a prototype cbits/hs_download_utils.h:4:0: warning: function declaration isn't a prototype In file included from /tmp/ghc11329_0/ghc11329_0.hc:13:0: cbits/hs_download_utils.h:3:0: warning: function declaration isn't a prototype cbits/hs_download_utils.h:4:0: warning: function declaration isn't a prototype /tmp/ghc11329_0/ghc11329_0.hc: In function 's2X6_ret': /tmp/ghc11329_0/ghc11329_0.hc:36:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2XB_ret': /tmp/ghc11329_0/ghc11329_0.hc:126:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2FZ_entry': /tmp/ghc11329_0/ghc11329_0.hc:146:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'r2DC_entry': /tmp/ghc11329_0/ghc11329_0.hc:207:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a1_entry': /tmp/ghc11329_0/ghc11329_0.hc:275:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a2_entry': /tmp/ghc11329_0/ghc11329_0.hc:306:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a3_entry': /tmp/ghc11329_0/ghc11329_0.hc:337:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a4_entry': /tmp/ghc11329_0/ghc11329_0.hc:368:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a5_entry': /tmp/ghc11329_0/ghc11329_0.hc:399:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Gr_entry': /tmp/ghc11329_0/ghc11329_0.hc:441:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Gv_entry': /tmp/ghc11329_0/ghc11329_0.hc:471:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2GE_entry': /tmp/ghc11329_0/ghc11329_0.hc:498:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2GG_entry': /tmp/ghc11329_0/ghc11329_0.hc:525:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdwshowsPrec_entry': /tmp/ghc11329_0/ghc11329_0.hc:560:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a7_entry': /tmp/ghc11329_0/ghc11329_0.hc:601:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a8_entry': /tmp/ghc11329_0/ghc11329_0.hc:632:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's30F_ret': /tmp/ghc11329_0/ghc11329_0.hc:667:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2GX_entry': /tmp/ghc11329_0/ghc11329_0.hc:688:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2GZ_entry': /tmp/ghc11329_0/ghc11329_0.hc:715:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2H8_entry': /tmp/ghc11329_0/ghc11329_0.hc:742:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Ha_entry': /tmp/ghc11329_0/ghc11329_0.hc:769:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdwshowsPrec1_entry': /tmp/ghc11329_0/ghc11329_0.hc:804:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a9_entry': /tmp/ghc11329_0/ghc11329_0.hc:845:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Hl_entry': /tmp/ghc11329_0/ghc11329_0.hc:874:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Hp_entry': /tmp/ghc11329_0/ghc11329_0.hc:901:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Hr_entry': /tmp/ghc11329_0/ghc11329_0.hc:928:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdwshowsPrec2_entry': /tmp/ghc11329_0/ghc11329_0.hc:961:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'r2E4_entry': /tmp/ghc11329_0/ghc11329_0.hc:1002:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'r2E6_entry': /tmp/ghc11329_0/ghc11329_0.hc:1033:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdf3_entry': /tmp/ghc11329_0/ghc11329_0.hc:1063:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdf1_entry': /tmp/ghc11329_0/ghc11329_0.hc:1093:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's33D_ret': /tmp/ghc11329_0/ghc11329_0.hc:1241:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Jf_entry': /tmp/ghc11329_0/ghc11329_0.hc:1262:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's33B_ret': /tmp/ghc11329_0/ghc11329_0.hc:1312:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2JB_entry': /tmp/ghc11329_0/ghc11329_0.hc:1333:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's33v_ret': /tmp/ghc11329_0/ghc11329_0.hc:1441:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2JS_entry': /tmp/ghc11329_0/ghc11329_0.hc:1461:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'r2Eg_entry': /tmp/ghc11329_0/ghc11329_0.hc:1691:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2N4_entry': /tmp/ghc11329_0/ghc11329_0.hc:1783:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's37q_ret': /tmp/ghc11329_0/ghc11329_0.hc:1945:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2M2_entry': /tmp/ghc11329_0/ghc11329_0.hc:1966:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's37o_ret': /tmp/ghc11329_0/ghc11329_0.hc:2016:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Mo_entry': /tmp/ghc11329_0/ghc11329_0.hc:2037:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's37i_ret': /tmp/ghc11329_0/ghc11329_0.hc:2145:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2MF_entry': /tmp/ghc11329_0/ghc11329_0.hc:2165:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2MH_entry': /tmp/ghc11329_0/ghc11329_0.hc:2365:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2MK_entry': /tmp/ghc11329_0/ghc11329_0.hc:2386:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'r2Ei_entry': /tmp/ghc11329_0/ghc11329_0.hc:2472:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Nv_entry': /tmp/ghc11329_0/ghc11329_0.hc:2514:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Nz_entry': /tmp/ghc11329_0/ghc11329_0.hc:2534:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2O9_entry': /tmp/ghc11329_0/ghc11329_0.hc:2615:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Oc_entry': /tmp/ghc11329_0/ghc11329_0.hc:2638:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Op_entry': /tmp/ghc11329_0/ghc11329_0.hc:2658:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2Ot_ret': /tmp/ghc11329_0/ghc11329_0.hc:2687:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3cb_ret': /tmp/ghc11329_0/ghc11329_0.hc:2729:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3ca_ret': /tmp/ghc11329_0/ghc11329_0.hc:2764:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a10_entry': /tmp/ghc11329_0/ghc11329_0.hc:2790:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdwa2_entry': /tmp/ghc11329_0/ghc11329_0.hc:2845:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2PC_entry': /tmp/ghc11329_0/ghc11329_0.hc:2923:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3ep_ret': /tmp/ghc11329_0/ghc11329_0.hc:2960:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc:2963:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2PE_entry': /tmp/ghc11329_0/ghc11329_0.hc:2983:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a11_entry': /tmp/ghc11329_0/ghc11329_0.hc:3026:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zdwa3_entry': /tmp/ghc11329_0/ghc11329_0.hc:3081:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2QN_entry': /tmp/ghc11329_0/ghc11329_0.hc:3161:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2QV_entry': /tmp/ghc11329_0/ghc11329_0.hc:3209:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3fD_ret': /tmp/ghc11329_0/ghc11329_0.hc:3244:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc:3247:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2QX_entry': /tmp/ghc11329_0/ghc11329_0.hc:3267:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_a12_entry': /tmp/ghc11329_0/ghc11329_0.hc:3310:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3hf_ret': /tmp/ghc11329_0/ghc11329_0.hc:3419:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2RQ_entry': /tmp/ghc11329_0/ghc11329_0.hc:3441:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3he_ret': /tmp/ghc11329_0/ghc11329_0.hc:3477:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2RM_entry': /tmp/ghc11329_0/ghc11329_0.hc:3499:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2RT_entry': /tmp/ghc11329_0/ghc11329_0.hc:3530:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3hc_ret': /tmp/ghc11329_0/ghc11329_0.hc:3553:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2RV_entry': /tmp/ghc11329_0/ghc11329_0.hc:3575:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3hb_ret': /tmp/ghc11329_0/ghc11329_0.hc:3612:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zddmshow_entry': /tmp/ghc11329_0/ghc11329_0.hc:3672:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zddmmin_entry': /tmp/ghc11329_0/ghc11329_0.hc:3753:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zddmmax_entry': /tmp/ghc11329_0/ghc11329_0.hc:3826:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3pi_ret': /tmp/ghc11329_0/ghc11329_0.hc:4388:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc:4401:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc:4414:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2UO_entry': /tmp/ghc11329_0/ghc11329_0.hc:4436:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3ph_ret': /tmp/ghc11329_0/ghc11329_0.hc:4472:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2UG_entry': /tmp/ghc11329_0/ghc11329_0.hc:4494:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2UR_entry': /tmp/ghc11329_0/ghc11329_0.hc:4525:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2UV_entry': /tmp/ghc11329_0/ghc11329_0.hc:4580:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3pg_ret': /tmp/ghc11329_0/ghc11329_0.hc:4617:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zsze1_entry': /tmp/ghc11329_0/ghc11329_0.hc:4811:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zeze1_entry': /tmp/ghc11329_0/ghc11329_0.hc:4923:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2W1_entry': /tmp/ghc11329_0/ghc11329_0.hc:5004:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3tl_ret': /tmp/ghc11329_0/ghc11329_0.hc:5038:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2VX_entry': /tmp/ghc11329_0/ghc11329_0.hc:5060:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2W4_entry': /tmp/ghc11329_0/ghc11329_0.hc:5091:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2W6_entry': /tmp/ghc11329_0/ghc11329_0.hc:5118:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3tk_ret': /tmp/ghc11329_0/ghc11329_0.hc:5153:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zddmshow2_entry': /tmp/ghc11329_0/ghc11329_0.hc:5199:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2WK_entry': /tmp/ghc11329_0/ghc11329_0.hc:5279:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3uR_ret': /tmp/ghc11329_0/ghc11329_0.hc:5313:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2WG_entry': /tmp/ghc11329_0/ghc11329_0.hc:5335:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2WN_entry': /tmp/ghc11329_0/ghc11329_0.hc:5366:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's2WP_entry': /tmp/ghc11329_0/ghc11329_0.hc:5393:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 's3uQ_ret': /tmp/ghc11329_0/ghc11329_0.hc:5428:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_zddmshow3_entry': /tmp/ghc11329_0/ghc11329_0.hc:5474:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: In function 'downloadzm0zi1_NetworkziDownload_URL_entry': /tmp/ghc11329_0/ghc11329_0.hc:5524:0: warning: pointer of type 'void *' used in arithmetic /tmp/ghc11329_0/ghc11329_0.hc: At top level: cbits/ftperr.h:1:0: warning: '_ftp_errlist' defined but not used cbits/httperr.h:1:0: warning: '_http_errlist' defined but not used /tmp/ghc11329_0/ghc11329_0.hc:1097:0: warning: 'r2E8_closure' defined but not used /tmp/ghc11329_0/ghc11329_0.hc:1114:0: warning: 'r2Ea_closure' defined but not used Warning: retaining unknown function `_ftp_errlist' in output from C compiler Warning: retaining unknown function `_http_errlist' in output from C compiler Building C Sources... Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/download.c Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/common.c Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/ftp.c Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/http.c Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/file.c Creating dist/build (and its parents) /usr/local/bin/ghc -Icbits -package base-3.0.2.0 -package bytestring-0.9.1.3 -package tagsoup-0.6 -optc-O2 -optc-pipe -optc-DINET6 -optc-D_GNU_SOURCE -optc-D_FILE_OFFSET_BITS=64 -optc-Wall -optc-Wstrict-prototypes -optc-Wsign-compare -optc-Wchar-subscripts -optc-Wpointer-arith -optc-Wcast-align -optc-UDEBUG -optc-O2 -odir dist/build -c cbits/hs_download_utils.c In file included from cbits/hs_download_utils.c:1:0: cbits/hs_download_utils.h:3:0: warning: function declaration isn't a prototype cbits/hs_download_utils.h:4:0: warning: function declaration isn't a prototype cbits/hs_download_utils.c:3:0: warning: function declaration isn't a prototype cbits/hs_download_utils.c:7:0: warning: function declaration isn't a prototype Linking... /usr/bin/ar q dist/build/libHSdownload-0.1.a dist/build/Network/Download.o dist/build/cbits/download.o dist/build/cbits/common.o dist/build/cbits/ftp.o dist/build/cbits/http.o dist/build/cbits/file.o dist/build/cbits/hs_download_utils.o /usr/bin/ar: creating dist/build/libHSdownload-0.1.a /usr/bin/ld -x -r -o dist/build/HSdownload-0.1.o.tmp dist/build/Network/Download.o dist/build/cbits/download.o dist/build/cbits/common.o dist/build/cbits/ftp.o dist/build/cbits/http.o dist/build/cbits/file.o dist/build/cbits/hs_download_utils.o *** setup haddock Creating dist/doc/html/download (and its parents) Preprocessing library download-0.1... Running hscolour for download-0.1... Creating dist/doc/html/download/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/download/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/download/src/Network-Download.html dist/build/Network/Download.hs Creating dist/build/tmp (and its parents) Creating dist/doc/html/download (and its parents) Preprocessing library download-0.1... Running Haddock for download-0.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/download-0.1 --ghc-version /usr/local/bin/ghc --print-libdir Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library download-0.1... /usr/local/bin/haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/download-0.1 --html --odir=dist/doc/html/download --title=download-0.1: High-level file download based on URLs --dump-interface=dist/doc/html/download/download.haddock --prologue=dist/download-0.1-haddock-prolog11398.txt --optghc=-package-name --optghc=download-0.1 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --read-interface=http://hackage.haskell.org/packages/archive/base/3.0.2.0/doc/html,/usr/local/share/doc/ghc/libraries/base/base.haddock --read-interface=http://hackage.haskell.org/packages/archive/bytestring/0.9.1.3/doc/html,/usr/local/tmp/archive/install/share/doc/bytestring-0.9.1.3/html/bytestring.haddock --read-interface=http://hackage.haskell.org/packages/archive/tagsoup/0.6/doc/html,/usr/local/tmp/archive/install/share/doc/tagsoup-0.6/html/tagsoup.haddock --use-contents=http://hackage.haskell.org/cgi-bin/hackage-scripts/package/download-0.1 -B/usr/local/lib/ghc-6.8.3 --optghc=-hide-all-packages --optghc=-package --optghc=base-3.0.2.0 --optghc=-package --optghc=bytestring-0.9.1.3 --optghc=-package --optghc=tagsoup-0.6 --optghc=-i --optghc=-Wall --optghc=-fvia-C --optghc=-idist/build/autogen --optghc=-i. --optghc=-idist/build --optghc=-Icbits --optghc=-odir --optghc=dist/build --optghc=-hidir --optghc=dist/build --optghc=-XCPP --optghc=-XForeignFunctionInterface --optghc=-XGeneralizedNewtypeDeriving Network.Download Network/Download.hsc:52:0: parse error in doc string haddock: Failed to check module: Network.Download