Bug 394511

Summary: rebuilding devhelp against xulrunner fails
Product: [Fedora] Fedora Reporter: Matthias Clasen <mclasen>
Component: xulrunnerAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: caillon, dwmw2, gecko-bugs-nobody, johnp, stransky
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-22 12:30:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
build patch
none
slightly polished patch none

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.