Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring data-default-class-0.1.2.0... Building base64-bytestring-1.0.0.1... Building data-default-class-0.1.2.0... Installed data-default-class-0.1.2.0 Configuring dlist-0.8.0.2... Configuring extensible-exceptions-0.1.1.4... Installed base64-bytestring-1.0.0.1 Building dlist-0.8.0.2... Building extensible-exceptions-0.1.1.4... Configuring html-1.0.1.2... Installed extensible-exceptions-0.1.1.4 Building html-1.0.1.2... Configuring mtl-2.2.1... Installed dlist-0.8.0.2 Building mtl-2.2.1... Configuring old-locale-1.0.0.7... Installed html-1.0.1.2 Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed old-locale-1.0.0.7 Configuring stm-2.4.4.1... Installed mtl-2.2.1 Building stm-2.4.4.1... Building network-2.6.3.1... Configuring syb-0.6... Installed stm-2.4.4.1 Building syb-0.6... Configuring text-1.2.2.1... Installed syb-0.6 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed network-2.6.3.1 Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Configuring data-default-instances-containers-0.0.1... Installed zlib-0.6.1.2 Building data-default-instances-containers-0.0.1... Installed data-default-instances-containers-0.0.1 Configuring data-default-instances-dlist-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed text-1.2.2.1 Building data-default-instances-dlist-0.0.1... Building data-default-instances-old-locale-0.0.1... Configuring old-time-1.1.0.3... Installed data-default-instances-dlist-0.0.1 Configuring threads-0.5.1.4... Installed data-default-instances-old-locale-0.0.1 Building old-time-1.1.0.3... Building threads-0.5.1.4... Configuring hslogger-1.2.10... Installed old-time-1.1.0.3 Building hslogger-1.2.10... Configuring sendfile-0.7.9... Installed threads-0.5.1.4 Building sendfile-0.7.9... Configuring exceptions-0.8.3... Installed sendfile-0.7.9 Building exceptions-0.8.3... Configuring transformers-base-0.4.4... Installed hslogger-1.2.10 Building transformers-base-0.4.4... Installed transformers-base-0.4.4 Configuring blaze-builder-0.4.0.2... Building blaze-builder-0.4.0.2... Configuring parsec-3.1.11... Installed exceptions-0.8.3 Building parsec-3.1.11... Configuring data-default-0.7.1.1... Installed blaze-builder-0.4.0.2 Building data-default-0.7.1.1... Configuring system-filepath-0.4.13.4... Installed data-default-0.7.1.1 Configuring monad-control-1.0.1.0... Installed parsec-3.1.11 Building monad-control-1.0.1.0... Building system-filepath-0.4.13.4... Configuring time-compat-0.1.0.3... Installed monad-control-1.0.1.0 Building time-compat-0.1.0.3... Installed time-compat-0.1.0.3 Configuring blaze-markup-0.7.1.1... Configuring multipart-0.1.2... Installed system-filepath-0.4.13.4 Building blaze-markup-0.7.1.1... Building multipart-0.1.2... Configuring hack-2012.2.6... Installed blaze-markup-0.7.1.1 Configuring network-uri-2.6.1.0... Installed multipart-0.1.2 Building hack-2012.2.6... Building network-uri-2.6.1.0... Installed hack-2012.2.6 Configuring blaze-html-0.8.1.3... Building blaze-html-0.8.1.3... Installed network-uri-2.6.1.0 Configuring cgi-3001.3.0.2... Building cgi-3001.3.0.2... Installed cgi-3001.3.0.2 Installed blaze-html-0.8.1.3 Configuring happstack-server-7.4.6.2... Building happstack-server-7.4.6.2... Installed happstack-server-7.4.6.2 Configuring hack-handler-happstack-2009.4.52... Building hack-handler-happstack-2009.4.52... Failed to install hack-handler-happstack-2009.4.52 Build log ( /home/builder/.cabal/logs/hack-handler-happstack-2009.4.52.log ): cabal: Entering directory '/tmp/cabal-tmp-19850/hack-handler-happstack-2009.4.52' Warning: hack-handler-happstack.cabal: Unknown fields: build-depends (line 10) Fields allowed in this section: name, version, cabal-version, build-type, license, license-file, license-files, copyright, maintainer, stability, homepage, package-url, bug-reports, synopsis, description, category, author, tested-with, data-files, data-dir, extra-source-files, extra-tmp-files, extra-doc-files Configuring hack-handler-happstack-2009.4.52... Building hack-handler-happstack-2009.4.52... Preprocessing library hack-handler-happstack-2009.4.52... [1 of 1] Compiling Hack.Handler.Happstack ( src/Hack/Handler/Happstack.hs, dist/build/Hack/Handler/Happstack.o ) src/Hack/Handler/Happstack.hs:30:49: error: Ambiguous occurrence ‘serverName’ It could refer to either ‘Hack.serverName’, imported from ‘Hack’ at src/Hack/Handler/Happstack.hs:5:1-19 or ‘Hack.Handler.Happstack.serverName’, defined at src/Hack/Handler/Happstack.hs:23:45 src/Hack/Handler/Happstack.hs:41:13: error: Not in scope: ‘request_method’ Perhaps you meant ‘requestMethod’ (imported from Hack) src/Hack/Handler/Happstack.hs:42:13: error: Not in scope: ‘script_name’ Perhaps you meant ‘scriptName’ (imported from Hack) src/Hack/Handler/Happstack.hs:43:13: error: Not in scope: ‘path_info’ Perhaps you meant ‘pathInfo’ (imported from Hack) src/Hack/Handler/Happstack.hs:44:13: error: Not in scope: ‘query_string’ Perhaps you meant one of these: ‘queryString’ (imported from Hack), ‘queryString’ (imported from Happstack.Server.SimpleHTTP) src/Hack/Handler/Happstack.hs:45:13: error: Not in scope: ‘server_name’ Perhaps you meant one of these: ‘serverName’ (imported from Hack), ‘serverName’ (line 23) src/Hack/Handler/Happstack.hs:45:30: error: Ambiguous occurrence ‘serverName’ It could refer to either ‘Hack.serverName’, imported from ‘Hack’ at src/Hack/Handler/Happstack.hs:5:1-19 or ‘Hack.Handler.Happstack.serverName’, defined at src/Hack/Handler/Happstack.hs:23:45 src/Hack/Handler/Happstack.hs:46:13: error: Not in scope: ‘server_port’ Perhaps you meant ‘serverPort’ (imported from Hack) src/Hack/Handler/Happstack.hs:47:13: error: Ambiguous occurrence ‘http’ It could refer to either ‘Hack.http’, imported from ‘Hack’ at src/Hack/Handler/Happstack.hs:5:1-19 or ‘H.http’, imported from ‘Happstack.Server.SimpleHTTP’ at src/Hack/Handler/Happstack.hs:6:1-61 (and originally defined in ‘Happstack.Server.Routing’) src/Hack/Handler/Happstack.hs:48:13: error: Not in scope: ‘hack_input’ Perhaps you meant ‘hackInput’ (imported from Hack) src/Hack/Handler/Happstack.hs:75:42: error: Not in scope: ‘rsfContentLength’ Perhaps you meant one of these: data constructor ‘ContentLength’ (imported from Happstack.Server.SimpleHTTP), data constructor ‘NoContentLength’ (imported from Happstack.Server.SimpleHTTP), ‘noContentLength’ (imported from Happstack.Server.SimpleHTTP) cabal: Leaving directory '/tmp/cabal-tmp-19850/hack-handler-happstack-2009.4.52' cabal: Error: some packages failed to install: hack-handler-happstack-2009.4.52 failed during the building phase. The exception was: ExitFailure 1