GNOME Bugzilla – Bug 624004
Error during phase build of pygobject
Last modified: 2010-07-12 08:38:50 UTC
try to compile from git with jhbuild evolution-mapi and get this make error make[3]: Entering directory `/home/fabio/checkout/gnome/pygobject/gi' if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gobject -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/home/fabio/gnome/include/glib-2.0 -I/home/fabio/gnome//lib/glib-2.0/include -I/home/fabio/gnome/include/gobject-introspection-1.0 -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gi_la-pygi-repository.lo -MD -MP -MF ".deps/_gi_la-pygi-repository.Tpo" -c -o _gi_la-pygi-repository.lo `test -f 'pygi-repository.c' || echo './'`pygi-repository.c; \ then mv -f ".deps/_gi_la-pygi-repository.Tpo" ".deps/_gi_la-pygi-repository.Plo"; else rm -f ".deps/_gi_la-pygi-repository.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gobject -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/home/fabio/gnome/include/glib-2.0 -I/home/fabio/gnome//lib/glib-2.0/include -I/home/fabio/gnome/include/gobject-introspection-1.0 -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gi_la-pygi-repository.lo -MD -MP -MF .deps/_gi_la-pygi-repository.Tpo -c pygi-repository.c -fPIC -DPIC -o .libs/_gi_la-pygi-repository.o if /bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gobject -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/home/fabio/gnome/include/glib-2.0 -I/home/fabio/gnome//lib/glib-2.0/include -I/home/fabio/gnome/include/gobject-introspection-1.0 -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gi_la-pygi-info.lo -MD -MP -MF ".deps/_gi_la-pygi-info.Tpo" -c -o _gi_la-pygi-info.lo `test -f 'pygi-info.c' || echo './'`pygi-info.c; \ then mv -f ".deps/_gi_la-pygi-info.Tpo" ".deps/_gi_la-pygi-info.Plo"; else rm -f ".deps/_gi_la-pygi-info.Tpo"; exit 1; fi libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../gobject -I/usr/include/python2.6 -I/usr/include/python2.6 -pthread -I/home/fabio/gnome/include/glib-2.0 -I/home/fabio/gnome//lib/glib-2.0/include -I/home/fabio/gnome/include/gobject-introspection-1.0 -g -O2 -Wall -fno-strict-aliasing -std=c9x -MT _gi_la-pygi-info.lo -MD -MP -MF .deps/_gi_la-pygi-info.Tpo -c pygi-info.c -fPIC -DPIC -o .libs/_gi_la-pygi-info.o pygi-info.c: In function ‘_pygi_g_type_tag_size’: pygi-info.c:332: error: ‘GI_TYPE_TAG_SHORT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:332: error: (Each undeclared identifier is reported only once pygi-info.c:332: error: for each function it appears in.) pygi-info.c:333: error: ‘GI_TYPE_TAG_USHORT’ undeclared (first use in this function) pygi-info.c:336: error: ‘GI_TYPE_TAG_INT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:337: error: ‘GI_TYPE_TAG_UINT’ undeclared (first use in this function) pygi-info.c:340: error: ‘GI_TYPE_TAG_LONG_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:341: error: ‘GI_TYPE_TAG_ULONG’ undeclared (first use in this function) pygi-info.c:344: error: ‘GI_TYPE_TAG_SIZE’ undeclared (first use in this function) pygi-info.c:345: error: ‘GI_TYPE_TAG_SSIZE’ undeclared (first use in this function) pygi-info.c:354: error: ‘GI_TYPE_TAG_TIME_T’ undeclared (first use in this function) pygi-info.c: In function ‘_pygi_g_type_info_size’: pygi-info.c:396: error: ‘GI_TYPE_TAG_SHORT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:397: error: ‘GI_TYPE_TAG_USHORT’ undeclared (first use in this function) pygi-info.c:398: error: ‘GI_TYPE_TAG_INT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:399: error: ‘GI_TYPE_TAG_UINT’ undeclared (first use in this function) pygi-info.c:400: error: ‘GI_TYPE_TAG_LONG_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:401: error: ‘GI_TYPE_TAG_ULONG’ undeclared (first use in this function) pygi-info.c:402: error: ‘GI_TYPE_TAG_SIZE’ undeclared (first use in this function) pygi-info.c:403: error: ‘GI_TYPE_TAG_SSIZE’ undeclared (first use in this function) pygi-info.c:406: error: ‘GI_TYPE_TAG_TIME_T’ undeclared (first use in this function) pygi-info.c: In function ‘pygi_g_struct_info_is_simple’: pygi-info.c:783: error: ‘GI_TYPE_TAG_SHORT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:784: error: ‘GI_TYPE_TAG_USHORT’ undeclared (first use in this function) pygi-info.c:785: error: ‘GI_TYPE_TAG_INT_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:786: error: ‘GI_TYPE_TAG_UINT’ undeclared (first use in this function) pygi-info.c:789: error: ‘GI_TYPE_TAG_LONG_WAS_REMOVED’ undeclared (first use in this function) pygi-info.c:790: error: ‘GI_TYPE_TAG_ULONG’ undeclared (first use in this function) pygi-info.c:791: error: ‘GI_TYPE_TAG_SSIZE’ undeclared (first use in this function) pygi-info.c:792: error: ‘GI_TYPE_TAG_SIZE’ undeclared (first use in this function) pygi-info.c:795: error: ‘GI_TYPE_TAG_TIME_T’ undeclared (first use in this function) make[3]: *** [_gi_la-pygi-info.lo] Error 1 make[3]: Leaving directory `/home/fabio/checkout/gnome/pygobject/gi' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/fabio/checkout/gnome/pygobject/gi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/fabio/checkout/gnome/pygobject' make: *** [all] Error 2 *** Error during phase build of pygobject: ########## Error running make *** [40/67]
We need to adapt PyGObject to changes in gobject-introspection. I won't be able at the very least until monday, so patches are very welcome.
*** This bug has been marked as a duplicate of bug 624065 ***