emerge libsocialweb [ebuild R ] net-libs/libsocialweb-0.25.20 USE="gnome introspection networkmanager vala -connman -doc" 0 kB Fails with message: CC libsocialweb_client_la-sw-client-contact-view.lo /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DDATADIR="\"/usr/share\"" -O2 -pipe -march=core2 -O2 -pipe -Wall -c -o libsocialweb_client_la-sw-client-contact-view.lo `test -f 'sw-client-contact-view.c' || echo './'`sw-client-contact-view.c sw-client-contact-view.c: In function '_sw_contact_update_from_value_array': sw-client-contact-view.c:138:3: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c:146:3: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c:148:3: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c:156:3: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c: In function '_proxy_contacts_changed_cb': sw-client-contact-view.c:218:5: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c: In function '_proxy_contacts_removed_cb': sw-client-contact-view.c:255:5: warning: 'g_value_array_get_nth' is deprecated (declared at /usr/include/glib-2.0/gobject/gvaluearray.h:65): Use 'g_array_index' instead [-Wdeprecated-declarations] sw-client-contact-view.c: In function 'sw_client_contact_view_constructed': sw-client-contact-view.c:303:19: warning: variable 'conn' set but not used [-Wunused-but-set-variable] CCLD libsocialweb-client.la GEN SocialWebClient-0.25.gir sw-contact.c:108: Warning: SocialWebClient: '@contact' parameter unexpected at this location: * @contact: : ^ sw-contact.c:109: Warning: SocialWebClient: '@key' parameter unexpected at this location: * @key: : ^ sw-client-service.c:1130: Warning: SocialWebClient: 'Returns:' tag unexpected at this location: * Returns: ^ sw-client-service.h:64: Warning: SocialWebClient: symbol='IS_CONFIGURED': Unknown namespace for symbol 'IS_CONFIGURED' sw-client-service.h:65: Warning: SocialWebClient: symbol='CAN_VERIFY_CREDENTIALS': Unknown namespace for symbol 'CAN_VERIFY_CREDENTIALS' sw-client-service.h:66: Warning: SocialWebClient: symbol='CREDENTIALS_VALID': Unknown namespace for symbol 'CREDENTIALS_VALID' sw-client-service.h:67: Warning: SocialWebClient: symbol='CREDENTIALS_INVALID': Unknown namespace for symbol 'CREDENTIALS_INVALID' sw-client-service.h:68: Warning: SocialWebClient: symbol='CAN_UPDATE_STATUS': Unknown namespace for symbol 'CAN_UPDATE_STATUS' sw-client-service.h:69: Warning: SocialWebClient: symbol='CAN_REQUEST_AVATAR': Unknown namespace for symbol 'CAN_REQUEST_AVATAR' sw-client-service.h:70: Warning: SocialWebClient: symbol='CAN_GEOTAG': Unknown namespace for symbol 'CAN_GEOTAG' sw-client-service.h:72: Warning: SocialWebClient: symbol='HAS_UPDATE_STATUS_IFACE': Unknown namespace for symbol 'HAS_UPDATE_STATUS_IFACE' sw-client-service.h:73: Warning: SocialWebClient: symbol='HAS_AVATAR_IFACE': Unknown namespace for symbol 'HAS_AVATAR_IFACE' sw-client-service.h:74: Warning: SocialWebClient: symbol='HAS_PHOTO_UPLOAD_IFACE': Unknown namespace for symbol 'HAS_PHOTO_UPLOAD_IFACE' sw-client-service.h:75: Warning: SocialWebClient: symbol='HAS_VIDEO_UPLOAD_IFACE': Unknown namespace for symbol 'HAS_VIDEO_UPLOAD_IFACE' sw-client-service.h:76: Warning: SocialWebClient: symbol='HAS_BANISHABLE_IFACE': Unknown namespace for symbol 'HAS_BANISHABLE_IFACE' sw-client-service.h:77: Warning: SocialWebClient: symbol='HAS_QUERY_IFACE': Unknown namespace for symbol 'HAS_QUERY_IFACE' sw-client-service.h:78: Warning: SocialWebClient: symbol='HAS_CONTACTS_QUERY_IFACE': Unknown namespace for symbol 'HAS_CONTACTS_QUERY_IFACE' sw-client-service.h:80: Warning: SocialWebClient: symbol='CAN_UPDATE_STATUS_WITH_GEOTAG': Unknown namespace for symbol 'CAN_UPDATE_STATUS_WITH_GEOTAG' g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -pipe -march=core2 -O2 -pipe -Wall -I.. -I.. -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/SocialWebClient-0.25.o /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/SocialWebClient-0.25.c g-ir-scanner: link: ../libtool --mode=link --tag=CC gcc -o /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/SocialWebClient-0.25 -export-dynamic -O2 -pipe -march=core2 -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/SocialWebClient-0.25.o -L. libsocialweb-client.la -Wl,--export-dynamic -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 libtool: link: gcc -o /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/.libs/SocialWebClient-0.25 -O2 -pipe -march=core2 -O2 -pipe -Wall -Wl,-O1 /var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client/tmp-introspectOm5crV/SocialWebClient-0.25.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic -Wl,--as-needed -L. ./.libs/libsocialweb-client.so -ldbus-glib-1 -ldbus-1 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -pthread Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 46, in <module> sys.exit(scanner_main(sys.argv)) File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 433, in scanner_main final.validate() File "/usr/lib64/gobject-introspection/giscanner/introspectablepass.py", line 37, in validate self._namespace.walk(self._introspectable_callable_analysis) File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 465, in walk node.walk(callback, []) File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 546, in walk self._walk(callback, chain) File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 975, in _walk sig.walk(callback, chain) File "/usr/lib64/gobject-introspection/giscanner/ast.py", line 541, in walk res = callback(self, chain) File "/usr/lib64/gobject-introspection/giscanner/introspectablepass.py", line 200, in _introspectable_callable_analysis if not self._type_is_introspectable(param.type): File "/usr/lib64/gobject-introspection/giscanner/introspectablepass.py", line 134, in _type_is_introspectable return self._type_is_introspectable(typeval.element_type) File "/usr/lib64/gobject-introspection/giscanner/introspectablepass.py", line 150, in _type_is_introspectable target = self._transformer.lookup_typenode(typeval) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 165, in lookup_typenode return self.lookup_giname(typeobj.target_giname) File "/usr/lib64/gobject-introspection/giscanner/transformer.py", line 157, in lookup_giname include = self._includes[ns] KeyError: 'Sw' make[2]: *** [SocialWebClient-0.25.gir] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20/libsocialweb-client' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/libsocialweb-0.25.20/work/libsocialweb-0.25.20' make: *** [all] Error 2
Compiles with this patch: http://git.gnome.org/browse/libsocialweb/diff/?id=c1791e96182815449781fcda6007b69cd88cf7bf
Created attachment 318794 [details] Output of emerge --info
I have the same symptoms. Included the following: Output of emerge --info '=net-libs/libsocialweb-0.25.20' Output of emerge -pqv '=net-libs/libsocialweb-0.25.20'
Created attachment 318796 [details] Output of emerge -pqv '=net-libs/libsocialweb-0.25.20'
Created attachment 318798 [details] build log from Randy Tupas
+ 21 Jul 2012; Pacho Ramos <pacho@gentoo.org> + +files/libsocialweb-0.25.20-introspection-annotations.patch, + -libsocialweb-0.25.19.ebuild, libsocialweb-0.25.20.ebuild: + Fix namespacing of introspection annotations, bug #426984 by Flo Gravo and + Randy Tupas. Drop old. +
Pacho, Removed the old distfile and emerged the fixed version. Works like a charm. Thanks! Randy