build failure with gtk+-2.13: gtkmozembed2.cpp:171: error: ‘gtk_marshal_NONE__NONE’ was not declared in this scope

UNCONFIRMED
Unassigned

Status

Core Graveyard
Embedding: GTK Widget
UNCONFIRMED
10 years ago
6 years ago

People

(Reporter: Ed Catmur, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.14) Gecko/20080420 Epiphany/2.22 Firefox/2.0.0.14
Build Identifier: 

i686-pc-linux-gnu-g++ -o gtkmozembed2.o -c -I../../../../dist/include/system_wrappers -include ../../../../config/gcc_hidden.h -DIMPL_XREAPI -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DGENTOO_LIB_DIR=\"/usr/lib\" -D_IMPL_GTKMOZEMBED -I.  -I. -I. -I../../../../dist/include/xpcom -I../../../../dist/include/content -I../../../../dist/include/string -I../../../../dist/include/docshell -I../../../../dist/include/necko -I../../../../dist/include/widget -I../../../../dist/include/dom -I../../../../dist/include/gfx -I../../../../dist/include/layout -I../../../../dist/include/uriloader -I../../../../dist/include/webbrwsr -I../../../../dist/include/shistory -I../../../../dist/include/embed_base -I../../../../dist/include/windowwatcher -I../../../../dist/include/profdirserviceprovider -I../../../../dist/include/xulapp -I../../../../dist/include/accessibility -I../../../../dist/include   -I../../../../dist/include/gtkembedmoz -I/usr/include/nspr     -I../../../../dist/sdk/include    -fPIC  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -ggdb -pipe -march=athlon-xp -Wno-return-type -w -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O1  -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-unix-print-2.0    -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -DMOZILLA_CLIENT -include ../../../../mozilla-config.h -Wp,-MD,.deps/gtkmozembed2.pp gtkmozembed2.cpp
gtkmozembed2.cpp: In function ‘void gtk_moz_embed_class_init(GtkMozEmbedClass*)’:
gtkmozembed2.cpp:171: error: ‘gtk_marshal_NONE__NONE’ was not declared in this scope
gtkmozembed2.cpp:203: error: ‘gtk_marshal_NONE__INT_INT’ was not declared in this scope
gtkmozembed2.cpp:255: error: ‘gtk_marshal_NONE__POINTER_UINT’ was not declared in this scope
gtkmozembed2.cpp:263: error: ‘gtk_marshal_NONE__BOOL’ was not declared in this scope
gtkmozembed2.cpp:296: error: ‘gtk_marshal_BOOL__POINTER’ was not declared in this scope
gtkmozembed2.cpp: In function ‘void gtk_moz_embed_single_class_init(GtkMozEmbedSingleClass*)’:
gtkmozembed2.cpp:1092: error: ‘gtk_marshal_NONE__POINTER_UINT’ was not declared in this scope
gmake[4]: *** [gtkmozembed2.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla/embedding/browser/gtk/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla/embedding/browser/gtk'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.9-r2/work/mozilla'
make: *** [default] Error 2

Reproducible: Always

Steps to Reproduce:
1. Install gtk+-2.13.1
2. Build xulrunner-1.9 (may apply to other products that build gtkmozembed, not sure)
Actual Results:  
Compile failure

Expected Results:  
Successful compile

gtk_marshal_* marshallers have been deprecated and removed from gtk+-2.13 and replaced (for the most part) with g_cclosure_marshal_*.  Patch to follow.
(Reporter)

Comment 1

10 years ago
Created attachment 327298 [details] [diff] [review]
gtk-marshal.patch
(Assignee)

Updated

6 years ago
Component: Embedding: GTK Widget → Embedding: GTK Widget
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.