Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] stack: stack setup fails unless gmp-devel is installed
@ 2019-05-04  4:51 voidlinux-github
  2019-06-09 13:06 ` [ISSUE] [CLOSED] " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-05-04  4:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1827 bytes --]

New issue by ackalker on void-packages repository

https://github.com/void-linux/void-packages/issues/11481
Description: ### System

* xuname:  
  Void 4.19.38_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFFF
* package:  
  stack-1.9.3_1

### Expected behavior

`stack setup` should complete without errors.

### Actual behavior

(while trying to build ltcmelo/psychec)
```
$ stack setup
Downloaded lts-5.1 build plan.    
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-7.10.3.                                     
Installed GHC.                                                                 
The GHC located at /home/miki/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc failed to compile a sanity check. Please see:

    http://docs.haskellstack.org/en/stable/install_and_upgrade/

for more information. Exception was:
Received ExitFailure 1 when running
Raw command: /home/miki/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc /tmp/stack-sanity-check-03904f76efe7d887/Main.hs -no-user-package-db
Run from: /tmp/stack-sanity-check-03904f76efe7d887/
Standard output:

[1 of 1] Compiling Main             ( /tmp/stack-sanity-check-03904f76efe7d887/Main.hs, /tmp/stack-sanity-check-03904f76efe7d887/Main.o )
Linking /tmp/stack-sanity-check-03904f76efe7d887/Main ...
Standard error:

/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
```

### Steps to reproduce the behavior

* Run `stack setup` for the first time in a clean environment (i.e. no `$HOME/.stack` directory.

### Steps to fix the problem

* Install `gmp-devel` package.

I believe the `gmp-devel` package should be added to `stack` as a runtime dependency, for it to be usable.

See also: commercialhaskell/stack#4034 .

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ISSUE] [CLOSED] stack: stack setup fails unless gmp-devel is installed
  2019-05-04  4:51 [ISSUE] stack: stack setup fails unless gmp-devel is installed voidlinux-github
@ 2019-06-09 13:06 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-06-09 13:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]

Closed issue by ackalker on void-packages repository

https://github.com/void-linux/void-packages/issues/11481
Description: ### System

* xuname:  
  Void 4.19.38_1 x86_64 GenuineIntel uptodate rrrrmdFFFFFFFF
* package:  
  stack-1.9.3_1

### Expected behavior

`stack setup` should complete without errors.

### Actual behavior

(while trying to build ltcmelo/psychec)
```
$ stack setup
Downloaded lts-5.1 build plan.    
Preparing to install GHC to an isolated location.
This will not interfere with any system-level installation.
Downloaded ghc-7.10.3.                                     
Installed GHC.                                                                 
The GHC located at /home/miki/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc failed to compile a sanity check. Please see:

    http://docs.haskellstack.org/en/stable/install_and_upgrade/

for more information. Exception was:
Received ExitFailure 1 when running
Raw command: /home/miki/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc /tmp/stack-sanity-check-03904f76efe7d887/Main.hs -no-user-package-db
Run from: /tmp/stack-sanity-check-03904f76efe7d887/
Standard output:

[1 of 1] Compiling Main             ( /tmp/stack-sanity-check-03904f76efe7d887/Main.hs, /tmp/stack-sanity-check-03904f76efe7d887/Main.o )
Linking /tmp/stack-sanity-check-03904f76efe7d887/Main ...
Standard error:

/bin/ld: cannot find -lgmp
collect2: error: ld returned 1 exit status
```

### Steps to reproduce the behavior

* Run `stack setup` for the first time in a clean environment (i.e. no `$HOME/.stack` directory.

### Steps to fix the problem

* Install `gmp-devel` package.

I believe the `gmp-devel` package should be added to `stack` as a runtime dependency for `stack` to be usable "out of the box".

See also: commercialhaskell/stack#4034 .

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-09 13:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-04  4:51 [ISSUE] stack: stack setup fails unless gmp-devel is installed voidlinux-github
2019-06-09 13:06 ` [ISSUE] [CLOSED] " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).