After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563681 - sizeof(*) is expected to be X but is Y.
sizeof(*) is expected to be X but is Y.
Status: RESOLVED OBSOLETE
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks: 571644
 
 
Reported: 2008-12-08 12:52 UTC by Sebastian Dröge (slomo)
Modified: 2015-02-07 16:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-12-08 12:52:21 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
Comment 2 Colin Walters 2009-02-13 20:03:08 UTC
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.
Comment 3 Colin Walters 2009-02-19 17:20:46 UTC
Bug 571373 landed - can you try rebuilding from a git snapshot?
Comment 4 Sebastian Dröge (slomo) 2013-07-17 11:28:36 UTC
Not a problem anymore, even the complete testsuite succeeds without errors.
Comment 5 André Klapper 2015-02-07 16:49:45 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]