[Haskell-cafe] cannot upgrade stack
Roger Mason
rmason at mun.ca
Wed Jul 18 14:06:53 UTC 2018
Hello,
Michael Snoyman <michael at snoyman.com> writes:
> The problem here is that:
>
> * You're on an OS that doesn't have prebuilt binaries (FreeBSD 32-bit)
> * The version you're using (1.5.1) isn't compatible with the newer syntax
> used in the stack.yaml file for 1.7.1[1]
>
> I'll need to upgrade in two steps: first upgrade to 1.6.1, then to 1.7.1
> using that Stack. Something like this should work:
>
> $ git clone https://github.com/commercialhaskell/stack --branch v1.6.1
> $ cd stack
> $ stack install
> # make sure you're using the new stack 1.6.1 binary
Everything works to here.
stack --version
Version 1.6.1, Git revision f25811329bbc40b0c21053a8160c56f923e1201b (5435 commits) i386 hpack-0.20.0
> $ stack upgrade
stack upgrade
zsh: bus error (core dumped) stack upgrade
> # or
> $ git checkout v1.7.1
> $ stack install
Hoping for a miracle:
stack install
Downloading lts-11.6 build plan ...zsh: bus error (core dumped) stack
install
oops! No miracle.
Thanks for helping.
Roger
More information about the Haskell-Cafe
mailing list