From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] stack: stack setup fails unless gmp-devel is installed
Date: Sun, 09 Jun 2019 15:06:32 +0200 [thread overview]
Message-ID: <20190609130632.vK6eJq15bC_42ip8r7dYYmC_fqRA4IggINBScocKjfs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11481@inbox.vuxu.org>
[-- 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 .
prev parent reply other threads:[~2019-06-09 13:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-04 4:51 [ISSUE] " voidlinux-github
2019-06-09 13:06 ` voidlinux-github [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190609130632.vK6eJq15bC_42ip8r7dYYmC_fqRA4IggINBScocKjfs@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).