Trouble installing haskeline: ExitFailure 139

Has anyone else hit an unexplained *ExitFailure 139* when trying to install the *haskeline* package? Thanks, -db dbanas@dbanas-lap:~/prj$ cabal install -v haskeline Reading available packages... Choosing modular solver. Resolving dependencies... Extracting /home/dbanas/.cabal/packages/ hackage.haskell.org/haskeline/0.7.0.3/haskeline-0.7.0.3.tar.gz to /tmp/haskeline-0.7.0.3-16574... creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup /usr/local/bin/ghc --make /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs -o /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup -odir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -hidir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -i -i/tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3 -package Cabal-1.16.0 [1 of 1] Compiling Main ( /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs, /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/Main.o ) Linking /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup ... /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup configure --verbose=2 --ghc --prefix=/home/dbanas/.cabal --user --flags=terminfo --flags=-libiconv --flags=-legacy-encoding --constraint=unix ==2.6.0.1 --constraint=transformers ==0.3.0.0 --constraint=terminfo ==0.3.2.5 --constraint=filepath ==1.3.0.1 --constraint=directory ==1.2.0.1 --constraint=containers ==0.5.0.0 --constraint=bytestring ==0.10.0.2 --constraint=base ==4.6.0.1 --disable-tests --disable-benchmarks World file is already up to date. cabal: Error: some packages failed to install: haskeline-0.7.0.3 failed during the configure step. The exception was: ExitFailure 139 dbanas@dbanas-lap:~/prj$

On Sat, Sep 14, 2013 at 4:57 PM, David Banas
Has anyone else hit an unexplained *ExitFailure 139* when trying to install the *haskeline* package?
139 sounds like how the shell passes on "Segmentation fault (core dumped)". -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net

Can you try running the setup script manually?
ghc --make Setup.hs
./Setup configure
and see if it prints an error that's any more helpful?
Also, what operating system and version of ghc do you have?
-Judah
On Sat, Sep 14, 2013 at 1:57 PM, David Banas
Has anyone else hit an unexplained *ExitFailure 139* when trying to install the *haskeline* package?
Thanks, -db
dbanas@dbanas-lap:~/prj$ cabal install -v haskeline Reading available packages... Choosing modular solver. Resolving dependencies... Extracting /home/dbanas/.cabal/packages/ hackage.haskell.org/haskeline/0.7.0.3/haskeline-0.7.0.3.tar.gz to /tmp/haskeline-0.7.0.3-16574... creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup /usr/local/bin/ghc --make /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs -o /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup -odir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -hidir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -i -i/tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3 -package Cabal-1.16.0 [1 of 1] Compiling Main ( /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs, /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/Main.o ) Linking /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup ... /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup configure --verbose=2 --ghc --prefix=/home/dbanas/.cabal --user --flags=terminfo --flags=-libiconv --flags=-legacy-encoding --constraint=unix ==2.6.0.1 --constraint=transformers ==0.3.0.0 --constraint=terminfo ==0.3.2.5 --constraint=filepath ==1.3.0.1 --constraint=directory ==1.2.0.1 --constraint=containers ==0.5.0.0 --constraint=bytestring ==0.10.0.2 --constraint=base ==4.6.0.1 --disable-tests --disable-benchmarks World file is already up to date. cabal: Error: some packages failed to install: haskeline-0.7.0.3 failed during the configure step. The exception was: ExitFailure 139 dbanas@dbanas-lap:~/prj$
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Sorry about the delay in my response. This excerpt is from an attempt to build *lifted-base*, but is producing the same error: dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc --make Setup.hs [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure Segmentation fault (core dumped) dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V The Glorious Glasgow Haskell Compilation System, version 7.6.3 dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ uname -a Linux dbanas-lap 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux On Saturday, September 14, 2013 9:10:17 PM UTC-7, Judah Jacobson wrote:
Can you try running the setup script manually?
ghc --make Setup.hs ./Setup configure
and see if it prints an error that's any more helpful?
Also, what operating system and version of ghc do you have?
-Judah
On Sat, Sep 14, 2013 at 1:57 PM, David Banas
javascript: wrote:
Has anyone else hit an unexplained *ExitFailure 139* when trying to install the *haskeline* package?
Thanks, -db
dbanas@dbanas-lap:~/prj$ cabal install -v haskeline Reading available packages... Choosing modular solver. Resolving dependencies... Extracting /home/dbanas/.cabal/packages/ hackage.haskell.org/haskeline/0.7.0.3/haskeline-0.7.0.3.tar.gz to /tmp/haskeline-0.7.0.3-16574... creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist creating /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup /usr/local/bin/ghc --make /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs -o /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup -odir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -hidir /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup -i -i/tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3 -package Cabal-1.16.0 [1 of 1] Compiling Main ( /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/Setup.hs, /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/Main.o ) Linking /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup ... /tmp/haskeline-0.7.0.3-16574/haskeline-0.7.0.3/dist/setup/setup configure --verbose=2 --ghc --prefix=/home/dbanas/.cabal --user --flags=terminfo --flags=-libiconv --flags=-legacy-encoding --constraint=unix ==2.6.0.1 --constraint=transformers ==0.3.0.0 --constraint=terminfo ==0.3.2.5 --constraint=filepath ==1.3.0.1 --constraint=directory ==1.2.0.1 --constraint=containers ==0.5.0.0 --constraint=bytestring ==0.10.0.2 --constraint=base ==4.6.0.1 --disable-tests --disable-benchmarks World file is already up to date. cabal: Error: some packages failed to install: haskeline-0.7.0.3 failed during the configure step. The exception was: ExitFailure 139 dbanas@dbanas-lap:~/prj$
_______________________________________________ Haskell-Cafe mailing list Haskel...@haskell.org javascript: http://www.haskell.org/mailman/listinfo/haskell-cafe

When I follow these steps, I do not get a segfault, but instead ./Setup configure Configuring lifted-base-0.2.1.0... Setup: At least the following dependencies are missing: base-unicode-symbols >=0.1.1 && <0.3, monad-control ==0.3.*, transformers-base ==0.4.* despite having all these dependencies installed. On 25/10/13 07:47, David Banas wrote:
Sorry about the delay in my response. This excerpt is from an attempt to build /lifted-base/, but is producing the same error:
dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc --make Setup.hs [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure Segmentation fault (core dumped) dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V The Glorious Glasgow Haskell Compilation System, version 7.6.3 dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ uname -a Linux dbanas-lap 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

IIRC Setup uses the global database by default.
Try ./Setup configure --user.
(Wow, it's been a long time since the last time I didn't use cabal install.)
* Niklas Hambüchen
When I follow these steps, I do not get a segfault, but instead
./Setup configure Configuring lifted-base-0.2.1.0... Setup: At least the following dependencies are missing: base-unicode-symbols >=0.1.1 && <0.3, monad-control ==0.3.*, transformers-base ==0.4.*
despite having all these dependencies installed.
On 25/10/13 07:47, David Banas wrote:
Sorry about the delay in my response. This excerpt is from an attempt to build /lifted-base/, but is producing the same error:
dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc --make Setup.hs [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure Segmentation fault (core dumped) dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V The Glorious Glasgow Haskell Compilation System, version 7.6.3 dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ uname -a Linux dbanas-lap 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Thanks to both of you for responding.
-db
On Oct 26, 2013, at 8:17 AM, Roman Cheplyaka
IIRC Setup uses the global database by default.
Try ./Setup configure --user.
(Wow, it's been a long time since the last time I didn't use cabal install.)
* Niklas Hambüchen
[2013-10-26 13:51:19+0100] When I follow these steps, I do not get a segfault, but instead
./Setup configure Configuring lifted-base-0.2.1.0... Setup: At least the following dependencies are missing: base-unicode-symbols >=0.1.1 && <0.3, monad-control ==0.3.*, transformers-base ==0.4.*
despite having all these dependencies installed.
On 25/10/13 07:47, David Banas wrote:
Sorry about the delay in my response. This excerpt is from an attempt to build /lifted-base/, but is producing the same error:
dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc --make Setup.hs [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure Segmentation fault (core dumped) dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V The Glorious Glasgow Haskell Compilation System, version 7.6.3 dbanas@dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ uname -a Linux dbanas-lap 3.8.0-31-generic #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (5)
-
Brandon Allbery
-
David Banas
-
Judah Jacobson
-
Niklas Hambüchen
-
Roman Cheplyaka