Downgrade Archlinux CI test to libxml 2.13.8 (2.14 can not be used with Hurl Linux build)

This commit is contained in:
Jean-Christophe Amiel 2025-05-04 12:24:35 +02:00
parent f1fa81b079
commit 63bc8f92e4
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC
2 changed files with 11 additions and 1 deletions

View File

@ -186,11 +186,22 @@ jobs:
with:
image: archlinux
options: --volume ${{ github.workspace }}:/work --workdir /work --privileged
# Revert to libxml 2.13.8 that has a soname libxml2.so.2 required by our Ubuntu Hurl build.
# Starting from libxml 2.14, <https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.0>:
#
# > Binary compatibility is restricted to versions 2.14 or newer. On ELF systems, the soname was bumped from
# > libxml2.so.2 to libxml2.so.16.
#
# We downgrade when testing the Hurl generic package, not when we're building the Hurl package on Arch Linux as the soname
# problem arise only with the generic package.
run: |
set -e
echo "::group::Install system prerequisites"
bin/install_prerequisites_archlinux.sh
echo "::endgroup::"
echo "::group::Downgrade libxml2"
pacman --upgrade --nodeps --noconfirm https://archive.archlinux.org/packages/l/libxml2/libxml2-2.13.8-1-x86_64.pkg.tar.zst
echo "::endgroup::"
echo "::group::Activate python3 venv"
bin/activate_python3_venv.sh
export PATH=/tmp/hurl-python3-venv/bin:$PATH

View File

@ -21,4 +21,3 @@ sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true
# Temporary install to patch a python3/pip crash
pacman -Syu --noconfirm expat