When trying to emerge packagekit-base I get the following error: pk-main.c:507:1: error: conflicting types for 'NP_GetMIMEDescription' /usr/include/npapi-sdk/npfunctions.h:303:20: note: previous declaration of 'NP_GetMIMEDescription' was here This is build against net-misc/npapi-sdk-0.27. Reproducible: Always Steps to Reproduce: 1. make sure nsplugin USE-flag is set for app-admin/packagekit-base 2. emerge -1 packagekit-base 3. Actual Results: make[3]: Entering directory `/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/contrib/browser-plugin' CC packagekit_plugin_la-pk-plugin.lo CC packagekit_plugin_la-pk-main.lo CC packagekit_plugin_la-pk-plugin-install.lo pk-main.c:507:1: error: conflicting types for 'NP_GetMIMEDescription' /usr/include/npapi-sdk/npfunctions.h:303:20: note: previous declaration of 'NP_GetMIMEDescription' was here make[3]: *** [packagekit_plugin_la-pk-main.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/contrib/browser-plugin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4/contrib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/app-admin/packagekit-base-0.7.4/work/PackageKit-0.7.4' make: *** [all] Error 2 emake failed Expected Results: emerge succeeds without any errors.
Created attachment 316497 [details] full build log
Created attachment 316499 [details] emerge --info output
Conferm, hasve same problem
The same for 0.6.22
+ 20 Jul 2012; Fabio Erculiani <lxnay@gentoo.org> + packagekit-base-0.6.22.ebuild: + fix compilation with npapi-sdk currently in tree, close bug #423911 + 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)