[Haskell-cafe] cannot upgrade stack

Gleb Popov 6yearold at gmail.com
Wed Jul 18 18:22:33 UTC 2018


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.
>

Why don't you use FreeBSD ports/packages to install stack?


> Roger
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180718/f534f116/attachment.html>


More information about the Haskell-Cafe mailing list