GNOME Bugzilla – Bug 768088
Build problem with gobject-introspection
Last modified: 2016-08-17 07:54:17 UTC
We're having problems rebuilding the nightly gnome runtimes, all the arches fail with: g-ir-scanner: WarnLib: warning: 9 warnings suppressed (use --warn-all to see them) /usr/bin/g-ir-compiler --includedir=. WarnLib-1.0.gir -o WarnLib-1.0.typelib Traceback (most recent call last):
+ Trace 236391
sys.exit(scanner_main(sys.argv))
main.transform()
self._namespace.walk(self._pass_read_annotations_early)
node.walk(callback, [])
chain.append(self)
if field.anonymous_node is not None:
def walk(self, callback, chain):
block = self._blocks.get(node.c_name)
c_name = property(lambda self: self.namespace.name + self.name if self.namespace else
Makefile:2647: recipe for target 'Regress-1.0.gir' failed make[1]: *** [Regress-1.0.gir] Error 1 make[1]: *** Waiting for unfinished jobs.... g-ir-scanner: link: /bin/sh ./libtool --mode=link --tag=CC gcc -o /run/build-runtime/gjs/tmp-introspecta1SeQO/GjsPrivate-1.0 -export-dynamic -O2 -g -L/app/lib tmp-introspecta1SeQO/run/build-runtime/gjs/tmp-introspecta1SeQO/GjsPrivate-1.0.o -L. libgjs.la -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 libtool: link: gcc -o /run/build-runtime/gjs/tmp-introspecta1SeQO/.libs/GjsPrivate-1.0 -O2 -g tmp-introspecta1SeQO/run/build-runtime/gjs/tmp-introspecta1SeQO/GjsPrivate-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -L/app/lib -L. ./.libs/libgjs.so /usr/lib/libgtk-3.so /usr/lib/libgdk-3.so /usr/lib/libpangocairo-1.0.so -L/usr/lib/../lib /usr/lib/libpangoft2-1.0.so -lharfbuzz -lfontconfig -lfreetype /usr/lib/libpango-1.0.so /usr/lib/libthai.so /usr/lib/libdatrie.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lpng16 -ljpeg -lreadline /usr/lib/libgirepository-1.0.so -lm -lcairo-gobject /usr/lib/libgthread-2.0.so -lmozjs-24 -lcairo -lX11 -lXext /usr/lib/libgio-2.0.so -lz -lresolv /usr/lib/libgobject-2.0.so -lffi /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lpcre -lpthread -pthread make[1]: Leaving directory '/run/build-runtime/gjs' Makefile:997: recipe for target 'all' failed make: *** [all] Error 2 Error: module gjs: Child process exited with code 2 make: *** [all] Error 1 Full log at: http://sdkbuilder1.gnome.org//logs/build-2016-06-27-082833/build-gnome-sdk-images-master-x86_64.txt I haven't had time to look into this.
I fixed some issue in gnome-sdk-images master that made it not get to this part, so now it does again, and its still failing: http://sdkbuilder1.gnome.org/logs/build-2016-08-09-131003/build-gnome-sdk-images-master-i386.txt However, i also built gnome-sdk-images locally on my machine, and that worked! This is pretty weird, as the two are basically running everything the same except the kernel. And the failure is very reproducible on the gnome build machine.
This seems related to https://bugzilla.gnome.org/show_bug.cgi?id=766011 At least that addition (RegressAnonymousUnionAndStruct) which is failing.
Hmm, i wonder if this is actually a flatpak-builder bug, and its using the old .pyo for the new .py file.
Turns out this was a runtime issue.