glib-compile-resources crashes on Linux 4.19 LTS
This is a followup to #3298 which was closed due to the kernel being EOL
I am facing the same issue with kernel 4.19 on arm64
FAILED: panels/background/cc-background-resources.c /usr/bin/glib-compile-resources ../panels/background/background.gresource.xml --sourcedir ../panels/background --c-name cc_background --generate --target panels/background/cc-background-resources.c --dependency-file panels/background/cc-background-resources.c.d
(glib-compile-resources:412551): GLib-WARNING **: 18:43:27.182: ../../../glib/gmain.c:5934: waitid(pid:412553, pidfd=4) failed: Invalid argument (22). See documentation of g_child_watch_source_new() for possible causes. ../panels/background/background.gresource.xml: Child process exited abnormally.
[38/608] Generating panels/background/cc-background-resources_h with a custom command FAILED: panels/background/cc-background-resources.h /usr/bin/glib-compile-resources ../panels/background/background.gresource.xml --sourcedir ../panels/background --c-name cc_background --generate --target panels/background/cc-background-resources.h
(glib-compile-resources:412554): GLib-WARNING **: 18:43:27.197: ../../../glib/gmain.c:5934: waitid(pid:412557, pidfd=4) failed: Invalid argument (22). See documentation of g_child_watch_source_new() for possible causes.
uname -a
Linux proto3 4.19.0 SMP PREEMPT Sun Apr 21 01:11:49 UTC 2024 aarch64 GNU/Linux
I think now that this issue is also standing on a non EOL kernel version, it would be appropriate to address it at run time instead of compile time
Edited by Philip Withnall