Skip to content

Instantly share code, notes, and snippets.

@nuttycom
Created February 19, 2016 03:55
Show Gist options
  • Save nuttycom/c21fda8b6f1e26a41733 to your computer and use it in GitHub Desktop.
Save nuttycom/c21fda8b6f1e26a41733 to your computer and use it in GitHub Desktop.
Stack Woes.
nuttycom@lights: ~/personal/aftok (master)$ stack setup -v
Version 0.1.2.0, Git revision 65246552936b7da4b64b38372feac903d96a8911
2016-02-19 03:51:47.283199: [debug] Checking for project config at: /Users/nuttycom/personal/aftok/stack.yaml @(stack-0.1.2.0:Stack.Config src/Stack/Config.hs:496:9)
2016-02-19 03:51:47.284473: [debug] Loading project config file stack.yaml @(stack-0.1.2.0:Stack.Config src/Stack/Config.hs:519:13)
2016-02-19 03:51:47.295753: [debug] Run process: ghc --info @(stack-0.1.2.0:System.Process.Read src/System/Process/Read.hs:254:3)
2016-02-19 03:51:48.030858: [debug] Downloading from https://www.haskell.org/ghc/dist/7.10.2/ghc-7.10.2-x86_64-apple-darwin.tar.bz2 to /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2.tar.bz2 ... @(stack-0.1.2.0:Stack.Setup src/Stack/Setup.hs:682:5)
Already downloaded.
2016-02-19 03:51:48.034532: [debug] Unpacking /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2.tar.bz2 @(stack-0.1.2.0:Stack.Setup src/Stack/Setup.hs:569:9)
2016-02-19 03:51:48.034665: [debug] Run process: tar xf /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2.tar.bz2 @(stack-0.1.2.0:System.Process.Read src/System/Process/Read.hs:254:3)
2016-02-19 03:52:18.408296: [debug] Run process: /var/folders/nl/0dm4tyhd7kv_w_tmbl62km9h0000gn/T/stack-setup3595/ghc-7.10.2/configure --prefix=/Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2/ @(stack-0.1.2.0:System.Process.Read src/System/Process/Read.hs:254:3)
2016-02-19 03:52:20.98753: [debug] Run process: make install @(stack-0.1.2.0:System.Process.Read src/System/Process/Read.hs:254:3)
Installed GHC.
2016-02-19 03:52:37.076695: [debug] GHC installed to /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2/ @(stack-0.1.2.0:Stack.Setup src/Stack/Setup.hs:580:9)
2016-02-19 03:52:37.698961: [debug] Performing a sanity check on: /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2/bin/ghc @(stack-0.1.2.0:Stack.Setup src/Stack/Setup.hs:754:5)
2016-02-19 03:52:37.699058: [debug] Run process: ghc /var/folders/nl/0dm4tyhd7kv_w_tmbl62km9h0000gn/T/stack-sanity-check3595/Main.hs -no-user-package-db @(stack-0.1.2.0:System.Process.Read src/System/Process/Read.hs:254:3)
2016-02-19 03:52:38.189104: [info] Would add the following to PATH: /Users/nuttycom/.stack/programs/x86_64-osx/ghc-7.10.2/bin @(main:Main src/main/Main.hs:440:30)
nuttycom@lights: ~/personal/aftok (master)$ stack build
GHC version mismatched, found 7.10.2 (x86_64), but expected version 7.10.3 (x86_64) (based on resolver setting in /Users/nuttycom/personal/aftok/stack.yaml). Try running stack setup
Copy link

ghost commented Feb 19, 2016

And also:

nuttycom@lights: ~ $ stack upgrade
Fetched package index.
Populated index cache.
GHC version mismatched, found 7.10.2 (x86_64), but expected version 7.10.3 (x86_64) (based on resolver setting in /var/folders/nl/0dm4tyhd7kv_w_tmbl62km9h0000gn/T/stack-upgrade5189/stack-1.0.2/stack.yaml). Try running stack setup
nuttycom@lights: ~ $

Copy link

ghost commented Feb 19, 2016

This is with a brand new installation, just freshly downloaded from http://ghcformacosx.github.io/

@dysinger
Copy link

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