appveyor: Fix pacman zstd issue

First, bison (and probably flex and other pkgs) got published to the
chocolatey pacman repos compressed using ZST, which requires installing
zstd and broke our Appveyor builds.

Then someone published zstd compressed using ZST, which further broke
our Appveyor build by creating an irrecoverable chicken-egg situation:
pacman can't install zstd because it indirectly depends on zstd.

Possible fixes include trying to install the last version of zstd that
did not have this problem (zstd-1.4.4-2, ascertained from inspecting the
Appveyor build history).

This commit simply stops adding pacman-mirrors, and stops refreshing the
database, and this does get the Appveyor build going again.
This commit is contained in:
Nicolas Williams
2020-05-31 13:18:00 -05:00
parent 5e7bc8d881
commit 122b1720ad

View File

@@ -5,8 +5,7 @@
#
install:
- C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S pacman"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S zstd"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf automake"
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S bison flex"