From 87774e5b4ba681ffa746d19fe76d55f034297adf Mon Sep 17 00:00:00 2001 From: Danack Date: Sat, 6 Jul 2024 17:00:58 +0200 Subject: [PATCH] And so the long day wore on. --- .github/workflows/main.yml | 8 ++++++++ debug_github_action_failing.sh | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 debug_github_action_failing.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ee2dfecc..ca71a165 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,10 @@ jobs: path: ~/im/imagemagick-${{ matrix.imagemagick }} key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }} + - name: Debug what is wrong with the libraries + run: | + bash ./debug_github_action_failing.sh + - name: Sanity check package.xml and install ImageMagick run: | for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done @@ -149,6 +153,10 @@ jobs: path: ~/im/imagemagick-${{ matrix.imagemagick }} key: ${{ runner.os }}-ImageMagick-${{ matrix.imagemagick }} + - name: Debug what is wrong with the libraries + run: | + bash ./debug_github_action_failing.sh + - name: Sanity check package.xml and install ImageMagick run: | for file in tests/*.phpt; do grep $(basename $file) package.xml >/dev/null || (echo "Missing $file from package.xml" ; exit 1); done diff --git a/debug_github_action_failing.sh b/debug_github_action_failing.sh new file mode 100644 index 00000000..a9a6009b --- /dev/null +++ b/debug_github_action_failing.sh @@ -0,0 +1,15 @@ +#!/bin/sh + + +# set -e +set -x + +# Check contents of directories +#ls -l /usr +#ls -l /usr/local +#ls -l /usr/local/lib + +# see if randomly calling ldconfig helps +sudo ldconfig /usr/local/lib + +find /usr/lib -name libwebpdemux.so.2 2>/dev/null \ No newline at end of file