Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambdabot build ExitFailure 139 #36

Closed
shakthimaan opened this issue Mar 6, 2013 · 9 comments
Closed

lambdabot build ExitFailure 139 #36

shakthimaan opened this issue Mar 6, 2013 · 9 comments

Comments

@shakthimaan
Copy link

On Fedora 18 (x86_64), I removed ~/.ghc and ~/.cabal and did:

$ sudo yum install readline-devel
$ cabal update
$ cabal install cabal-install
$ cabal install lambdabot

It fails with ExitFailure 139. Any suggestions?

=== ERROR ===
...

Building lambdabot-4.2.3.3...
Preprocessing executable 'lambdabot' for lambdabot-4.2.3.3...

Plugin/Pl/Common.hs:1:12:
Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release

Plugin/Pl/RuleLib.hs:1:16:
Warning: -fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 79] Compiling Plugin.Dict.DictLookup ( Plugin/Dict/DictLookup.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Dict/DictLookup.o )

Plugin/Dict/DictLookup.hs:22:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Dict/DictLookup.hs:22:30:
Warning: In the use of `handle'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[ 2 of 79] Compiling Plugin.Dummy.DocAssocs ( Plugin/Dummy/DocAssocs.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Dummy/DocAssocs.o )
[ 3 of 79] Compiling Plugin.Free.Util ( Plugin/Free/Util.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/Util.o )
[ 4 of 79] Compiling Plugin.Free.Parse ( Plugin/Free/Parse.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/Parse.o )
[ 5 of 79] Compiling Plugin.Free.Type ( Plugin/Free/Type.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/Type.o )
[ 6 of 79] Compiling Plugin.Free.Expr ( Plugin/Free/Expr.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/Expr.o )
[ 7 of 79] Compiling Plugin.Free.Theorem ( Plugin/Free/Theorem.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/Theorem.o )
[ 8 of 79] Compiling Plugin.Free.FreeTheorem ( Plugin/Free/FreeTheorem.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free/FreeTheorem.o )
[ 9 of 79] Compiling Plugin.Pl.Common ( Plugin/Pl/Common.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Common.o )
[10 of 79] Compiling Plugin.Pl.Parser ( Plugin/Pl/Parser.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Parser.o )
[11 of 79] Compiling Plugin.Pl.PrettyPrinter ( Plugin/Pl/PrettyPrinter.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/PrettyPrinter.o )
[12 of 79] Compiling Plugin.Pl.Transform ( Plugin/Pl/Transform.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Transform.o )
[13 of 79] Compiling Plugin.Pl.Names ( Plugin/Pl/Names.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Names.o )
[14 of 79] Compiling Plugin.Pl.RuleLib ( Plugin/Pl/RuleLib.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/RuleLib.o )
[15 of 79] Compiling Plugin.Pl.Rules ( Plugin/Pl/Rules.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Rules.o )
[16 of 79] Compiling Plugin.Pl.Optimize ( Plugin/Pl/Optimize.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Optimize.o )
[17 of 79] Compiling Plugin.Quote.Text ( Plugin/Quote/Text.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Quote/Text.o )
[18 of 79] Compiling Config ( Config.hs, dist/build/lambdabot/lambdabot-tmp/Config.o )
[19 of 79] Compiling Plugin.Quote.Fortune ( Plugin/Quote/Fortune.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Quote/Fortune.o )

Plugin/Quote/Fortune.hs:13:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Quote/Fortune.hs:13:45:
Warning: In the use of `C.catch'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[20 of 79] Compiling Paths_lambdabot ( dist/build/autogen/Paths_lambdabot.hs, dist/build/lambdabot/lambdabot-tmp/Paths_lambdabot.o )
[21 of 79] Compiling Shared ( Shared.hs, dist/build/lambdabot/lambdabot-tmp/Shared.o )
[22 of 79] Compiling Message ( Message.hs, dist/build/lambdabot/lambdabot-tmp/Message.o )
[23 of 79] Compiling IRCBase ( IRCBase.hs, dist/build/lambdabot/lambdabot-tmp/IRCBase.o )
[24 of 79] Compiling File ( File.hs, dist/build/lambdabot/lambdabot-tmp/File.o )
[25 of 79] Compiling Lambdabot ( Lambdabot.hs, dist/build/lambdabot/lambdabot-tmp/Lambdabot.o )

Lambdabot.hs:72:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Lambdabot.hs:72:1:
Warning: In the use of type constructor or class `Exception'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Lambdabot.hs:72:1:
Warning: In the use of data constructor `ErrorCall'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Lambdabot.hs:72:1:
Warning: In the use of `catch'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Lambdabot.hs:72:1:
Warning: In the use of `try'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Lambdabot.hs:72:1:
Warning: In the use of `catchDyn'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Lambdabot.hs:72:1:
Warning: In the use of `throwDyn'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[26 of 79] Compiling LBState ( LBState.hs, dist/build/lambdabot/lambdabot-tmp/LBState.o )
[27 of 79] Compiling Plugin ( Plugin.hs, dist/build/lambdabot/lambdabot-tmp/Plugin.o )
[28 of 79] Compiling Plugin.Activity ( Plugin/Activity.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Activity.o )
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Loading package Boolean-0.1.2 ... linking ... done.
Loading package array-0.4.0.0 ... linking ... done.
Loading package deepseq-1.3.0.1 ... linking ... done.
Loading package containers-0.5.2.1 ... linking ... done.
Loading package nats-0.1 ... linking ... done.
Loading package semigroups-0.9 ... linking ... done.
Loading package void-0.5.11 ... linking ... done.
Loading package MemoTrie-0.6.1 ... linking ... done.
Loading package NumInstances-1.0 ... linking ... done.
Loading package vector-space-0.8.6 ... linking ... done.
Loading package transformers-0.3.0.0 ... linking ... done.
Loading package mtl-2.1.2 ... linking ... done.
Loading package bytestring-0.9.2.1 ... linking ... done.
Loading package unix-2.5.1.0 ... linking ... done.
Loading package unlambda-0.1.3 ... linking ... done.
Loading package old-locale-1.0.0.4 ... linking ... done.
Loading package time-1.4.0.2 ... linking ... done.
Loading package random-1.0.1.1 ... linking ... done.
Loading package pretty-1.1.1.0 ... linking ... done.
Loading package template-haskell ... linking ... done.
Loading package QuickCheck-2.5.1.1 ... linking ... done.
Loading package simple-reflect-0.3.1 ... linking ... done.
Loading package logict-0.6 ... linking ... done.
Loading package smallcheck-1.0.1 ... linking ... done.
Loading package syb-0.3.7 ... linking ... done.
Loading package show-0.5 ... linking ... done.
Loading package filepath-1.3.0.0 ... linking ... done.
Loading package old-time-1.1.0.0 ... linking ... done.
Loading package directory-1.1.0.2 ... linking ... done.
Loading package process-1.1.0.2 ... linking ... done.
Loading package readline-1.0.3.0 ... linking ... done.
Loading package text-0.11.2.3 ... linking ... done.
Loading package parsec-3.1.3 ... linking ... done.
Loading package network-2.4.1.2 ... linking ... done.
Loading package HTTP-4000.2.8 ... linking ... done.
Loading package oeis-0.3.1 ... linking ... done.
Loading package numbers-3000.1.0.1 ... linking ... done.
Loading package binary-0.7.0.1 ... linking ... done.
Loading package haskell-src-1.0.1.5 ... linking ... done.
Loading package regex-base-0.93.2 ... linking ... done.
Loading package regex-posix-0.95.2 ... linking ... done.
Loading package regex-compat-0.95.1 ... linking ... done.
Loading package tagsoup-0.12.8 ... linking ... done.
Loading package utf8-string-0.3.7 ... linking ... done.
Loading package zlib-0.5.4.1 ... linking ... done.
Loading package lambdabot-utils-4.2.2 ... linking ... done.
Loading package cpphs-1.14 ... linking ... done.
Loading package haskell-src-exts-1.13.3 ... linking ... done.
Loading package data-inttrie-0.0.8 ... linking ... done.
Loading package data-memocombinators-0.4.4 ... linking ... done.
Loading package brainfuck-0.1 ... linking ... done.
Loading package lazysmallcheck-0.6 ... linking ... done.
Loading package Stream-0.4.6.1 ... linking ... done.
Loading package arrows-0.4.4.1 ... linking ... done.
Loading package MonadRandom-0.1.8 ... linking ... done.
Loading package IOSpec-0.2.5 ... linking ... done.

Plugin/Activity.hs:10:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.
[29 of 79] Compiling Plugin.Babel ( Plugin/Babel.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Babel.o )
[30 of 79] Compiling Plugin.Base ( Plugin/Base.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Base.o )

Plugin/Base.hs:15:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Base.hs:15:30:
Warning: In the use of data constructor `NoMethodError'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[31 of 79] Compiling Plugin.BF ( Plugin/BF.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/BF.o )
[32 of 79] Compiling Plugin.Check ( Plugin/Check.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Check.o )
[33 of 79] Compiling Plugin.Compose ( Plugin/Compose.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Compose.o )

Plugin/Compose.hs:14:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Compose.hs:14:30:
Warning: In the use of data constructor `NoMethodError'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[34 of 79] Compiling Plugin.Dice ( Plugin/Dice.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Dice.o )
[35 of 79] Compiling Plugin.Dict ( Plugin/Dict.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Dict.o )
[36 of 79] Compiling Plugin.Djinn ( Plugin/Djinn.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Djinn.o )
[37 of 79] Compiling Plugin.Dummy ( Plugin/Dummy.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Dummy.o )
[38 of 79] Compiling Plugin.Elite ( Plugin/Elite.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Elite.o )
[39 of 79] Compiling Plugin.Eval ( Plugin/Eval.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Eval.o )

Plugin/Eval.hs:19:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Eval.hs:19:30:
Warning: In the use of `try'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[40 of 79] Compiling Plugin.Fact ( Plugin/Fact.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Fact.o )
[41 of 79] Compiling Plugin.Fresh ( Plugin/Fresh.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Fresh.o )
[42 of 79] Compiling Plugin.Haddock ( Plugin/Haddock.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Haddock.o )
[43 of 79] Compiling Plugin.Help ( Plugin/Help.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Help.o )

Plugin/Help.hs:6:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/Help.hs:6:30:
Warning: In the use of data constructor `NoMethodError'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[44 of 79] Compiling Plugin.Hoogle ( Plugin/Hoogle.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Hoogle.o )
[45 of 79] Compiling Plugin.Instances ( Plugin/Instances.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Instances.o )
[46 of 79] Compiling Plugin.Localtime ( Plugin/Localtime.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Localtime.o )
[47 of 79] Compiling Plugin.More ( Plugin/More.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/More.o )
[48 of 79] Compiling Plugin.OEIS ( Plugin/OEIS.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/OEIS.o )
[49 of 79] Compiling Plugin.Pl ( Plugin/Pl.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pl.o )

Plugin/Pl.hs:24:51:
Warning: In the use of `isEmptyChan'
(imported from Control.Concurrent.Chan):
Deprecated: "if you need this operation, use Control.Concurrent.STM.TChan instead. See http://hackage.haskell.org/trac/ghc/ticket/4154 for details"

Plugin/Pl.hs:25:27:
Warning: In the use of `unblock'
(imported from Control.Exception, but defined in GHC.IO):
Deprecated: "use Control.Exception.mask instead"
[50 of 79] Compiling Plugin.Pointful ( Plugin/Pointful.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pointful.o )
[51 of 79] Compiling Plugin.Poll ( Plugin/Poll.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Poll.o )
[52 of 79] Compiling Plugin.Pretty ( Plugin/Pretty.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Pretty.o )
[53 of 79] Compiling Plugin.Quote ( Plugin/Quote.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Quote.o )
[54 of 79] Compiling Plugin.Search ( Plugin/Search.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Search.o )
[55 of 79] Compiling Plugin.Slap ( Plugin/Slap.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Slap.o )
[56 of 79] Compiling Plugin.Source ( Plugin/Source.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Source.o )
[57 of 79] Compiling Plugin.Spell ( Plugin/Spell.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Spell.o )
[58 of 79] Compiling Plugin.State ( Plugin/State.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/State.o )
[59 of 79] Compiling Plugin.System ( Plugin/System.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/System.o )
[60 of 79] Compiling Plugin.Tell ( Plugin/Tell.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Tell.o )
[61 of 79] Compiling Plugin.Ticker ( Plugin/Ticker.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Ticker.o )
[62 of 79] Compiling Plugin.Todo ( Plugin/Todo.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Todo.o )
[63 of 79] Compiling Plugin.Topic ( Plugin/Topic.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Topic.o )
[64 of 79] Compiling Plugin.Type ( Plugin/Type.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Type.o )
[65 of 79] Compiling Plugin.Free ( Plugin/Free.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Free.o )
[66 of 79] Compiling Plugin.FT ( Plugin/FT.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/FT.o )
[67 of 79] Compiling Plugin.Undo ( Plugin/Undo.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Undo.o )
[68 of 79] Compiling Plugin.Unlambda ( Plugin/Unlambda.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Unlambda.o )
[69 of 79] Compiling Plugin.UnMtl ( Plugin/UnMtl.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/UnMtl.o )
[70 of 79] Compiling Plugin.Version ( Plugin/Version.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Version.o )
[71 of 79] Compiling Plugin.Vixen ( Plugin/Vixen.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Vixen.o )
[72 of 79] Compiling Plugin.Where ( Plugin/Where.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Where.o )
[73 of 79] Compiling NickEq ( NickEq.hs, dist/build/lambdabot/lambdabot-tmp/NickEq.o )
[74 of 79] Compiling Plugin.Karma ( Plugin/Karma.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/Karma.o )
[75 of 79] Compiling LMain ( LMain.hs, dist/build/lambdabot/lambdabot-tmp/LMain.o )
[76 of 79] Compiling Plugin.IRC ( Plugin/IRC.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/IRC.o )

Plugin/IRC.hs:8:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.

Plugin/IRC.hs:8:1:
Warning: In the use of `catchJust'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."

Plugin/IRC.hs:8:1:
Warning: In the use of `ioErrors'
(imported from Control.OldException):
Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
[77 of 79] Compiling Plugin.OfflineRC ( Plugin/OfflineRC.hs, dist/build/lambdabot/lambdabot-tmp/Plugin/OfflineRC.o )

Plugin/OfflineRC.hs:17:1:
Warning: Module `Control.OldException' is deprecated:
Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.
[78 of 79] Compiling Modules ( Modules.hs, dist/build/lambdabot/lambdabot-tmp/Modules.o )
cabal: Error: some packages failed to install:
lambdabot-4.2.3.3 failed during the building phase. The exception was:
ExitFailure 139

=== END ===

@jstolarek
Copy link
Contributor

You are not using code from this repo. We removed many of the things that are mentioned as warnings in your log (e.g. OldException, -fglasgow-exts).

@mokus0
Copy link
Member

mokus0 commented Mar 6, 2013

Also, since your build has failed in the same way in other places I'm inclined to suspect that your system either has a broken GHC installation or something else going on such as unreliable RAM.

@shakthimaan
Copy link
Author

"cabal install lambdabot" fetches the lambdabot available in hackage (I assume), and hence it fails. To use the latest lambdabot master, I now tried the following on Fedora 18 (x86_64) virtual machine:

$ rm -rf ~/.ghc ~/.cabal
$ cabal update
$ cabal install cabal-install
$ git clone https://github.com/mokus0/lambdabot.git
$ cd lambdabot
$ cabal install

Are the steps correct? I now get the random-source build error:

=== Error ===

...
Linking dist/build/hoogle/hoogle ...
Installing library in /home/guest/.cabal/lib/hoogle-4.2.16/ghc-7.4.1
Installing executable(s) in /home/guest/.cabal/bin
Registering hoogle-4.2.16...
cabal: Error: some packages failed to install:
dice-0.1 depends on random-source-0.3.0.4 which failed to install.
lambdabot-4.3 depends on random-source-0.3.0.4 which failed to install.
misfortune-0.1.1.1 depends on random-source-0.3.0.4 which failed to install.
random-fu-0.2.4.0 depends on random-source-0.3.0.4 which failed to install.
random-source-0.3.0.4 failed during the building phase. The exception was:
ExitFailure 139
rvar-0.2.0.1 depends on random-source-0.3.0.4 which failed to install.

=== END ===

Does random-source require any external package or library for it to build?

@mokus0
Copy link
Member

mokus0 commented Mar 6, 2013

The steps look correct. random-source doesn't require any external libs, and I don't think any of its dependencies do either. The only unusual thing about random-source is its use of Template Haskell, which is probably causing GHC to load some library that crashes it. A couple things I'm curious about:

  • What other libraries are installed on your system in "system" scope (rather than package scope), and is the package database "consistent" according to `ghc-pkg check?
  • What is the actual GHC output from the failing build? Specifically, the part listing the modules being compiled and the libraries being loaded to run Template Haskell code.

@jstolarek
Copy link
Contributor

Please run these two commands and paste the input:

ghc --version
ghc-pkg list

It will probably help to know which GHC version and which TH version are we dealing with.

@shakthimaan
Copy link
Author

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.4.1

$ ghc-pkg list
/usr/lib64/ghc-7.4.1/package.conf.d
array-0.4.0.0
base-4.5.0.0
bytestring-0.9.2.1
cpphs-1.14
directory-1.1.0.2
extensible-exceptions-0.1.1.4
filepath-1.3.0.0
ghc-prim-0.2.0.0
haskell-src-exts-1.13.3
integer-gmp-0.4.0.0
old-locale-1.0.0.4
old-time-1.1.0.0
pretty-1.1.1.0
rts-1.0
terminfo-0.3.2.3
unix-2.5.1.0
/home/guest/.ghc/x86_64-linux-7.4.1/package.conf.d
Boolean-0.1.2
Cabal-1.16.0.3
HTTP-4000.2.8
IOSpec-0.2.5
MemoTrie-0.6.1
MonadPrompt-1.0.0.3
MonadRandom-0.1.8
NumInstances-1.0
QuickCheck-2.5.1.1
SafeSemaphore-0.9.0
Stream-0.4.6.1
arrows-0.4.4.1
base-unicode-symbols-0.2.2.4
binary-0.7.0.1
blaze-builder-0.3.1.0
blaze-builder-conduit-1.0.0
brainfuck-0.1
case-insensitive-1.0
cereal-0.3.5.2
cmdargs-0.10.2
conduit-1.0.2
containers-0.5.2.1
continued-fractions-0.9.1.1
converge-0.1.0.1
data-inttrie-0.0.8
data-memocombinators-0.4.4
deepseq-1.3.0.1
dependent-map-0.1.1.1
dependent-sum-0.2.0.1
dependent-sum-template-0.0.0.1
edit-distance-0.2.1.2
erf-2.0.0.0
flexible-defaults-0.0.1.1
gamma-0.9.0.2
hashable-1.2.0.5
haskeline-0.7.0.3
hoogle-4.2.16
hstatsd-0.1
http-types-0.8.0
knob-0.1.1
lazysmallcheck-0.6
lifted-base-0.2.0.2
logict-0.6
mersenne-random-pure64-0.2.0.3
monad-control-0.3.1.4
monad-loops-0.3.3.0
mtl-2.1.2
mwc-random-0.12.0.1
nats-0.1
network-2.4.1.2
network-conduit-1.0.0
numbers-3000.1.0.1
oeis-0.3.1
parsec-3.1.3
primitive-0.5.0.1
process-1.1.0.2
random-1.0.1.1
random-shuffle-0.0.4
regex-base-0.93.2
regex-pcre-0.94.4
regex-tdfa-1.1.8
resourcet-0.4.5
safe-0.3.3
semigroups-0.9
show-0.5
simple-reflect-0.3.1
simple-sendfile-0.2.11
smallcheck-1.0.1
split-0.2.1.2
stateref-0.3
stm-2.4.2
syb-0.4.0
tagsoup-0.12.8
template-haskell-2.8.0.0
text-0.11.2.3
th-extras-0.0.0.2
time-1.4.0.2
transformers-0.3.0.0
transformers-base-0.4.1
uniplate-1.6.10
unix-compat-0.4.1.0
unlambda-0.1.3
unordered-containers-0.2.3.0
utf8-string-0.3.7
vault-0.2.0.4
vector-0.10.0.1
vector-space-0.8.6
void-0.5.11
wai-1.4.0
warp-1.3.7.4
zlib-0.5.4.1

$ ghc-pkg check
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/hoogle-4.2.16/html/hoogle.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/hoogle-4.2.16/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/warp-1.3.7.4/html/warp.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/warp-1.3.7.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/wai-1.4.0/html/wai.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/wai-1.4.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/vector-space-0.8.6/html/vector-space.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/vector-space-0.8.6/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/network-conduit-1.0.0/html/network-conduit.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/network-conduit-1.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/blaze-builder-conduit-1.0.0/html/blaze-builder-conduit.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/blaze-builder-conduit-1.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/conduit-1.0.2/html/conduit.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/conduit-1.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/MemoTrie-0.6.1/html/MemoTrie.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/MemoTrie-0.6.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/void-0.5.11/html/void.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/void-0.5.11/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/mwc-random-0.12.0.1/html/mwc-random.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/mwc-random-0.12.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/gamma-0.9.0.2/html/gamma.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/gamma-0.9.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/vector-0.10.0.1/html/vector.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/vector-0.10.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/vault-0.2.0.4/html/vault.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/vault-0.2.0.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/utf8-string-0.3.7/html/utf8-string.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/utf8-string-0.3.7/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/uniplate-1.6.10/html/uniplate.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/uniplate-1.6.10/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/unordered-containers-0.2.3.0/html/unordered-containers.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/unordered-containers-0.2.3.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/unlambda-0.1.3/html/unlambda.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/unlambda-0.1.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/unix-compat-0.4.1.0/html/unix-compat.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/unix-compat-0.4.1.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/resourcet-0.4.5/html/resourcet.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/resourcet-0.4.5/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/lifted-base-0.2.0.2/html/lifted-base.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/lifted-base-0.2.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/monad-control-0.3.1.4/html/monad-control.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/monad-control-0.3.1.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/transformers-base-0.4.1/html/transformers-base.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/transformers-base-0.4.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/flexible-defaults-0.0.1.1/html/flexible-defaults.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/flexible-defaults-0.0.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/dependent-sum-template-0.0.0.1/html/dependent-sum-template.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/dependent-sum-template-0.0.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/th-extras-0.0.0.2/html/th-extras.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/th-extras-0.0.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/show-0.5/html/show.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/show-0.5/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/cmdargs-0.10.2/html/cmdargs.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/cmdargs-0.10.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/arrows-0.4.4.1/html/arrows.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/arrows-0.4.4.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/IOSpec-0.2.5/html/IOSpec.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/IOSpec-0.2.5/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/Stream-0.4.6.1/html/Stream.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/Stream-0.4.6.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/QuickCheck-2.5.1.1/html/QuickCheck.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/QuickCheck-2.5.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/template-haskell-2.8.0.0/html/template-haskell.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/template-haskell-2.8.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/tagsoup-0.12.8/html/tagsoup.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/tagsoup-0.12.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/syb-0.4.0/html/syb.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/syb-0.4.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/stateref-0.3/html/stateref.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/stateref-0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/monad-loops-0.3.3.0/html/monad-loops.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/monad-loops-0.3.3.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/SafeSemaphore-0.9.0/html/SafeSemaphore.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/SafeSemaphore-0.9.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/stm-2.4.2/html/stm.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/stm-2.4.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/split-0.2.1.2/html/split.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/split-0.2.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/smallcheck-1.0.1/html/smallcheck.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/smallcheck-1.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/simple-sendfile-0.2.11/html/simple-sendfile.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/simple-sendfile-0.2.11/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/simple-reflect-0.3.1/html/simple-reflect.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/simple-reflect-0.3.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/semigroups-0.9/html/semigroups.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/semigroups-0.9/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/safe-0.3.3/html/safe.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/safe-0.3.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/regex-tdfa-1.1.8/html/regex-tdfa.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/regex-tdfa-1.1.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/regex-pcre-0.94.4/html/regex-pcre.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/regex-pcre-0.94.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/regex-base-0.93.2/html/regex-base.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/regex-base-0.93.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/random-shuffle-0.0.4/html/random-shuffle.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/random-shuffle-0.0.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/primitive-0.5.0.1/html/primitive.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/primitive-0.5.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/oeis-0.3.1/html/oeis.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/oeis-0.3.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/numbers-3000.1.0.1/html/numbers.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/numbers-3000.1.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/nats-0.1/html/nats.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/nats-0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/mersenne-random-pure64-0.2.0.3/html/mersenne-random-pure64.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/mersenne-random-pure64-0.2.0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/logict-0.6/html/logict.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/logict-0.6/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/lazysmallcheck-0.6/html/lazysmallcheck.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/lazysmallcheck-0.6/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/knob-0.1.1/html/knob.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/knob-0.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/http-types-0.8.0/html/http-types.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/http-types-0.8.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/hstatsd-0.1/html/hstatsd.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/hstatsd-0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/haskeline-0.7.0.3/html/haskeline.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/haskeline-0.7.0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/case-insensitive-1.0/html/case-insensitive.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/case-insensitive-1.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/hashable-1.2.0.5/html/hashable.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/hashable-1.2.0.5/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/erf-2.0.0.0/html/erf.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/erf-2.0.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/edit-distance-0.2.1.2/html/edit-distance.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/edit-distance-0.2.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/dependent-map-0.1.1.1/html/dependent-map.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/dependent-map-0.1.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/dependent-sum-0.2.0.1/html/dependent-sum.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/dependent-sum-0.2.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/data-memocombinators-0.4.4/html/data-memocombinators.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/data-memocombinators-0.4.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/data-inttrie-0.0.8/html/data-inttrie.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/data-inttrie-0.0.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/converge-0.1.0.1/html/converge.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/converge-0.1.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/continued-fractions-0.9.1.1/html/continued-fractions.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/continued-fractions-0.9.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/cereal-0.3.5.2/html/cereal.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/cereal-0.3.5.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/brainfuck-0.1/html/brainfuck.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/brainfuck-0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/blaze-builder-0.3.1.0/html/blaze-builder.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/blaze-builder-0.3.1.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/binary-0.7.0.1/html/binary.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/binary-0.7.0.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/base-unicode-symbols-0.2.2.4/html/base-unicode-symbols.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/base-unicode-symbols-0.2.2.4/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/NumInstances-1.0/html/NumInstances.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/NumInstances-1.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/MonadRandom-0.1.8/html/MonadRandom.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/MonadRandom-0.1.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/MonadPrompt-1.0.0.3/html/MonadPrompt.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/MonadPrompt-1.0.0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/Boolean-0.1.2/html/Boolean.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/Boolean-0.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/zlib-0.5.4.1/html/zlib.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/zlib-0.5.4.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/HTTP-4000.2.8/html/HTTP.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/HTTP-4000.2.8/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/network-2.4.1.2/html/network.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/network-2.4.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/parsec-3.1.3/html/parsec.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/parsec-3.1.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/mtl-2.1.2/html/mtl.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/mtl-2.1.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/transformers-0.3.0.0/html/transformers.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/transformers-0.3.0.0/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/random-1.0.1.1/html/random.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/random-1.0.1.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/time-1.4.0.2/html/time.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/time-1.4.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/text-0.11.2.3/html/text.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/text-0.11.2.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/Cabal-1.16.0.3/html/Cabal.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/Cabal-1.16.0.3/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/process-1.1.0.2/html/process.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/process-1.1.0.2/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/containers-0.5.2.1/html/containers.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/containers-0.5.2.1/html doesn't exist or isn't a directory
Warning: haddock-interfaces: /home/guest/.cabal/share/doc/deepseq-1.3.0.1/html/deepseq.haddock doesn't exist or isn't a file
Warning: haddock-html: /home/guest/.cabal/share/doc/deepseq-1.3.0.1/html doesn't exist or isn't a directory

Complete outputs:

$ rm -rf ~/.ghc ~/.cabal

$ cabal update
Config file path source is default config file.
Config file /home/guest/.cabal/config not found.
Writing default configuration to /home/guest/.cabal/config
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install

$ cabal install cabal-install 1>/cabal-install.txt 2>/cabal-install-error.txt

=== cabal-install.txt ===

Resolving dependencies...
Downloading deepseq-1.3.0.1...
Configuring deepseq-1.3.0.1...
Building deepseq-1.3.0.1...
Preprocessing library deepseq-1.3.0.1...
[1 of 1] Compiling Control.DeepSeq ( Control/DeepSeq.hs, dist/build/Control/DeepSeq.o )
Registering deepseq-1.3.0.1...
Installing library in /home/guest/.cabal/lib/deepseq-1.3.0.1/ghc-7.4.1
Registering deepseq-1.3.0.1...
Downloading containers-0.5.2.1...
Configuring containers-0.5.2.1...
Building containers-0.5.2.1...
Preprocessing library containers-0.5.2.1...
[ 1 of 17] Compiling Data.StrictPair ( Data/StrictPair.hs, dist/build/Data/StrictPair.o )
[ 2 of 17] Compiling Data.Set.Base ( Data/Set/Base.hs, dist/build/Data/Set/Base.o )
[ 3 of 17] Compiling Data.Map.Base ( Data/Map/Base.hs, dist/build/Data/Map/Base.o )
[ 4 of 17] Compiling Data.Map.Lazy ( Data/Map/Lazy.hs, dist/build/Data/Map/Lazy.o )
[ 5 of 17] Compiling Data.Map ( Data/Map.hs, dist/build/Data/Map.o )
[ 6 of 17] Compiling Data.Map.Strict ( Data/Map/Strict.hs, dist/build/Data/Map/Strict.o )
[ 7 of 17] Compiling Data.Set ( Data/Set.hs, dist/build/Data/Set.o )
[ 8 of 17] Compiling Data.BitUtil ( Data/BitUtil.hs, dist/build/Data/BitUtil.o )
[ 9 of 17] Compiling Data.IntSet.Base ( Data/IntSet/Base.hs, dist/build/Data/IntSet/Base.o )
[10 of 17] Compiling Data.IntSet ( Data/IntSet.hs, dist/build/Data/IntSet.o )
[11 of 17] Compiling Data.IntMap.Base ( Data/IntMap/Base.hs, dist/build/Data/IntMap/Base.o )
[12 of 17] Compiling Data.IntMap.Strict ( Data/IntMap/Strict.hs, dist/build/Data/IntMap/Strict.o )
[13 of 17] Compiling Data.IntMap.Lazy ( Data/IntMap/Lazy.hs, dist/build/Data/IntMap/Lazy.o )
[14 of 17] Compiling Data.IntMap ( Data/IntMap.hs, dist/build/Data/IntMap.o )
[15 of 17] Compiling Data.Sequence ( Data/Sequence.hs, dist/build/Data/Sequence.o )
[16 of 17] Compiling Data.Tree ( Data/Tree.hs, dist/build/Data/Tree.o )
[17 of 17] Compiling Data.Graph ( Data/Graph.hs, dist/build/Data/Graph.o )
Registering containers-0.5.2.1...
Installing library in /home/guest/.cabal/lib/containers-0.5.2.1/ghc-7.4.1
Registering containers-0.5.2.1...
Downloading process-1.1.0.2...
Configuring process-1.1.0.2...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for setitimer,... no
checking for sysconf... yes
checking value of SIG_DFL... -1
checking value of SIG_IGN... -1
configure: creating ./config.status
config.status: creating include/HsProcessConfig.h
config.status: include/HsProcessConfig.h is unchanged
Building process-1.1.0.2...
Preprocessing library process-1.1.0.2...
[1 of 3] Compiling System.Process.Internals ( System/Process/Internals.hs, dist/build/System/Process/Internals.o )
[2 of 3] Compiling System.Process ( System/Process.hs, dist/build/System/Process.o )
[3 of 3] Compiling System.Cmd ( System/Cmd.hs, dist/build/System/Cmd.o )
Registering process-1.1.0.2...
Installing library in /home/guest/.cabal/lib/process-1.1.0.2/ghc-7.4.1
Registering process-1.1.0.2...
Downloading Cabal-1.16.0.3...
[ 1 of 65] Compiling Distribution.Simple.PreProcess.Unlit ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/PreProcess/Unlit.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/PreProcess/Unlit.o )
[ 2 of 65] Compiling Distribution.TestSuite ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/TestSuite.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/TestSuite.o )
[ 3 of 65] Compiling Distribution.GetOpt ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/GetOpt.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/GetOpt.o )
[ 4 of 65] Compiling Distribution.Compat.ReadP ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Compat/ReadP.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Compat/ReadP.o )
[ 5 of 65] Compiling Distribution.ReadE ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/ReadE.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/ReadE.o )
[ 6 of 65] Compiling Distribution.Compat.Exception ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Compat/Exception.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Compat/Exception.o )
[ 7 of 65] Compiling Distribution.Compat.TempFile ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Compat/TempFile.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Compat/TempFile.o )
[ 8 of 65] Compiling Distribution.Compat.CopyFile ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Compat/CopyFile.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Compat/CopyFile.o )
[ 9 of 65] Compiling Distribution.Text ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Text.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Text.o )
[10 of 65] Compiling Distribution.ModuleName ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/ModuleName.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/ModuleName.o )
[11 of 65] Compiling Distribution.Verbosity ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Verbosity.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Verbosity.o )
[12 of 65] Compiling Distribution.System ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/System.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/System.o )
[13 of 65] Compiling Language.Haskell.Extension ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Language/Haskell/Extension.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Language/Haskell/Extension.o )
[14 of 65] Compiling Distribution.Version ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Version.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Version.o )
[15 of 65] Compiling Distribution.License ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/License.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/License.o )
[16 of 65] Compiling Distribution.Compiler ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Compiler.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Compiler.o )
[17 of 65] Compiling Distribution.Simple.Compiler ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Compiler.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Compiler.o )
[18 of 65] Compiling Distribution.Package ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Package.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Package.o )
[19 of 65] Compiling Distribution.PackageDescription ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/PackageDescription.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/PackageDescription.o )
[20 of 65] Compiling Distribution.Simple.Utils ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Utils.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Utils.o )
[21 of 65] Compiling Distribution.PackageDescription.Configuration ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/PackageDescription/Configuration.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/PackageDescription/Configuration.o )
[22 of 65] Compiling Distribution.Simple.Program.Types ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Types.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Types.o )
[23 of 65] Compiling Distribution.Simple.Program.Run ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Run.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Run.o )
[24 of 65] Compiling Distribution.Simple.Program.Hpc ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Hpc.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Hpc.o )
[25 of 65] Compiling Distribution.Simple.Program.Script ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Script.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Script.o )
[26 of 65] Compiling Distribution.Simple.Program.Ar ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Ar.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Ar.o )
[27 of 65] Compiling Distribution.Simple.Program.Ld ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Ld.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Ld.o )
[28 of 65] Compiling Distribution.Simple.Program.Builtin ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Builtin.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Builtin.o )
[29 of 65] Compiling Distribution.Simple.Program.Db ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/Db.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/Db.o )
[30 of 65] Compiling Distribution.Simple.Program ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program.o )
[31 of 65] Compiling Distribution.Simple.InstallDirs ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/InstallDirs.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/InstallDirs.o )
[32 of 65] Compiling Distribution.ParseUtils ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/ParseUtils.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/ParseUtils.o )
[33 of 65] Compiling Distribution.PackageDescription.Parse ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/PackageDescription/Parse.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/PackageDescription/Parse.o )
[34 of 65] Compiling Distribution.Simple.Command ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Command.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Command.o )
[35 of 65] Compiling Distribution.Simple.Setup ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Setup.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Setup.o )
[36 of 65] Compiling Distribution.Simple.Program.GHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/GHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/GHC.o )
[37 of 65] Compiling Distribution.InstalledPackageInfo ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/InstalledPackageInfo.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/InstalledPackageInfo.o )
[38 of 65] Compiling Distribution.Simple.PackageIndex ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/PackageIndex.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/PackageIndex.o )
[39 of 65] Compiling Distribution.Simple.LocalBuildInfo ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/LocalBuildInfo.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/LocalBuildInfo.o )
[40 of 65] Compiling Distribution.Simple.BuildPaths ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/BuildPaths.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/BuildPaths.o )
[41 of 65] Compiling Distribution.Simple.Hpc ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Hpc.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Hpc.o )
[42 of 65] Compiling Distribution.Simple.JHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/JHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/JHC.o )
[43 of 65] Compiling Distribution.Simple.NHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/NHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/NHC.o )
[44 of 65] Compiling Distribution.Simple.UHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/UHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/UHC.o )
[45 of 65] Compiling Distribution.Simple.Build.Macros ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Build/Macros.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Build/Macros.o )
[46 of 65] Compiling Distribution.Simple.Build.PathsModule ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Build/PathsModule.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Build/PathsModule.o )
[47 of 65] Compiling Distribution.Simple.Test ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Test.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Test.o )
[48 of 65] Compiling Distribution.Simple.PreProcess ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/PreProcess.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/PreProcess.o )
[49 of 65] Compiling Distribution.Simple.UserHooks ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/UserHooks.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/UserHooks.o )
[50 of 65] Compiling Distribution.Simple.Bench ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Bench.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Bench.o )
[51 of 65] Compiling Distribution.Simple.Hugs ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Hugs.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Hugs.o )
[52 of 65] Compiling Distribution.Simple.Program.HcPkg ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Program/HcPkg.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Program/HcPkg.o )
[53 of 65] Compiling Distribution.Simple.LHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/LHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/LHC.o )
[54 of 65] Compiling Distribution.Simple.GHC.IPI642 ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/GHC/IPI642.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/GHC/IPI642.o )
[55 of 65] Compiling Distribution.Simple.GHC.IPI641 ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/GHC/IPI641.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/GHC/IPI641.o )
[56 of 65] Compiling Distribution.Simple.GHC ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/GHC.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/GHC.o )
[57 of 65] Compiling Distribution.Simple.Register ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Register.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Register.o )
[58 of 65] Compiling Distribution.Simple.Build ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Build.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Build.o )
[59 of 65] Compiling Distribution.Simple.Install ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Install.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Install.o )
[60 of 65] Compiling Distribution.Simple.Haddock ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Haddock.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Haddock.o )
[61 of 65] Compiling Distribution.PackageDescription.Check ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/PackageDescription/Check.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/PackageDescription/Check.o )
[62 of 65] Compiling Distribution.Simple.SrcDist ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/SrcDist.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/SrcDist.o )
[63 of 65] Compiling Distribution.Simple.Configure ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple/Configure.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple/Configure.o )
[64 of 65] Compiling Distribution.Simple ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Distribution/Simple.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Distribution/Simple.o )
[65 of 65] Compiling Main ( /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/Setup.hs, /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/Main.o )
Linking /tmp/Cabal-1.16.0.3-1448/Cabal-1.16.0.3/dist/setup/setup ...
Configuring Cabal-1.16.0.3...
Building Cabal-1.16.0.3...
Preprocessing library Cabal-1.16.0.3...
[ 1 of 67] Compiling Paths_Cabal ( dist/build/autogen/Paths_Cabal.hs, dist/build/Paths_Cabal.o )
[ 2 of 67] Compiling Distribution.TestSuite ( Distribution/TestSuite.hs, dist/build/Distribution/TestSuite.o )
[ 3 of 67] Compiling Distribution.Simple.PreProcess.Unlit ( Distribution/Simple/PreProcess/Unlit.hs, dist/build/Distribution/Simple/PreProcess/Unlit.o )
[ 4 of 67] Compiling Distribution.GetOpt ( Distribution/GetOpt.hs, dist/build/Distribution/GetOpt.o )
[ 5 of 67] Compiling Distribution.Compat.Exception ( Distribution/Compat/Exception.hs, dist/build/Distribution/Compat/Exception.o )
[ 6 of 67] Compiling Distribution.Compat.TempFile ( Distribution/Compat/TempFile.hs, dist/build/Distribution/Compat/TempFile.o )
[ 7 of 67] Compiling Distribution.Compat.CopyFile ( Distribution/Compat/CopyFile.hs, dist/build/Distribution/Compat/CopyFile.o )
[ 8 of 67] Compiling Distribution.Compat.ReadP ( Distribution/Compat/ReadP.hs, dist/build/Distribution/Compat/ReadP.o )
[ 9 of 67] Compiling Distribution.ReadE ( Distribution/ReadE.hs, dist/build/Distribution/ReadE.o )
[10 of 67] Compiling Distribution.Verbosity ( Distribution/Verbosity.hs, dist/build/Distribution/Verbosity.o )
[11 of 67] Compiling Distribution.Text ( Distribution/Text.hs, dist/build/Distribution/Text.o )
[12 of 67] Compiling Distribution.ModuleName ( Distribution/ModuleName.hs, dist/build/Distribution/ModuleName.o )
[13 of 67] Compiling Distribution.System ( Distribution/System.hs, dist/build/Distribution/System.o )
[14 of 67] Compiling Language.Haskell.Extension ( Language/Haskell/Extension.hs, dist/build/Language/Haskell/Extension.o )
[15 of 67] Compiling Distribution.Version ( Distribution/Version.hs, dist/build/Distribution/Version.o )
[16 of 67] Compiling Distribution.License ( Distribution/License.hs, dist/build/Distribution/License.o )
[17 of 67] Compiling Distribution.Package ( Distribution/Package.hs, dist/build/Distribution/Package.o )
[18 of 67] Compiling Distribution.Simple.Utils ( Distribution/Simple/Utils.hs, dist/build/Distribution/Simple/Utils.o )
[19 of 67] Compiling Distribution.Simple.Program.Types ( Distribution/Simple/Program/Types.hs, dist/build/Distribution/Simple/Program/Types.o )
[20 of 67] Compiling Distribution.Simple.Program.Run ( Distribution/Simple/Program/Run.hs, dist/build/Distribution/Simple/Program/Run.o )
[21 of 67] Compiling Distribution.Simple.Program.Ar ( Distribution/Simple/Program/Ar.hs, dist/build/Distribution/Simple/Program/Ar.o )
[22 of 67] Compiling Distribution.Simple.Program.Ld ( Distribution/Simple/Program/Ld.hs, dist/build/Distribution/Simple/Program/Ld.o )
[23 of 67] Compiling Distribution.Simple.Program.Hpc ( Distribution/Simple/Program/Hpc.hs, dist/build/Distribution/Simple/Program/Hpc.o )
[24 of 67] Compiling Distribution.Simple.Program.Script ( Distribution/Simple/Program/Script.hs, dist/build/Distribution/Simple/Program/Script.o )
[25 of 67] Compiling Distribution.Simple.Program.Builtin ( Distribution/Simple/Program/Builtin.hs, dist/build/Distribution/Simple/Program/Builtin.o )
[26 of 67] Compiling Distribution.Simple.Program.Db ( Distribution/Simple/Program/Db.hs, dist/build/Distribution/Simple/Program/Db.o )
[27 of 67] Compiling Distribution.Simple.Program ( Distribution/Simple/Program.hs, dist/build/Distribution/Simple/Program.o )
[28 of 67] Compiling Distribution.Compiler ( Distribution/Compiler.hs, dist/build/Distribution/Compiler.o )
[29 of 67] Compiling Distribution.ParseUtils ( Distribution/ParseUtils.hs, dist/build/Distribution/ParseUtils.o )
[30 of 67] Compiling Distribution.InstalledPackageInfo ( Distribution/InstalledPackageInfo.hs, dist/build/Distribution/InstalledPackageInfo.o )
[31 of 67] Compiling Distribution.Simple.PackageIndex ( Distribution/Simple/PackageIndex.hs, dist/build/Distribution/Simple/PackageIndex.o )
[32 of 67] Compiling Distribution.Simple.GHC.IPI642 ( Distribution/Simple/GHC/IPI642.hs, dist/build/Distribution/Simple/GHC/IPI642.o )
[33 of 67] Compiling Distribution.Simple.GHC.IPI641 ( Distribution/Simple/GHC/IPI641.hs, dist/build/Distribution/Simple/GHC/IPI641.o )
[34 of 67] Compiling Distribution.Simple.Command ( Distribution/Simple/Command.hs, dist/build/Distribution/Simple/Command.o )
[35 of 67] Compiling Distribution.PackageDescription ( Distribution/PackageDescription.hs, dist/build/Distribution/PackageDescription.o )
[36 of 67] Compiling Distribution.PackageDescription.Configuration ( Distribution/PackageDescription/Configuration.hs, dist/build/Distribution/PackageDescription/Configuration.o )
[37 of 67] Compiling Distribution.PackageDescription.Parse ( Distribution/PackageDescription/Parse.hs, dist/build/Distribution/PackageDescription/Parse.o )
[38 of 67] Compiling Distribution.PackageDescription.PrettyPrint ( Distribution/PackageDescription/PrettyPrint.hs, dist/build/Distribution/PackageDescription/PrettyPrint.o )
[39 of 67] Compiling Distribution.PackageDescription.Check ( Distribution/PackageDescription/Check.hs, dist/build/Distribution/PackageDescription/Check.o )
[40 of 67] Compiling Distribution.Simple.Compiler ( Distribution/Simple/Compiler.hs, dist/build/Distribution/Simple/Compiler.o )
[41 of 67] Compiling Distribution.Simple.Program.HcPkg ( Distribution/Simple/Program/HcPkg.hs, dist/build/Distribution/Simple/Program/HcPkg.o )
[42 of 67] Compiling Distribution.Simple.InstallDirs ( Distribution/Simple/InstallDirs.hs, dist/build/Distribution/Simple/InstallDirs.o )
[43 of 67] Compiling Distribution.Simple.Setup ( Distribution/Simple/Setup.hs, dist/build/Distribution/Simple/Setup.o )
[44 of 67] Compiling Distribution.Make ( Distribution/Make.hs, dist/build/Distribution/Make.o )
[45 of 67] Compiling Distribution.Simple.Program.GHC ( Distribution/Simple/Program/GHC.hs, dist/build/Distribution/Simple/Program/GHC.o )
[46 of 67] Compiling Distribution.Simple.LocalBuildInfo ( Distribution/Simple/LocalBuildInfo.hs, dist/build/Distribution/Simple/LocalBuildInfo.o )
[47 of 67] Compiling Distribution.Simple.BuildPaths ( Distribution/Simple/BuildPaths.hs, dist/build/Distribution/Simple/BuildPaths.o )
[48 of 67] Compiling Distribution.Simple.JHC ( Distribution/Simple/JHC.hs, dist/build/Distribution/Simple/JHC.o )
[49 of 67] Compiling Distribution.Simple.NHC ( Distribution/Simple/NHC.hs, dist/build/Distribution/Simple/NHC.o )
[50 of 67] Compiling Distribution.Simple.UHC ( Distribution/Simple/UHC.hs, dist/build/Distribution/Simple/UHC.o )
[51 of 67] Compiling Distribution.Simple.Build.Macros ( Distribution/Simple/Build/Macros.hs, dist/build/Distribution/Simple/Build/Macros.o )
[52 of 67] Compiling Distribution.Simple.Build.PathsModule ( Distribution/Simple/Build/PathsModule.hs, dist/build/Distribution/Simple/Build/PathsModule.o )
[53 of 67] Compiling Distribution.Simple.GHC ( Distribution/Simple/GHC.hs, dist/build/Distribution/Simple/GHC.o )
[54 of 67] Compiling Distribution.Simple.LHC ( Distribution/Simple/LHC.hs, dist/build/Distribution/Simple/LHC.o )
[55 of 67] Compiling Distribution.Simple.Hpc ( Distribution/Simple/Hpc.hs, dist/build/Distribution/Simple/Hpc.o )
[56 of 67] Compiling Distribution.Simple.Test ( Distribution/Simple/Test.hs, dist/build/Distribution/Simple/Test.o )
[57 of 67] Compiling Distribution.Simple.PreProcess ( Distribution/Simple/PreProcess.hs, dist/build/Distribution/Simple/PreProcess.o )
[58 of 67] Compiling Distribution.Simple.UserHooks ( Distribution/Simple/UserHooks.hs, dist/build/Distribution/Simple/UserHooks.o )
[59 of 67] Compiling Distribution.Simple.Bench ( Distribution/Simple/Bench.hs, dist/build/Distribution/Simple/Bench.o )
[60 of 67] Compiling Distribution.Simple.SrcDist ( Distribution/Simple/SrcDist.hs, dist/build/Distribution/Simple/SrcDist.o )
[61 of 67] Compiling Distribution.Simple.Hugs ( Distribution/Simple/Hugs.hs, dist/build/Distribution/Simple/Hugs.o )
[62 of 67] Compiling Distribution.Simple.Register ( Distribution/Simple/Register.hs, dist/build/Distribution/Simple/Register.o )
[63 of 67] Compiling Distribution.Simple.Configure ( Distribution/Simple/Configure.hs, dist/build/Distribution/Simple/Configure.o )
[64 of 67] Compiling Distribution.Simple.Install ( Distribution/Simple/Install.hs, dist/build/Distribution/Simple/Install.o )
[65 of 67] Compiling Distribution.Simple.Build ( Distribution/Simple/Build.hs, dist/build/Distribution/Simple/Build.o )
[66 of 67] Compiling Distribution.Simple.Haddock ( Distribution/Simple/Haddock.hs, dist/build/Distribution/Simple/Haddock.o )
[67 of 67] Compiling Distribution.Simple ( Distribution/Simple.hs, dist/build/Distribution/Simple.o )
In-place registering Cabal-1.16.0.3...
Installing library in /home/guest/.cabal/lib/Cabal-1.16.0.3/ghc-7.4.1
Registering Cabal-1.16.0.3...
Downloading text-0.11.2.3...
Configuring text-0.11.2.3...
Building text-0.11.2.3...
Preprocessing library text-0.11.2.3...
[ 1 of 39] Compiling Data.Text.Encoding.Utf32 ( Data/Text/Encoding/Utf32.hs, dist/build/Data/Text/Encoding/Utf32.o )
[ 2 of 39] Compiling Data.Text.Fusion.Size ( Data/Text/Fusion/Size.hs, dist/build/Data/Text/Fusion/Size.o )
[ 3 of 39] Compiling Data.Text.Lazy.Builder.RealFloat.Functions ( Data/Text/Lazy/Builder/RealFloat/Functions.hs, dist/build/Data/Text/Lazy/Builder/RealFloat/Functions.o )
[ 4 of 39] Compiling Data.Text.Fusion.Internal ( Data/Text/Fusion/Internal.hs, dist/build/Data/Text/Fusion/Internal.o )
[ 5 of 39] Compiling Data.Text.Fusion.CaseMapping ( Data/Text/Fusion/CaseMapping.hs, dist/build/Data/Text/Fusion/CaseMapping.o )
[ 6 of 39] Compiling Data.Text.Encoding.Error ( Data/Text/Encoding/Error.hs, dist/build/Data/Text/Encoding/Error.o )
[ 7 of 39] Compiling Data.Text.UnsafeShift ( Data/Text/UnsafeShift.hs, dist/build/Data/Text/UnsafeShift.o )
[ 8 of 39] Compiling Data.Text.Unsafe.Base ( Data/Text/Unsafe/Base.hs, dist/build/Data/Text/Unsafe/Base.o )
[ 9 of 39] Compiling Data.Text.Encoding.Utf16 ( Data/Text/Encoding/Utf16.hs, dist/build/Data/Text/Encoding/Utf16.o )
[10 of 39] Compiling Data.Text.Util ( Data/Text/Util.hs, dist/build/Data/Text/Util.o )
[11 of 39] Compiling Data.Text.Fusion.Common ( Data/Text/Fusion/Common.hs, dist/build/Data/Text/Fusion/Common.o )
[12 of 39] Compiling Data.Text.Array ( Data/Text/Array.hs, dist/build/Data/Text/Array.o )
[13 of 39] Compiling Data.Text.UnsafeChar ( Data/Text/UnsafeChar.hs, dist/build/Data/Text/UnsafeChar.o )
[14 of 39] Compiling Data.Text.Internal ( Data/Text/Internal.hs, dist/build/Data/Text/Internal.o )
[15 of 39] Compiling Data.Text.Unsafe ( Data/Text/Unsafe.hs, dist/build/Data/Text/Unsafe.o )
[16 of 39] Compiling Data.Text.Private ( Data/Text/Private.hs, dist/build/Data/Text/Private.o )
[17 of 39] Compiling Data.Text.Fusion ( Data/Text/Fusion.hs, dist/build/Data/Text/Fusion.o )
[18 of 39] Compiling Data.Text.Encoding.Utf8 ( Data/Text/Encoding/Utf8.hs, dist/build/Data/Text/Encoding/Utf8.o )
[19 of 39] Compiling Data.Text.Encoding.Fusion.Common ( Data/Text/Encoding/Fusion/Common.hs, dist/build/Data/Text/Encoding/Fusion/Common.o )
[20 of 39] Compiling Data.Text.Encoding.Fusion ( Data/Text/Encoding/Fusion.hs, dist/build/Data/Text/Encoding/Fusion.o )
[21 of 39] Compiling Data.Text.Lazy.Encoding.Fusion ( Data/Text/Lazy/Encoding/Fusion.hs, dist/build/Data/Text/Lazy/Encoding/Fusion.o )
[22 of 39] Compiling Data.Text.Encoding ( Data/Text/Encoding.hs, dist/build/Data/Text/Encoding.o )
[23 of 39] Compiling Data.Text.Search ( Data/Text/Search.hs, dist/build/Data/Text/Search.o )
[24 of 39] Compiling Data.Text.Foreign ( Data/Text/Foreign.hs, dist/build/Data/Text/Foreign.o )
[25 of 39] Compiling Data.Text ( Data/Text.hs, dist/build/Data/Text.o )
[26 of 39] Compiling Data.Text.IO.Internal ( Data/Text/IO/Internal.hs, dist/build/Data/Text/IO/Internal.o )
[27 of 39] Compiling Data.Text.IO ( Data/Text/IO.hs, dist/build/Data/Text/IO.o )
[28 of 39] Compiling Data.Text.Lazy.Internal ( Data/Text/Lazy/Internal.hs, dist/build/Data/Text/Lazy/Internal.o )
[29 of 39] Compiling Data.Text.Lazy.Fusion ( Data/Text/Lazy/Fusion.hs, dist/build/Data/Text/Lazy/Fusion.o )
[30 of 39] Compiling Data.Text.Lazy.Search ( Data/Text/Lazy/Search.hs, dist/build/Data/Text/Lazy/Search.o )
[31 of 39] Compiling Data.Text.Lazy ( Data/Text/Lazy.hs, dist/build/Data/Text/Lazy.o )
[32 of 39] Compiling Data.Text.Lazy.Read ( Data/Text/Lazy/Read.hs, dist/build/Data/Text/Lazy/Read.o )
[33 of 39] Compiling Data.Text.Lazy.IO ( Data/Text/Lazy/IO.hs, dist/build/Data/Text/Lazy/IO.o )
[34 of 39] Compiling Data.Text.Lazy.Builder ( Data/Text/Lazy/Builder.hs, dist/build/Data/Text/Lazy/Builder.o )
[35 of 39] Compiling Data.Text.Lazy.Builder.Functions ( Data/Text/Lazy/Builder/Functions.hs, dist/build/Data/Text/Lazy/Builder/Functions.o )
[36 of 39] Compiling Data.Text.Lazy.Builder.Int ( Data/Text/Lazy/Builder/Int.hs, dist/build/Data/Text/Lazy/Builder/Int.o )
[37 of 39] Compiling Data.Text.Lazy.Builder.RealFloat ( Data/Text/Lazy/Builder/RealFloat.hs, dist/build/Data/Text/Lazy/Builder/RealFloat.o )
[38 of 39] Compiling Data.Text.Lazy.Encoding ( Data/Text/Lazy/Encoding.hs, dist/build/Data/Text/Lazy/Encoding.o )
[39 of 39] Compiling Data.Text.Read ( Data/Text/Read.hs, dist/build/Data/Text/Read.o )
Registering text-0.11.2.3...
Installing library in /home/guest/.cabal/lib/text-0.11.2.3/ghc-7.4.1
Registering text-0.11.2.3...
Downloading time-1.4.0.2...
Configuring time-1.4.0.2...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 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 time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for gmtime_r... yes
checking for localtime_r... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking whether time.h and sys/time.h may both be included... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether altzone is declared... no
configure: creating ./config.status
config.status: creating include/HsTimeConfig.h
config.status: include/HsTimeConfig.h is unchanged
Building time-1.4.0.2...
Preprocessing library time-1.4.0.2...
[ 1 of 24] Compiling Data.Time.Clock.CTimeval ( Data/Time/Clock/CTimeval.hs, dist/build/Data/Time/Clock/CTimeval.o )
[ 2 of 24] Compiling Data.Time.Clock.Scale ( Data/Time/Clock/Scale.hs, dist/build/Data/Time/Clock/Scale.o )
[ 3 of 24] Compiling Data.Time.Calendar.Private ( Data/Time/Calendar/Private.hs, dist/build/Data/Time/Calendar/Private.o )
[ 4 of 24] Compiling Data.Time.Calendar.MonthDay ( Data/Time/Calendar/MonthDay.hs, dist/build/Data/Time/Calendar/MonthDay.o )
[ 5 of 24] Compiling Data.Time.Calendar.Days ( Data/Time/Calendar/Days.hs, dist/build/Data/Time/Calendar/Days.o )
[ 6 of 24] Compiling Data.Time.Calendar.OrdinalDate ( Data/Time/Calendar/OrdinalDate.hs, dist/build/Data/Time/Calendar/OrdinalDate.o )
[ 7 of 24] Compiling Data.Time.Calendar.Gregorian ( Data/Time/Calendar/Gregorian.hs, dist/build/Data/Time/Calendar/Gregorian.o )
[ 8 of 24] Compiling Data.Time.Calendar.WeekDate ( Data/Time/Calendar/WeekDate.hs, dist/build/Data/Time/Calendar/WeekDate.o )
[ 9 of 24] Compiling Data.Time.Calendar.JulianYearDay ( Data/Time/Calendar/JulianYearDay.hs, dist/build/Data/Time/Calendar/JulianYearDay.o )
[10 of 24] Compiling Data.Time.Calendar.Julian ( Data/Time/Calendar/Julian.hs, dist/build/Data/Time/Calendar/Julian.o )
[11 of 24] Compiling Data.Time.Clock.UTC ( Data/Time/Clock/UTC.hs, dist/build/Data/Time/Clock/UTC.o )
[12 of 24] Compiling Data.Time.Clock.POSIX ( Data/Time/Clock/POSIX.hs, dist/build/Data/Time/Clock/POSIX.o )
[13 of 24] Compiling Data.Time.Clock.UTCDiff ( Data/Time/Clock/UTCDiff.hs, dist/build/Data/Time/Clock/UTCDiff.o )
[14 of 24] Compiling Data.Time.Clock ( Data/Time/Clock.hs, dist/build/Data/Time/Clock.o )
[15 of 24] Compiling Data.Time.LocalTime.TimeZone ( Data/Time/LocalTime/TimeZone.hs, dist/build/Data/Time/LocalTime/TimeZone.o )
[16 of 24] Compiling Data.Time.LocalTime.TimeOfDay ( Data/Time/LocalTime/TimeOfDay.hs, dist/build/Data/Time/LocalTime/TimeOfDay.o )
[17 of 24] Compiling Data.Time.Calendar ( Data/Time/Calendar.hs, dist/build/Data/Time/Calendar.o )
[18 of 24] Compiling Data.Time.Calendar.Easter ( Data/Time/Calendar/Easter.hs, dist/build/Data/Time/Calendar/Easter.o )
[19 of 24] Compiling Data.Time.LocalTime.LocalTime ( Data/Time/LocalTime/LocalTime.hs, dist/build/Data/Time/LocalTime/LocalTime.o )
[20 of 24] Compiling Data.Time.LocalTime ( Data/Time/LocalTime.hs, dist/build/Data/Time/LocalTime.o )
[21 of 24] Compiling Data.Time.Clock.TAI ( Data/Time/Clock/TAI.hs, dist/build/Data/Time/Clock/TAI.o )
[22 of 24] Compiling Data.Time.Format.Parse ( Data/Time/Format/Parse.hs, dist/build/Data/Time/Format/Parse.o )
[23 of 24] Compiling Data.Time.Format ( Data/Time/Format.hs, dist/build/Data/Time/Format.o )
[24 of 24] Compiling Data.Time ( Data/Time.hs, dist/build/Data/Time.o )
Registering time-1.4.0.2...
Installing library in /home/guest/.cabal/lib/time-1.4.0.2/ghc-7.4.1
Registering time-1.4.0.2...
Downloading random-1.0.1.1...
Configuring random-1.0.1.1...
Building random-1.0.1.1...
Preprocessing library random-1.0.1.1...
[1 of 1] Compiling System.Random ( System/Random.hs, dist/build/System/Random.o )
Registering random-1.0.1.1...
Installing library in /home/guest/.cabal/lib/random-1.0.1.1/ghc-7.4.1
Registering random-1.0.1.1...
Downloading transformers-0.3.0.0...
Configuring transformers-0.3.0.0...
Building transformers-0.3.0.0...
Preprocessing library transformers-0.3.0.0...
[ 1 of 24] Compiling Data.Functor.Product ( Data/Functor/Product.hs, dist/build/Data/Functor/Product.o )
[ 2 of 24] Compiling Data.Functor.Compose ( Data/Functor/Compose.hs, dist/build/Data/Functor/Compose.o )
[ 3 of 24] Compiling Data.Functor.Identity ( Data/Functor/Identity.hs, dist/build/Data/Functor/Identity.o )
[ 4 of 24] Compiling Control.Monad.Trans.Class ( Control/Monad/Trans/Class.hs, dist/build/Control/Monad/Trans/Class.o )
[ 5 of 24] Compiling Control.Monad.IO.Class ( Control/Monad/IO/Class.hs, dist/build/Control/Monad/IO/Class.o )
[ 6 of 24] Compiling Control.Monad.Trans.Cont ( Control/Monad/Trans/Cont.hs, dist/build/Control/Monad/Trans/Cont.o )
[ 7 of 24] Compiling Control.Monad.Trans.Error ( Control/Monad/Trans/Error.hs, dist/build/Control/Monad/Trans/Error.o )
[ 8 of 24] Compiling Control.Monad.Trans.Identity ( Control/Monad/Trans/Identity.hs, dist/build/Control/Monad/Trans/Identity.o )
[ 9 of 24] Compiling Control.Monad.Trans.List ( Control/Monad/Trans/List.hs, dist/build/Control/Monad/Trans/List.o )
[10 of 24] Compiling Control.Monad.Trans.Maybe ( Control/Monad/Trans/Maybe.hs, dist/build/Control/Monad/Trans/Maybe.o )
[11 of 24] Compiling Control.Monad.Trans.Reader ( Control/Monad/Trans/Reader.hs, dist/build/Control/Monad/Trans/Reader.o )
[12 of 24] Compiling Control.Monad.Trans.RWS.Lazy ( Control/Monad/Trans/RWS/Lazy.hs, dist/build/Control/Monad/Trans/RWS/Lazy.o )
[13 of 24] Compiling Control.Monad.Trans.RWS ( Control/Monad/Trans/RWS.hs, dist/build/Control/Monad/Trans/RWS.o )
[14 of 24] Compiling Control.Monad.Trans.RWS.Strict ( Control/Monad/Trans/RWS/Strict.hs, dist/build/Control/Monad/Trans/RWS/Strict.o )
[15 of 24] Compiling Control.Monad.Trans.State.Lazy ( Control/Monad/Trans/State/Lazy.hs, dist/build/Control/Monad/Trans/State/Lazy.o )
[16 of 24] Compiling Control.Monad.Trans.State ( Control/Monad/Trans/State.hs, dist/build/Control/Monad/Trans/State.o )
[17 of 24] Compiling Control.Monad.Trans.State.Strict ( Control/Monad/Trans/State/Strict.hs, dist/build/Control/Monad/Trans/State/Strict.o )
[18 of 24] Compiling Control.Monad.Trans.Writer.Lazy ( Control/Monad/Trans/Writer/Lazy.hs, dist/build/Control/Monad/Trans/Writer/Lazy.o )
[19 of 24] Compiling Control.Monad.Trans.Writer ( Control/Monad/Trans/Writer.hs, dist/build/Control/Monad/Trans/Writer.o )
[20 of 24] Compiling Control.Monad.Trans.Writer.Strict ( Control/Monad/Trans/Writer/Strict.hs, dist/build/Control/Monad/Trans/Writer/Strict.o )
[21 of 24] Compiling Data.Functor.Constant ( Data/Functor/Constant.hs, dist/build/Data/Functor/Constant.o )
[22 of 24] Compiling Control.Applicative.Lift ( Control/Applicative/Lift.hs, dist/build/Control/Applicative/Lift.o )
[23 of 24] Compiling Control.Applicative.Backwards ( Control/Applicative/Backwards.hs, dist/build/Control/Applicative/Backwards.o )
[24 of 24] Compiling Data.Functor.Reverse ( Data/Functor/Reverse.hs, dist/build/Data/Functor/Reverse.o )
Registering transformers-0.3.0.0...
Installing library in /home/guest/.cabal/lib/transformers-0.3.0.0/ghc-7.4.1
Registering transformers-0.3.0.0...
Downloading mtl-2.1.2...
Configuring mtl-2.1.2...
Building mtl-2.1.2...
Preprocessing library mtl-2.1.2...
[ 1 of 21] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o )
[ 2 of 21] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )
[ 3 of 21] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )
[ 4 of 21] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o )
[ 5 of 21] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o )
[ 6 of 21] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )
[ 7 of 21] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )
[ 8 of 21] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o )
[ 9 of 21] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/buil

@jstolarek
Copy link
Contributor

I think that the problem might be caused by having template-haskell 2.8.0.0 installed with GHC 7.4.1. With that version of GHC you should use template-haskell 2.7.0.0. You can pin the dependency by adding this line:

constraint: template-haskell==2.7.0.0

to ~/.cabal/config and reinstalling packages (rm -rf ~/.ghc ~/.cabal).

@jstolarek
Copy link
Contributor

Argh, of course I meant the other way around! First delete contents of ~/.cabal directory, then run cabal update and then pin the dependency by adding constrain to ~./cabal/config.

@shakthimaan
Copy link
Author

Success!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants