Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257803 - net-libs/xulrunner-1.9 cflags (pkg-config --cflags mozilla-plugin) missing needed header files
Summary: net-libs/xulrunner-1.9 cflags (pkg-config --cflags mozilla-plugin) missing ne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks: 268394
  Show dependency tree
 
Reported: 2009-02-05 18:54 UTC by Andrew John Hughes
Modified: 2009-07-21 15:39 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2009-02-05 18:54:59 UTC
With xulrunner 1.9.0.5:

$ pkg-config --cflags mozilla-plugin
-I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr 

This doesn't include a number of files needed by plugins.  For example, GNU Classpath's plugin now fails to compile due to the following missing files:

nsIPluginInstance.h nsIPluginInstancePeer.h nsIPluginTagInfo2.h

In Fedora, these are held in a separate plugin include subdirectory which is included in the CFLAGS.

-I/usr/include/xulrunner-sdk-1.9/stable -I/usr/include/xulrunner-sdk-1.9/java -I/usr/include/xulrunner-sdk-1.9/plugin -I/usr/include/nspr4

Reproducible: Always

Steps to Reproduce:
1. Try to build a plugin (e.g. GNU Classpath's gcjwebplugin) with xulrunner-1.9.0.5 installed which uses these header files.
2. The build fails when it can't find these headers.
3.

Actual Results:  
Build failure with gcjwebplugin.

Expected Results:  
Build succeeds.  It does on Fedora.
Comment 1 Andrew John Hughes 2009-02-05 19:27:21 UTC
In the end this was needed:

$ ls /usr/include/xulrunner-1.9/plugin/
nsIPluginInstance.h@
nsIPluginStreamInfo.h@      
nsIPluginTagInfo2.h@  
nsplugindefs.h@
nsIPluginInstancePeer.h@ 
nsIPluginStreamListener.h@
nsIPluginTagInfo.h@   
nspluginroot.h@

after adding the plugin directory to /usr/lib/pkgconfig/mozilla-plugin.pc.  Other plugins may need more.  All the above are just symlinks to the files in unstable.
Comment 2 Martin Mokrejš 2009-05-11 16:41:05 UTC
Andrew,
  why don't you file the bug upstream at 
https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&content=pkgconfig
and post the bug id number here?
Martin
Comment 3 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-07-07 15:32:18 UTC
Still an issue with 1.9.1, but will go away with 1.9.2 when stable/ and unstable/ become unified.

Nevertheless, we need to fix this.
Comment 4 Jory A. Pratt gentoo-dev 2009-07-13 03:20:35 UTC
I have add a fix to mozilla overlay that nirbheek will push out with the next patch set, We will most likely backport this for stable 1.9.0.11.
Comment 5 Andrew John Hughes 2009-07-14 19:46:47 UTC
I didn't file this upstream because it doesn't occur with xulrunner 1.9.1 on Fedora, only on Gentoo.
Comment 6 Jory A. Pratt gentoo-dev 2009-07-15 00:52:07 UTC
(In reply to comment #5)
> I didn't file this upstream because it doesn't occur with xulrunner 1.9.1 on
> Fedora, only on Gentoo.
> 

This is to the strange way they package the build. It is fixed in the overlay and should be fixed in the tree within next day or so.
Comment 7 Jory A. Pratt gentoo-dev 2009-07-20 03:24:27 UTC
(In reply to comment #5)
> I didn't file this upstream because it doesn't occur with xulrunner 1.9.1 on
> Fedora, only on Gentoo.
> 

Upstream bug is opened. I am working to get it fixed for the official xulrunner-1.9.1 release.
Comment 8 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-07-21 15:39:25 UTC
Fixed in-tree with 3.5.1