[Haskell-cafe] cannot upgrade stack

Michael Snoyman michael at snoyman.com
Thu Jul 19 05:15:20 UTC 2018


Sorry, I'm not sure what's going on there. Are you able to build other
executables with Stack 1.5.1 that run successfully?

On Wed, Jul 18, 2018 at 5:06 PM Roger Mason <rmason at mun.ca> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180719/1fa81a46/attachment.html>


More information about the Haskell-Cafe mailing list