From 7406c8b94c32531abaa4907d7857b2a008405eff 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 a5e0ef1e0..b93d5ea29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,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