From 5df21f38f3041c343a4b66903af28dc7726b894e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 28 Oct 2023 09:07:56 +0200 Subject: [PATCH] ci: uninstall php8.1-imagick before build (issue #2009) When php imagick is installed and when WeeChat is compiled with gcc, there's a crash when the php plugin is loaded. Newer versions of gcc should fix the issue, but as in CI we can't easily use them, uninstalling imagick avoids the crash. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ddfa42c7..cd671576b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,8 @@ jobs: run: | sudo apt-get update -qq sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} + # uninstall php imagick as is causes a crash when loading php plugin (see #2009) + sudo apt-get --yes purge php8.1-imagick sudo -H pip3 install --ignore-installed msgcheck - name: Check gettext files