Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423911 - app-admin/packagekit-base-0.7.4 USE=nsplugin - 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
Summary: app-admin/packagekit-base-0.7.4 USE=nsplugin - pk-main.c:507:1: error: confli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Fabio Erculiani (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-28 03:09 UTC by Pim Vullers
Modified: 2012-07-20 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (app-admin:packagekit-base-0.7.4:20120628-030403.log,31.51 KB, text/plain)
2012-06-28 03:10 UTC, Pim Vullers
Details
emerge --info output (emerge-info.txt,14.04 KB, text/plain)
2012-06-28 03:11 UTC, Pim Vullers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pim Vullers 2012-06-28 03:09:43 UTC
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.
Comment 1 Pim Vullers 2012-06-28 03:10:26 UTC
Created attachment 316497 [details]
full build log
Comment 2 Pim Vullers 2012-06-28 03:11:05 UTC
Created attachment 316499 [details]
emerge --info output
Comment 3 abeshenkov 2012-07-14 06:09:59 UTC
Conferm, hasve same problem
Comment 4 abeshenkov 2012-07-14 12:02:46 UTC
The same for 0.6.22
Comment 5 Fabio Erculiani (RETIRED) gentoo-dev 2012-07-20 17:30:19 UTC
+  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)