Skip to content

Apache DataFusion SQL Query Engine

ARROW-7595: [R][CI] R appveyor job fails due to pacman compression change

Neal Richardson86d199e936e0
diff --git a/ci/appveyor-build-r.sh b/ci/appveyor-build-r.sh
index 1dfdea8792..3271c8ea9e 100644
--- a/ci/appveyor-build-r.sh
+++ b/ci/appveyor-build-r.sh
@@ -40,10 +40,12 @@ export PKG_CONFIG="/${MINGW_INSTALLS}/bin/pkg-config --static"
cd $APPVEYOR_BUILD_FOLDER
cp ci/PKGBUILD .
+export PKGEXT='.pkg.tar.xz' # pacman default changed to .zst in 2020, but keep the old ext for compat
makepkg-mingw --noconfirm --noprogressbar --skippgpcheck --nocheck --syncdeps --rmdeps --cleanbuild
# Collect the build artifacts and make the shape of zip file that rwinlib expects
+ls
mkdir build
-cp *.xz build
+cp mingw* build
cd build
source ../ci/windows-pkg-arrow-for-r.sh