From bb64266b5288b71eb6a6a48e27912911448feba2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 12 Nov 2026 16:02:04 +0100 Subject: [PATCH] CI: Skip pkgforge's package mirror in the AppImage build The aarch64 build failed in Install dependencies every time: the image is built from Arch Linux ARM's packages (openssl 4.1), but its mirrorlist starts with pkgforge's mirror of them, which was hours behind (openssl 3.6.5). pacman reads that mirror's database, so installing anything built against openssl 3 would have meant taking openssl back underneath everything else. Comment the mirror out and use the distribution's own servers. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/appimage.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index 49a5d55cd8..4c69e8a8e3 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -47,7 +47,15 @@ jobs: CCACHE_COMPILERCHECK: content CCACHE_SLOPPINESS: time_macros steps: - # The pkgforge mirror often drops a download partway, so retry the whole transaction. + # The image is built from the distribution's own packages, but its mirrorlist starts with + # pkgforge's mirror of them, which can be hours behind. pacman then reads that mirror's database + # and installs packages built against older libraries than the image has, which fails (on + # aarch64, openssl 3.6.5 packages against the image's 4.1). Use the distribution's servers. + - name: Skip the pkgforge mirror + shell: bash + run: sed -i '/ghcr\.mirror\.archlinux\.pkgforge\.dev/s/^Server/#Server/' /etc/pacman.d/mirrorlist + + # Mirrors sometimes drop a download partway, so retry the whole transaction. - name: Install git shell: bash run: |