packagekit-base's version bumped up yesterday. I tried emerge this package repeatedly under ~amd64, and i found some problem as below. another things are attached with this report. (오류 means error, and 끝나지 않은 작업을 기다리고 있습니다 means that "Waiting for unfinished jobs.") CC packagekitd-pk-main.o CC packagekitd-pk-marshal.o CC packagekitd-pk-dbus.o CC packagekitd-pk-transaction.o pk-network-stack-connman.c: In function ‘pk_network_stack_connman_get_state’: pk-network-stack-connman.c:109:7: warning: implicit declaration of function ‘dbus_g_type_get_map’ pk-network-stack-connman.c:110:7: warning: passing argument 3 of ‘g_dbus_proxy_call_sync’ from incompatible pointer type /usr/include/glib-2.0/gio/gdbusproxy.h:157:18: note: expected ‘struct GVariant *’ but argument is of type ‘struct GError **’ pk-network-stack-connman.c:110:7: warning: passing argument 6 of ‘g_dbus_proxy_call_sync’ from incompatible pointer type /usr/include/glib-2.0/gio/gdbusproxy.h:157:18: note: expected ‘struct GCancellable *’ but argument is of type ‘struct GHashTable **’ pk-network-stack-connman.c:127:2: warning: implicit declaration of function ‘dbus_g_type_collection_value_iterate’ pk-network-stack-connman.c:137:11: error: incompatible type for argument 2 of ‘g_dbus_proxy_new_sync’ /usr/include/glib-2.0/gio/gdbusproxy.h:101:18: note: expected ‘GDBusProxyFlags’ but argument is of type ‘const char *’ pk-network-stack-connman.c:137:11: warning: passing argument 3 of ‘g_dbus_proxy_new_sync’ from incompatible pointer type /usr/include/glib-2.0/gio/gdbusproxy.h:101:18: note: expected ‘struct GDBusInterfaceInfo *’ but argument is of type ‘gchar *’ pk-network-stack-connman.c:137:11: error: too few arguments to function ‘g_dbus_proxy_new_sync’ /usr/include/glib-2.0/gio/gdbusproxy.h:101:18: note: declared here pk-network-stack-connman.c:157:7: warning: passing argument 3 of ‘g_dbus_proxy_call_sync’ from incompatible pointer type /usr/include/glib-2.0/gio/gdbusproxy.h:157:18: note: expected ‘struct GVariant *’ but argument is of type ‘struct GError **’ pk-network-stack-connman.c:157:7: warning: passing argument 6 of ‘g_dbus_proxy_call_sync’ from incompatible pointer type /usr/include/glib-2.0/gio/gdbusproxy.h:157:18: note: expected ‘struct GCancellable *’ but argument is of type ‘struct GHashTable **’ pk-network-stack-connman.c: In function ‘pk_network_stack_connman_state_changed’: pk-network-stack-connman.c:180:25: error: ‘nstack_connman’ redeclared as different kind of symbol pk-network-stack-connman.c:176:64: note: previous definition of ‘nstack_connman’ was here pk-network-stack-connman.c:180:68: error: ‘user_data’ undeclared (first use in this function) pk-network-stack-connman.c:180:68: note: each undeclared identifier is reported only once for each function it appears in pk-network-stack-connman.c:188:19: error: ‘property’ undeclared (first use in this function) pk-network-stack-connman.c:191:31: error: ‘value’ undeclared (first use in this function) pk-network-stack-connman.c: In function ‘pk_network_stack_connman_dbus_signal_cb’: pk-network-stack-connman.c:214:2: warning: implicit declaration of function ‘PK_IS_NETWORK_STACK_NM’ pk-network-stack-connman.c:212:16: warning: unused variable ‘state’ pk-network-stack-connman.c: In function ‘pk_network_stack_connman_init’: pk-network-stack-connman.c:281:2: warning: implicit declaration of function ‘dbus_g_object_register_marshaller’ CC packagekitd-pk-backend.o CC packagekitd-pk-network.o make[4]: *** [libpkplugins_la-pk-network-stack-connman.lo] 오류 1 make[4]: *** 끝나지 않은 작업을 기다리고 있습니다.... make[4]: Leaving directory `/var/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/src' make[3]: *** [all-recursive] 오류 1 make[3]: Leaving directory `/var/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/src' make[2]: *** [all] 오류 2 make[2]: Leaving directory `/var/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/src' make[1]: *** [all-recursive] 오류 1 make[1]: Leaving directory `/var/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4' make: *** [all] 오류 2 Reproducible: Always Actual Results: emake failed
Created attachment 312343 [details] environment
Created attachment 312345 [details] build.log
Created attachment 312347 [details] emerge --info =app-admin/packagekit-base-0.7.4
Same issue here. I notice that the code in GIT is broken from this project. There is a commented out line in the subroutine "pk_network_stack_connman_state_changed" that looks like they were halfway through changing from one input API to another. I have added "$(use_enable connman connman) \" to line 111 of the ebuild on my machine, as I noticed the package is not paying attention to this use flag. I then had to comment out the function "NP_GetMIMEDescription" from the "contrib/browser-plugin/pk-main.c" file. This may not be an issue if you do not have the "nsplugin" USE flag. Then building with "-connman" in my USE flags has allowed me to emerge the package. I am not certain if it works, but it compiles.
Everything has been addressed in tree: 20 Jul 2012; Fabio Erculiani <lxnay@gentoo.org> packagekit-base-0.7.4.ebuild, +files/packagekit-base-0.7.x-npapi-api-change.patch: fix compilation with unmasked npapi-sdk (see notes inside ebuild) 20 Jul 2012; Fabio Erculiani <lxnay@gentoo.org> packagekit-base-0.7.4.ebuild: properly handle 'connman' USE flag