Bug 394511 - rebuilding devhelp against xulrunner fails
Summary: rebuilding devhelp against xulrunner fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-21 16:36 UTC by Matthias Clasen
Modified: 2007-11-30 22:12 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-11-22 12:30:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build patch (775 bytes, patch)
2007-11-22 11:53 UTC, Martin Stransky
no flags Details | Diff
slightly polished patch (1.00 KB, patch)
2007-11-22 12:28 UTC, Martin Stransky
no flags Details | Diff

Description Matthias Clasen 2007-11-21 16:36:00 UTC
tried with xulrunner-1.9.0-beta1.1.fc9

first it complains about redefinitions of NS_HIDDEN and friends in
gtkmozembed.h, then it doesn't find nsIPrintSettings.h, and things
go downhill from there...


/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:62:1: warning:
"NS_HIDDEN" redefined
In file included from /usr/include/xulrunner-1.9b2pre/string/nsXPCOMStrings.h:42,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsStringAPI.h:52,
                 from Yelper.cpp:28:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:117:1: warning: this is the
location of the previous definition
In file included from Yelper.cpp:30:
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:68:1: warning:
"NS_EXPORT_" redefined
In file included from /usr/include/xulrunner-1.9b2pre/string/nsXPCOMStrings.h:42,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsStringAPI.h:52,
                 from Yelper.cpp:28:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:208:1: warning: this is the
location of the previous definition
In file included from Yelper.cpp:30:
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:69:1: warning:
"NS_IMPORT_" redefined
In file included from /usr/include/xulrunner-1.9b2pre/string/nsXPCOMStrings.h:42,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsStringAPI.h:52,
                 from Yelper.cpp:28:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:206:1: warning: this is the
location of the previous definition
In file included from /usr/include/xulrunner-1.9b2pre/xpcom/nsrootidl.h:11,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsISupports.h:10,
                 from /usr/include/xulrunner-1.9b2pre/webbrwsr/nsIWebBrowser.h:10,
                 from
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_internal.h:43,
                 from dh-gecko-utils.cpp:25:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:117:1: warning: "NS_HIDDEN" redefined
In file included from /usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:100,
                 from dh-gecko-utils.cpp:24:
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_common.h:55:1: warning:
this is the location of the previous definition
In file included from /usr/include/xulrunner-1.9b2pre/xpcom/nsrootidl.h:11,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsISupports.h:10,
                 from /usr/include/xulrunner-1.9b2pre/webbrwsr/nsIWebBrowser.h:10,
                 from
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_internal.h:43,
                 from dh-gecko-utils.cpp:25:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:206:1: warning: "NS_IMPORT_"
redefined
In file included from /usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:100,
                 from dh-gecko-utils.cpp:24:
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_common.h:61:1: warning:
this is the location of the previous definition
In file included from /usr/include/xulrunner-1.9b2pre/xpcom/nsrootidl.h:11,
                 from /usr/include/xulrunner-1.9b2pre/xpcom/nsISupports.h:10,
                 from /usr/include/xulrunner-1.9b2pre/webbrwsr/nsIWebBrowser.h:10,
                 from
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_internal.h:43,
                 from dh-gecko-utils.cpp:25:
/usr/include/xulrunner-1.9b2pre/xpcom/nscore.h:208:1: warning: "NS_EXPORT_"
redefined
In file included from /usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed.h:100,
                 from dh-gecko-utils.cpp:24:
/usr/include/xulrunner-1.9b2pre/gtkembedmoz/gtkmozembed_common.h:60:1: warning:
this is the location of the previous definition
Yelper.cpp:44:30: error: nsIPrintSettings.h: No such file or directory

Comment 1 Martin Stransky 2007-11-22 11:53:44 UTC
Created attachment 266751 [details]
build patch

There's a patch what makes devhelp happy with xulrunner. It should be polished
before a merge with upstream...

Comment 2 Martin Stransky 2007-11-22 12:28:22 UTC
Created attachment 266791 [details]
slightly polished patch

Comment 3 Martin Stransky 2007-11-22 12:30:46 UTC
added to devhelp-0.16.1-4.fc9.

Comment 4 Matthias Clasen 2007-11-22 21:42:23 UTC
Thanks, I've filed an upstream bug with your patch.


Note You need to log in before you can comment on or make changes to this bug.