David Banas | 14 Sep 22:57 2013
Picon

Trouble installing haskeline: ExitFailure 139

Has anyone else hit an unexplained ExitFailure 139 when trying to install the haskeline package?

Thanks,
-db

dbanas <at> dbanas-lap:~/prj$ cabal install -v haskeline
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Extracting
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 <at> dbanas-lap:~/prj$ 

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Brandon Allbery | 14 Sep 23:25 2013
Picon

Re: Trouble installing haskeline: ExitFailure 139

On Sat, Sep 14, 2013 at 4:57 PM, David Banas <capn.freako <at> gmail.com> wrote:
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 <at> gmail.com                                  ballbery <at> sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Judah Jacobson | 15 Sep 06:10 2013
Picon

Re: Trouble installing haskeline: ExitFailure 139

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 <capn.freako <at> gmail.com> wrote:
Has anyone else hit an unexplained ExitFailure 139 when trying to install the haskeline package?

Thanks,
-db

dbanas <at> dbanas-lap:~/prj$ cabal install -v haskeline
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Extracting
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 <at> dbanas-lap:~/prj$ 


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
David Banas | 25 Oct 08:47 2013
Picon

Re: Trouble installing haskeline: ExitFailure 139

Sorry about the delay in my response. This excerpt is from an attempt to build lifted-base, but is producing the same error:

dbanas <at> 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 <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure
Segmentation fault (core dumped)
dbanas <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V
The Glorious Glasgow Haskell Compilation System, version 7.6.3
dbanas <at> 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 <capn.... <at> gmail.com> wrote:
Has anyone else hit an unexplained ExitFailure 139 when trying to install the haskeline package?

Thanks,
-db

dbanas <at> dbanas-lap:~/prj$ cabal install -v haskeline
Reading available packages...
Choosing modular solver.
Resolving dependencies...
Extracting
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 <at> dbanas-lap:~/prj$ 


_______________________________________________
Haskell-Cafe mailing list
Haskel... <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
Niklas Hambüchen | 26 Oct 14:51 2013

Re: Trouble installing haskeline: ExitFailure 139

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 <at> 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 <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure
>     Segmentation fault (core dumped)
>     dbanas <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V
>     The Glorious Glasgow Haskell Compilation System, version 7.6.3
>     dbanas <at> 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
Roman Cheplyaka | 26 Oct 17:17 2013

Re: Trouble installing haskeline: ExitFailure 139

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 <mail <at> nh2.me> [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 <at> 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 <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure
> >     Segmentation fault (core dumped)
> >     dbanas <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V
> >     The Glorious Glasgow Haskell Compilation System, version 7.6.3
> >     dbanas <at> 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 <at> haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe <at> haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
David Banas | 26 Oct 17:27 2013
Picon

Re: Trouble installing haskeline: ExitFailure 139

Thanks to both of you for responding.
-db

On Oct 26, 2013, at 8:17 AM, Roman Cheplyaka <roma <at> ro-che.info> wrote:

> 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 <mail <at> nh2.me> [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 <at> 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 <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ./Setup configure
>>>    Segmentation fault (core dumped)
>>>    dbanas <at> dbanas-lap:~/prj/plush/lifted-base-0.2.1.0$ ghc -V
>>>    The Glorious Glasgow Haskell Compilation System, version 7.6.3
>>>    dbanas <at> 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 <at> haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
Niklas Hambüchen | 26 Oct 17:28 2013

Re: Trouble installing haskeline: ExitFailure 139

It doesn't make clear where the segfault comes from though, does it?

On Sat 26 Oct 2013 16:27:48 BST, David Banas wrote:
> Thanks to both of you for responding.

Gmane