Skip to contentSkip to conversation

help: gobject-introspection build error #raspberrypi

DISCUSSION [email protected] 1 participant 1 message Nov 30, 2023

lore
Share & tools
lore
#0 lore raw

Hi all,

I am at a loss as to why my build is failing. I am building core-image-minimal (for the Raspberry Pi 4) in the Poky Docker container and every time the build for gobject-introspection fails with the following error(s):

FAILED: gir/GLib-2.0.gir
/workdir/poky/build/tmp/work/cortexa72-poky-linux/gobject-introspection/1.78.1/recipe-sysroot/usr/include/glib-2.0/glib/gutils.h:378: syntax error, unexpected INTEGER, expecting identifier in '  if ((__builtin_expect (__extensio.....

A full log file for this can be found at https://pastebin.com/iuavxeJs

If anyone knows why this may be happening - or even where to start looking - I would be very thankful!

Many thanks,
George

---
George Peppard (he/they)
Undergraduate, MEng Computer Science
Electronics and Computer Science
University of Southampton

PGP: DC54 E1A7 336D CA37 DD35 CC89 8EA6 B970 558D 5F59 at the Ubuntu keyserver ( https://keyserver.ubuntu.com/ )