GNOME Bugzilla – Bug 545089
FTBFS, i have no idea why, blame mozilla
Last modified: 2008-07-29 04:30:53 UTC
In file included from /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed_glue.cpp:42, from mozilla-helpers.cpp:25: /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed.h:57:1: warning: "NS_HIDDEN" redefined In file included from /usr/include/xulrunner-1.9.0.1/unstable/./nsXPCOMGlue.h:42, from mozilla-helpers.cpp:24: /usr/include/xulrunner-1.9.0.1/unstable/./nscore.h:117:1: warning: this is the location of the previous definition In file included from /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed_glue.cpp:42, from mozilla-helpers.cpp:25: /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed.h:63:1: warning: "NS_EXPORT_" redefined In file included from /usr/include/xulrunner-1.9.0.1/unstable/./nsXPCOMGlue.h:42, from mozilla-helpers.cpp:24: /usr/include/xulrunner-1.9.0.1/unstable/./nscore.h:208:1: warning: this is the location of the previous definition In file included from /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed_glue.cpp:42, from mozilla-helpers.cpp:25: /usr/include/xulrunner-1.9.0.1/unstable/./gtkmozembed.h:64:1: warning: "NS_IMPORT_" redefined In file included from /usr/include/xulrunner-1.9.0.1/unstable/./nsXPCOMGlue.h:42, from mozilla-helpers.cpp:24: /usr/include/xulrunner-1.9.0.1/unstable/./nscore.h:206:1: warning: this is the location of the previous definition mozilla-helpers.cpp: In function ‘char* mozilla_get_doctype(EphyEmbed*)’: mozilla-helpers.cpp:47: error: expected primary-expression before ‘)’ token mozilla-helpers.cpp:47: error: ‘GTK_CHECK_CAST’ was not declared in this scope mozilla-helpers.cpp: In function ‘char* mozilla_get_content_type(EphyEmbed*)’: mozilla-helpers.cpp:78: error: expected primary-expression before ‘)’ token mozilla-helpers.cpp:78: error: ‘GTK_CHECK_CAST’ was not declared in this scope make[4]: *** [liberrorviewermozilla_la-mozilla-helpers.lo] Error 1 make[4]: Leaving directory `/home/diego/gnome/consume/epiphany-extensions/extensions/error-viewer/mozilla' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/diego/gnome/consume/epiphany-extensions/extensions/error-viewer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/diego/gnome/consume/epiphany-extensions/extensions' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/diego/gnome/consume/epiphany-extensions' make: *** [all] Error 2 *** error during stage build of epiphany-extensions: ########## Error running make *** [1/1]
This is -22 branch.
Build with CFLAGS+="-UGTK_DISABLE_DEPRECATED". I fixed that in e branch, but not in e-e. Just adding that -U flag to all extensions/*/mozilla/Makefile.am's *_CPPFLAGS should fix it.
Fixed in gnome-2-22 branch.