libshumate and webkit fail to build only on aarch64 with newer gobject-introspection and gir scanner
Job #3811575 failed for gnome-build-meta@6a2f35df:
FAILED: shumate/Shumate-1.0.gir
env PKG_CONFIG_PATH=/buildstream/gnome/core-deps/libshumate.bst/_builddir/meson-uninstalled PKG_CONFIG=/usr/bin/pkg-config CC=cc /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Shumate --nsversion=1.0 --warn-all --output shumate/Shumate-1.0.gir --c-include=shumate/shumate.h -DSHUMATE_COMPILATION -I/buildstream/gnome/core-deps/libshumate.bst/shumate -I/buildstream/gnome/core-deps/libshumate.bst/_builddir/shumate -I/buildstream/gnome/core-deps/libshumate.bst/. -I/buildstream/gnome/core-deps/libshumate.bst/_builddir/. --filelist=/buildstream/gnome/core-deps/libshumate.bst/_builddir/shumate/libshumate-1.0.so.1.0.p/Shumate_1.0_gir_filelist --include=GObject-2.0 --include=Gdk-4.0 --include=Gtk-4.0 --include=Gsk-4.0 --symbol-prefix=shumate --identifier-prefix=Shumate --pkg-export=shumate-1.0 --cflags-begin -DSHUMATE_HAS_SYSPROF=1 '-DSHUMATE_VERSION="1.3.alpha"' '-DGETTEXT_PACKAGE="shumate1"' -I/buildstream/gnome/core-deps/libshumate.bst/. -I/buildstream/gnome/core-deps/libshumate.bst/_builddir/. -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/graphene-1.0 -I/usr/lib/aarch64-linux-gnu/graphene-1.0/include -I/usr/include/libsoup-3.0 -I/usr/include/json-glib-1.0 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/buildstream/gnome/core-deps/libshumate.bst/_builddir/shumate --library shumate-1.0 --extra-library=m --extra-library=glib-2.0 --extra-library=gobject-2.0 --extra-library=gio-2.0 --extra-library=gtk-4 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=gdk_pixbuf-2.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=vulkan --extra-library=graphene-1.0 --extra-library=sqlite3 --extra-library=soup-3.0 --extra-library=gmodule-2.0 --extra-library=sysprof-capture-4 --extra-library=json-glib-1.0 --extra-library=protobuf-c --extra-library=girepository-1.0 --sources-top-dirs /buildstream/gnome/core-deps/libshumate.bst/ --sources-top-dirs /buildstream/gnome/core-deps/libshumate.bst/_builddir/ --warn-error
/usr/include/aarch64-linux-gnu/bits/math-vector.h:30: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __Float32x4_t __f32x4_t;' at '__f32x4_t'
/usr/include/aarch64-linux-gnu/bits/math-vector.h:31: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __Float64x2_t __f64x2_t;' at '__f64x2_t'
/usr/include/aarch64-linux-gnu/bits/math-vector.h:40: syntax error, unexpected identifier, expecting ',' or ';' in '# 40 "/usr/include/aarch64-linux-gnu/bits/math-vector.h" 3 4' at '__sv_f32_t'
/usr/include/aarch64-linux-gnu/bits/math-vector.h:41: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __SVFloat64_t __sv_f64_t;' at '__sv_f64_t'
/usr/include/aarch64-linux-gnu/bits/math-vector.h:42: syntax error, unexpected identifier, expecting ',' or ';' in 'typedef __SVBool_t __sv_bool_t;' at '__sv_bool_t'
ERROR: error caught during scanner parsing
ninja: build stopped: subcommand failed.
Command 'ninja -j ${NINJAJOBS} -C _builddir' failed with exitcode 1
[00:00:07] FAILURE core-deps/libshumate.bst: Running commands
[--:--:--] START [ff3aa4ae] core-deps/libshumate.bst: Caching artifact
[00:00:00] SUCCESS [ff3aa4ae] core-deps/libshumate.bst: Caching artifact
[00:00:31] FAILURE [ff3aa4ae] core-deps/libshumate.bst: Command failed
Known good commit: 1.80.1-1-g42dc3ab42458d2582377d867a0f9e4cd390ac036
Known bad commit: 1.80.1-16-g6ac11bba115a9a8919dca1023d251c3dd90b97f3
Needs to be bisected.
To Reproduce:
- Open a workspace for
sdk/gobject-introspection.bst
- Start a bisect
bst --strict -o arch aarch64 build core-deps/libshumate.bst
- Repeat until we find the first bad commit that makes shumate fail to build
Edited by Jordan Petridis