g-ir-scanner fails silently on msys2 CI jobs
It’s failing in the g-ir-scanner
invocation in the code to build the gobject-introspection dependency before actually starting to build GLib. This code did pass CI when I originally added it.
The gobject-introspection version it’s building is pinned, so this suggests a change in the dependencies or CI runner in the last month has caused the failure. But I can’t be sure because there’s no error message and no logs.
Example failures:
- https://gitlab.gnome.org/GNOME/glib/-/jobs/4265587
- https://gitlab.gnome.org/GNOME/glib/-/jobs/4265588
Log:
FAILED: gir/GLib-2.0.gir
"C:/msys64/MINGW32/bin/meson" "--internal" "exe" "--unpickle" "C:/_r/_builds/k3_3muaB/0/GNOME/glib/gobject-introspection/build/meson-private/meson_exe_python.exe_233fc74e4a04ae5bee46b606a82d292c30b605d4.dat"
while executing ['C:/msys64/MINGW32/bin/python.exe', 'C:/_r/_builds/k3_3muaB/0/GNOME/glib/gobject-introspection/build/tools/g-ir-scanner', '--output=gir/GLib-2.0.gir', '--no-libtool', '--quiet', '--reparse-validate', '--add-include-path', 'C:/_r/_builds/k3_3muaB/0/GNOME/glib/gobject-introspection/build/gir', '--add-include-path', 'C:/_r/_builds/k3_3muaB/0/GNOME/glib/gobject-introspection/gir', '--identifier-prefix=G', '--symbol-prefix=g', '--symbol-prefix=glib', '--c-include=glib.h', '--namespace=GLib', '--nsversion=2.0', '--library=glib-2.0', '--library=gobject-2.0', '--external-library', '--pkg=glib-2.0', '--cflags-begin', '-IC:/msys64/mingw32/include/glib-2.0', '-IC:/msys64/mingw32/lib/glib-2.0/include', '-DGLIB_COMPILATION', '-DGOBJECT_COMPILATION', '-D__G_I18N_LIB_H__', '-DGETTEXT_PACKAGE=Dummy', '--cflags-end', 'C:/msys64/mingw32/include/glib-2.0/gobject/gobject-visibility.h', 'C:/msys64/mingw32/include/glib-2.0/gobject/glib-types.h', 'C:/msys64/mingw32/lib/glib-2.0/include/glibconfig.h', 'C:/msys64/mingw32/include/glib-2.0/glib/galloca.h', 'C:/msys64/mingw32/include/glib-2.0/glib/garray.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gasyncqueue.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gatomic.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gbacktrace.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gbase64.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gbitlock.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gbookmarkfile.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gbytes.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gcharset.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gchecksum.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gconvert.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gdataset.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gdate.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gdatetime.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gdir.h', 'C:/msys64/mingw32/include/glib-2.0/glib/genviron.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gerror.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gfileutils.h', 'C:/msys64/mingw32/include/glib-2.0/glib/ggettext.h', 'C:/msys64/mingw32/include/glib-2.0/glib/ghash.h', 'C:/msys64/mingw32/include/glib-2.0/glib/ghmac.h', 'C:/msys64/mingw32/include/glib-2.0/glib/ghook.h', 'C:/msys64/mingw32/include/glib-2.0/glib/ghostutils.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gi18n-lib.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gi18n.h', 'C:/msys64/mingw32/include/glib-2.0/glib/giochannel.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gkeyfile.h', 'C:/msys64/mingw32/include/glib-2.0/glib/glib-typeof.h', 'C:/msys64/mingw32/include/glib-2.0/glib/glib-visibility.h', 'C:/msys64/mingw32/include/glib-2.0/glib/glist.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmacros.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmain.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmappedfile.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmarkup.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmem.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gmessages.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gnode.h', 'C:/msys64/mingw32/include/glib-2.0/glib/goption.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gpathbuf.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gpattern.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gpoll.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gprimes.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gprintf.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gqsort.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gquark.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gqueue.h', 'C:/msys64/mingw32/include/glib-2.0/glib/grand.h', 'C:/msys64/mingw32/include/glib-2.0/glib/grcbox.h', 'C:/msys64/mingw32/include/glib-2.0/glib/grefcount.h', 'C:/msys64/mingw32/include/glib-2.0/glib/grefstring.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gregex.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gscanner.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gsequence.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gshell.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gslice.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gslist.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gspawn.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gstdio.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gstrfuncs.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gstring.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gstringchunk.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gstrvbuilder.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtestutils.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gthread.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gthreadpool.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtimer.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtimezone.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtrashstack.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtree.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gtypes.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gunicode.h', 'C:/msys64/mingw32/include/glib-2.0/glib/guri.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gutils.h', 'C:/msys64/mingw32/include/glib-2.0/glib/guuid.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gvariant.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gvarianttype.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gversion.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gversionmacros.h', 'C:/msys64/mingw32/include/glib-2.0/glib/gwin32.h', '../gir/glib-2.0.c']
--- stdout ---
--- stderr ---
[64/178] Compiling C object girepository/libgirepository-1.0-1.dll.p/girepository.c.obj
[65/178] Compiling C object tests/scanner/libutility-1.0.dll.p/utility.c.obj
[66/178] Compiling C object tests/offsets/liboffsets-1.0-1.dll.p/offsets.c.obj
[67/178] Compiling C object tools/g-ir-compiler.exe.p/compiler.c.obj
[68/178] Compiling C object tests/libgimarshallingtests-1.0-1.dll.p/gimarshallingtests.c.obj
ninja: build stopped: subcommand failed.
Could not rebuild C:/_r/_builds/k3_3muaB/0/GNOME/glib/gobject-introspection/build
There are no additional logs artifacts from the job.
Edited by Philip Withnall