<div dir="ltr">The problem here is that:<div><br></div><div>* You're on an OS that doesn't have prebuilt binaries (FreeBSD 32-bit)</div><div>* 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]</div><div><br></div><div>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:</div><div><br></div><div>$ git clone <a href="https://github.com/commercialhaskell/stack">https://github.com/commercialhaskell/stack</a> --branch v1.6.1</div><div>$ cd stack</div><div>$ stack install</div><div># make sure you're using the new stack 1.6.1 binary</div><div>$ stack upgrade</div><div># or</div><div>$ git checkout v1.7.1</div><div>$ stack install</div><div><br></div><div>HTH,</div><div>Michael</div><div><br></div><div>[1] Even if you removed that new syntax, you'll end up running into the cassava flag bug, so no shortcuts here</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018 at 3:13 PM Roger Mason <<a href="mailto:rmason@mun.ca">rmason@mun.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm attempting to upgrade stack on a FreeBSD 11.1 system but it fails:<br>
<br>
stack upgrade<br>
Current Stack version: 1.5.1, available download version: 1.7.1<br>
Newer version detected, downloading<br>
Querying for archive location for platform: freebsd-i386-static<br>
Querying for archive location for platform: freebsd-i386<br>
Exception occured when trying to perform binary upgrade:<br>
Unable to find binary Stack archive for platforms: freebsd-i386-static freebsd-i386<br>
Falling back to source upgrade<br>
Selected mirror <a href="https://s3.amazonaws.com/hackage.fpcomplete.com/" rel="noreferrer" target="_blank">https://s3.amazonaws.com/hackage.fpcomplete.com/</a> <br>
Downloading timestamp <br>
No updates to your package list were found <br>
Updating package index Hackage (mirrored at <a href="https://s3.amazonaws.com/hackage.fpcomplete.com/" rel="noreferrer" target="_blank">https://s3.amazonaws.com/hackage.fpcomplete.com/</a>) ...Could not parse '/tmp/stack-upgrade2294/stack-1.7.1/stack.yaml':<br>
Aeson exception:<br>
Error in $['extra-deps'][0]: failed to parse field 'extra-deps': (Invalid package identifier: "rio-0.1.1.0@rev:0","rio-0.1.1.0@rev:0")<br>
See <a href="http://docs.haskellstack.org/en/stable/yaml_configuration/" rel="noreferrer" target="_blank">http://docs.haskellstack.org/en/stable/yaml_configuration/</a><br>
<br>
If it matters, I'm using ghc-8.0.2_3.<br>
<br>
Thanks for any help,<br>
Roger<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>