GNOME Bugzilla – Bug 563681
sizeof(*) is expected to be X but is Y.
Last modified: 2015-02-07 16:49:45 UTC
Hi, when building gobject-introspection on Linux/arm (old ABI, not eabi ;) ) the build fails at some point: Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mkdir /tmp/tmp-introspectqvi2lU/.libs gcc -o /tmp/tmp-introspectqvi2lU/.libs/GIRepository-2.0 -pthread /tmp/tmp-introspectqvi2lU/GIRepository-2.0.o -L/build/buildd/gobject-introspection-0.6.1/gir ../girepository/.libs/libgirepository.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so creating /tmp/tmp-introspectqvi2lU/GIRepository-2.0 Unexpected annotations for ['type'], parameters are ['gtype', 'repository'] Unexpected annotations for ['version'], parameters are ['namespace', 'repository'] 172 nodes; 1 objects, 0 interfaces, 0 enums /usr/bin/make all-am make[4]: Entering directory `/build/buildd/gobject-introspection-0.6.1/gir' ../tools/g-ir-compiler --includedir=. GLib-2.0.gir -o GLib-2.0.typelib sizeof(ArrayTypeBlob) is expected to be 8 but is 12. ** ** ERROR:(gtypelib.c:191):g_typelib_check_sanity: assertion failed: (size_check_ok) make[4]: *** [GLib-2.0.typelib] Aborted make[4]: Leaving directory `/build/buildd/gobject-introspection-0.6.1/gir' make[3]: *** [all] Error 2 make[3]: Leaving directory `/build/buildd/gobject-introspection-0.6.1/gir' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/buildd/gobject-introspection-0.6.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd/gobject-introspection-0.6.1' make: *** [debian/stamp-makefile-build] Error 2 http://buildd.debian.org/fetch.cgi?pkg=gobject-introspection;ver=0.6.1-2;arch=arm;stamp=1228601037 The same happens for gir-repository on Linux/m68k: This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. mkdir /tmp/tmp-introspectflhyq2/.libs gcc -o /tmp/tmp-introspectflhyq2/.libs/GIRepository-2.0 -pthread /tmp/tmp-introspectflhyq2/GIRepository-2.0.o -L/build/buildd/gobject-introspection-0.6.1/gir ../girepository/.libs/libgirepository.so /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so creating /tmp/tmp-introspectflhyq2/GIRepository-2.0 Unexpected annotations for ['type'], parameters are ['gtype', 'repository'] Unexpected annotations for ['version'], parameters are ['namespace', 'repository'] 172 nodes; 1 objects, 0 interfaces, 0 enums /usr/bin/make all-am make[4]: Entering directory `/build/buildd/gobject-introspection-0.6.1/gir' ../tools/g-ir-compiler --includedir=. GLib-2.0.gir -o GLib-2.0.typelib sizeof(Header) is expected to be 108 but is 106. ** ** ERROR:(gtypelib.c:191):g_typelib_check_sanity: assertion failed: (size_check_ok) make[4]: *** [GLib-2.0.typelib] Aborted make[4]: Leaving directory `/build/buildd/gobject-introspection-0.6.1/gir' make[3]: *** [all] Error 2 make[3]: Leaving directory `/build/buildd/gobject-introspection-0.6.1/gir' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/build/buildd/gobject-introspection-0.6.1' make[1]: *** [all] Error 2 make[1]: Leaving directory `/build/buildd/gobject-introspection-0.6.1' make: *** [debian/stamp-makefile-build] Error 2 http://buildd.debian-ports.org/fetch.php?pkg=gobject-introspection&arch=m68k& ver=0.6.1-2&stamp=1228601364&file=log&as=raw
The last URL should be: http://buildd.debian-ports.org/fetch.php?pkg=gobject-introspection&arch=m68k&ver=0.6.1-2&stamp=1228601364&file=log&as=raw
Hmm. This could be a real bug; we need to ensure this works for 1.0. I'd like to land my patches from bug 571373 before investigating this one though.
Bug 571373 landed - can you try rebuilding from a git snapshot?
Not a problem anymore, even the complete testsuite succeeds without errors.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]