Hi
Hi guys,
There's an occasional failure on msys2, where meson fails to capture the output of a build
script. E.g.
https://gitlab.com/qemu-project/qemu/-/jobs/2642051161
FAILED: ui/input-keymap-qcode-to-linux.c.inc
"C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
"C:/GitLab-Runner/builds/qemu-project/qemu/meson/meson.py" "--internal" "exe" "--capture"
"ui/input-keymap-qcode-to-linux.c.inc" "--"
"C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
"../ui/keycodemapdb/tools/keymap-gen" "code-map" "--lang" "glib2" "--varname"
"qemu_input_map_qcode_to_linux" "../ui/keycodemapdb/data/keymaps.csv" "qcode" "linux"
[301/1665] Generating input-keymap-qcode-to-qnum.c.inc with a custom command (wrapped by
meson to capture output)
ninja: build stopped: subcommand failed.
https://gitlab.com/qemu-project/qemu/-/jobs/2625836697
FAILED: ui/shader/texture-blit-frag.h
"C:/GitLab-Runner/builds/qemu-project/qemu/msys64/mingw64/bin/python3.exe"
"C:/GitLab-Runner/builds/qemu-project/qemu/meson/meson.py" "--internal" "exe" "--capture"
"ui/shader/texture-blit-frag.h" "--" "perl"
"C:/GitLab-Runner/builds/qemu-project/qemu/scripts/shaderinclude.pl"
"../ui/shader/texture-blit.frag"
[313/1663] Generating texture-blit-vert.h with a custom command (wrapped by meson to
capture output)
ninja: build stopped: subcommand failed.
Could you have a look please?
Ah, we don't have artifacts for msys2 builds it seems, that would perhaps help. It would make sense to at least take meson-logs/*.txt. I'll work on a patch.
My guess is that CI randomly fails with "too many opened files", as I have seen that regularly on various projects with Windows runners. And here, it's probably reaching limits when running python/perl scripts simultaneously... I don't see an easy way to solve that if that's the issue.
--
Marc-André Lureau