It actually works fine within the CI system of MSYS2 · GitHub. Maybe my local installation is broken.
Is this still relevant?
My gut feeling says no.