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

Install fails with lts-7.0 #199

Closed
mayeranalytics opened this Issue Sep 22, 2016 · 3 comments

Comments

Projects
None yet
4 participants
@mayeranalytics

mayeranalytics commented Sep 22, 2016

LTS Haskell 7.0 (gcc-8.0.1) just came out and unfortunately this now seems to mean that haskell-vim-now does not install properly anymore. (I was able to trace the problem to the codex package, see issue 63).

Here's where I think haskell-vim-now has a bug: Even if I carefully setup the global stack project (.stack/global-project/) to use LTS-6.12 via

stack --resolver lts-6.12 setup

so that I can successfully install the codex package via

stack --resolver lts-6.12 install codex

I still have a failure of

bash /tmp/haskell-vim-now.sh

as follows:

...
...
--- Setting up GHC if needed...
Downloaded ghc-8.0.1.                                      
Installed GHC.                                                                 
    Stack bin path: /Users/mmayer/.local/bin
    Stack global path: /Users/mmayer/.stack
    Stack global config location: /Users/mmayer/.stack/global-project/stack.yaml
    Stack resolver: lts-7.0
    /Users/mmayer/.config/haskell-vim-now/.stack-bin -> /Users/mmayer/.local/bin
--- Installing helper binaries...
Plan construction failed.
*** Binary installation failed with error 1.
*** Aborting...

Somehow the scripts pick up LTS-7.0 (ghc-8.0.1) along the way, and the installation fails.

I'm using a clean Ubuntu VM, and I have the same issue on Mac OS X.

@mayeranalytics mayeranalytics changed the title from Fail with lts-7.0 to Install fails with lts-7.0 Sep 22, 2016

@bitemyapp

This comment has been minimized.

bitemyapp commented Sep 22, 2016

This is fixed as far as codex is concerned, I believe: aloiscochard/codex#63 (comment)

@j127

This comment has been minimized.

j127 commented Sep 30, 2016

I had the "Binary installation failed with error 1." error during installation:

Running this:

$ stack --resolver lts-6.12 setup

and then editing a line in ~/.stack/global-project/stack.yml to lts-6.12:

resolver: lts-6.12

the installation then worked.

Edit: Ubuntu 16.04

@SX91

This comment has been minimized.

Contributor

SX91 commented Oct 1, 2016

I think we once again need extra-deps section: extra-deps: [codex-0.5.0.2].

Oh, and stack's error message is totally informative..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment