From 122b1720ada15ed92d229a898acfff7c6625c5bf Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Sun, 31 May 2020 13:18:00 -0500 Subject: [PATCH] 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. --- appveyor.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 5c33e190a..aebff82a2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,11 +5,10 @@ # 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" + - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S bison flex" build_script: - set PSDKDir=C:\Program Files\Microsoft SDKs\Windows\v7.1