Windows CI/CD broken again (executable no longer running)

Started today in eeeca379 (note commit in MR had a successful pipeline, as did the parent), with https://gitlab.com/inkscape/inkscape/-/jobs/3114849201

Some things of note:

Update: oops, re-reading the logs, this has appeared since I switched libprce to libprce2 (411cb258)
Warning: Unused dependency libpcre2-16-0.dll
Warning: Unused dependency libpcre2-32-0.dll

Then immediately after

--- Running tests
Error: installed executable won't run

Comparing the build logs for this commit and it's parent, the following packages were updated (versions listed are the older ones)

warning: mingw-w64-x86_64-crt-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-headers-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-libmangle-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-libwinpthread-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-pkgconf-1.8.0-2 is up to date -- skipping
warning: mingw-w64-x86_64-tools-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-winpthreads-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
warning: mingw-w64-x86_64-winstorecompat-git-10.0.0.r72.g1dd2a4993-1 is up to date -- skipping
 mingw-w64-x86_64-cmake-3.24.2-1-any downloading...
 mingw-w64-x86_64-libxml2-2.9.14-4-any downloading...
 mingw-w64-x86_64-curl-7.85.0-1-any downloading...
 mingw-w64-x86_64-gtk3-3.24.34+87+g8bbc24c165-3-any downloading..
 mingw-w64-x86_64-libxslt-1.1.35-1-any downloading...
 mingw-w64-x86_64-gtk-update-icon-cache-3.24.34+87+g8bbc24c165-3-any downloading...

Running it locally I get

The procedure entry point xmlNanoFTPClose could not be located in the dynamic link library C:\...\libMagickCore-6.Q16HDRI-6.dll

(I've abbreviated the file path cause this isn't copy-and-pate)

Update: there have been a couple rebuilds in the graphicsmagick mingw64 history https://github.com/msys2/MINGW-packages/commits/master/mingw-w64-graphicsmagick but I'd guess the recent one for libxml2 https://github.com/msys2/MINGW-packages/commit/a2192b8742422d3b2c3f0ed5bb84492eb8967764 is causing problems

Namely, I think we should use an updated graphicsmagick now. What was the reason for pinning it to the version we have? (was it just to avoid an upgrade to 7?)

This is still just speculation (Edit: ahh, the package name used to just be imagemagick which was changed to imagemagick7)

Update: confirmed a libxml2 downgrade fixes the problem

Edited by Nathan Lee