-
Notifications
You must be signed in to change notification settings - Fork 70
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
Comments
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). |
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. |
"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 Are the steps correct? I now get the random-source build error: === Error === ... === END === Does random-source require any external package or library for it to build? |
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:
|
Please run these two commands and paste the input:
It will probably help to know which GHC version and which TH version are we dealing with. |
$ ghc --version $ ghc-pkg list $ ghc-pkg check Complete outputs: $ rm -rf ~/.ghc ~/.cabal $ cabal update $ cabal install cabal-install 1> === cabal-install.txt === Resolving dependencies... |
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:
to |
Argh, of course I meant the other way around! First delete contents of |
Success! |
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 ===
The text was updated successfully, but these errors were encountered: