*** setup configure setup/setup configure --ghc --user --prefix=/usr/local/tmp/archive/install --haddock-option=--use-contents=/package/WURFL-0.1 --haddock-option=--built-in-themes --verbose Configuring WURFL-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: Instead of 'ghc-options: -cpp' use 'extensions: CPP' Dependency base -any: using base-4.3.0.0 Dependency haskell98 -any: using haskell98-1.1.0.0 Dependency parsec -any: using parsec-2.1.0.1 Using Cabal-1.8.0.2 compiled by ghc-6.12 Using compiler: ghc-7.0.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/WURFL-0.1/ghc-7.0.1 Private binaries installed in: /usr/local/tmp/archive/install/libexec Data files installed in: /usr/local/tmp/archive/install/share/WURFL-0.1 Documentation installed in: /usr/local/tmp/archive/install/share/doc/WURFL-0.1 Using alex version 2.3.3 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.5 found on system at: /usr/bin/gcc Using ghc version 7.0.1 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.0.1 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.8.0 found on system at: /usr/local/bin/haddock Using happy version 1.18.6 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.17 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.25 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 setup/setup build --verbose Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library WURFL-0.1... Building WURFL-0.1... Building library... Creating dist/build (and its parents) /usr/local/bin/ghc --make -package-name WURFL-0.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id haskell98-1.1.0.0-3992e4862a9be09f6d54b70e8d82d4ee -package-id parsec-2.1.0.1-8cf1730a357add17c736b1e051cf3ab0 -O -cpp -Wall -O -fglasgow-exts WURFL WURFLParser WURFLTypes [1 of 3] Compiling WURFLTypes ( src/WURFLTypes.hs, dist/build/WURFLTypes.o ) on the commandline: Warning: -fglasgow-exts is deprecated: Use individual extensions instead src/WURFL.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [2 of 3] Compiling WURFLParser ( src/WURFLParser.hs, dist/build/WURFLParser.o ) src/WURFLParser.hs:8:1: Warning: The import of `Data.Either' is redundant except perhaps to import instances from `Data.Either' To import instances alone, use: import Data.Either() src/WURFLParser.hs:17:6: Warning: A do-notation statement discarded a result of type [Char]. Suppress this warning by saying "_ <- manyTill (anyToken) (eof)", or by using the flag -fno-warn-unused-do-bind src/WURFLParser.hs:21:47: Warning: A do-notation statement discarded a result of type String. Suppress this warning by saying "_ <- string a", or by using the flag -fno-warn-unused-do-bind src/WURFLParser.hs:25:48: Warning: A do-notation statement discarded a result of type String. Suppress this warning by saying "_ <- string a", or by using the flag -fno-warn-unused-do-bind src/WURFLParser.hs:29:54: Warning: A do-notation statement discarded a result of type String. Suppress this warning by saying "_ <- string a", or by using the flag -fno-warn-unused-do-bind [3 of 3] Compiling WURFL ( src/WURFL.hs, dist/build/WURFL.o ) Linking... /usr/bin/ar -r dist/build/libHSWURFL-0.1.a dist/build/WURFL.o dist/build/WURFLParser.o dist/build/WURFLTypes.o /usr/bin/ar: creating dist/build/libHSWURFL-0.1.a /usr/bin/ld -x -r -o dist/build/HSWURFL-0.1.o dist/build/WURFL.o dist/build/WURFLParser.o dist/build/WURFLTypes.o /usr/local/bin/ghc --abi-hash -package-name WURFL-0.1 -hide-all-packages -fbuilding-cabal-package -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -odir dist/build -hidir dist/build -stubdir dist/build -package-id base-4.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 -package-id haskell98-1.1.0.0-3992e4862a9be09f6d54b70e8d82d4ee -package-id parsec-2.1.0.1-8cf1730a357add17c736b1e051cf3ab0 -O -cpp -Wall -O -fglasgow-exts WURFL WURFLParser WURFLTypes Registering WURFL-0.1... /usr/local/bin/ghc-pkg update - --package-conf=dist/package.conf.inplace *** setup haddock setup/setup haddock --verbose --html-location=/packages/archive/$pkg/$version/doc/html --hyperlink-source Running Haddock for WURFL-0.1... /usr/local/bin/haddock --use-contents=/package/WURFL-0.1 --built-in-themes --ghc-version Creating dist/build (and its parents) Creating dist/build/autogen (and its parents) Preprocessing library WURFL-0.1... Running hscolour for WURFL-0.1... Creating dist/doc/html/WURFL (and its parents) Creating dist/doc/html/WURFL/src (and its parents) /usr/local/bin/HsColour -print-css -odist/doc/html/WURFL/src/hscolour.css /usr/local/bin/HsColour -css -anchor -odist/doc/html/WURFL/src/WURFL.html src/WURFL.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/WURFL/src/WURFLParser.html src/WURFLParser.hs /usr/local/bin/HsColour -css -anchor -odist/doc/html/WURFL/src/WURFLTypes.html src/WURFLTypes.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 copy src/WURFL.hs to dist/build/tmp5849/src/WURFL.hs copy src/WURFLParser.hs to dist/build/tmp5849/src/WURFLParser.hs copy src/WURFLTypes.hs to dist/build/tmp5849/src/WURFLTypes.hs Creating dist/doc/html/WURFL/ (and its parents) /usr/local/bin/haddock --use-contents=/package/WURFL-0.1 --built-in-themes --prologue=dist/doc/html/WURFL/haddock-prolog5849.txt --dump-interface=dist/doc/html/WURFL/WURFL.haddock --optghc=-package-name --optghc=WURFL-0.1 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --verbosity=1 --html --read-interface=/packages/archive/array/0.3.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/array-0.3.0.2/array.haddock --read-interface=/packages/archive/base/4.3.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/base-4.3.0.0/base.haddock --read-interface=/packages/archive/directory/1.1.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/directory-1.1.0.0/directory.haddock --read-interface=/packages/archive/filepath/1.2.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/filepath-1.2.0.0/filepath.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/haskell98/1.1.0.0/doc/html,/usr/local/share/doc/ghc/html/libraries/haskell98-1.1.0.0/haskell98.haddock --read-interface=/packages/archive/integer-gmp/0.2.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.2.0.2/integer-gmp.haddock --read-interface=/packages/archive/old-locale/1.0.0.2/doc/html,/usr/local/share/doc/ghc/html/libraries/old-locale-1.0.0.2/old-locale.haddock --read-interface=/packages/archive/old-time/1.0.0.6/doc/html,/usr/local/share/doc/ghc/html/libraries/old-time-1.0.0.6/old-time.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/process/1.0.1.4/doc/html,/usr/local/share/doc/ghc/html/libraries/process-1.0.1.4/process.haddock --read-interface=/packages/archive/random/1.0.0.3/doc/html,/usr/local/share/doc/ghc/html/libraries/random-1.0.0.3/random.haddock --read-interface=/packages/archive/time/1.2.0.3/doc/html,/usr/local/share/doc/ghc/html/libraries/time-1.2.0.3/time.haddock --read-interface=/packages/archive/unix/2.4.1.0/doc/html,/usr/local/share/doc/ghc/html/libraries/unix-2.4.1.0/unix.haddock --odir=dist/doc/html/WURFL/ --title=WURFL-0.1: Convert the WURFL file into a Parsec parser --optghc=-hide-all-packages --optghc=-fbuilding-cabal-package --optghc=-i --optghc=-idist/build --optghc=-isrc --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --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.3.0.0-b91367e4fa5bd47d8e75958171ad21b7 --optghc=-package-id --optghc=haskell98-1.1.0.0-3992e4862a9be09f6d54b70e8d82d4ee --optghc=-package-id --optghc=parsec-2.1.0.1-8cf1730a357add17c736b1e051cf3ab0 --optghc=-O --optghc=-cpp --optghc=-Wall --optghc=-O --optghc=-fglasgow-exts -B/usr/local/lib/ghc-7.0.1 dist/build/tmp5849/src/WURFL.hs dist/build/tmp5849/src/WURFLParser.hs dist/build/tmp5849/src/WURFLTypes.hs dist/build/tmp5849/src/WURFL.hs:28:0: error: WurflVar.h: No such file or directory