inkscape-0.46-r3 fails to build with gtk+-2.13. i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/lib/perl5/5.8.8/i686-linux/CORE -I/usr/include/freetype2 -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/poppler -I/usr/include/poppler/glib -I/usr/include/poppler -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -DPOTRACE=\"potrace\" -pthread -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/gtkspell-2.0 -I../cxxtest -Wall -Wformat-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -D_FORTIFY_SOURCE=2 -Wno-unused-parameter -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -MT widgets/sp-xmlview-attr-list.o -MD -MP -MF $depbase.Tpo -c -o widgets/sp-xmlview-attr-list.o widgets/sp-xmlview-attr-list.cpp &&\ mv -f $depbase.Tpo $depbase.Po In file included from /usr/include/gtk-2.0/gtk/gtk.h:221, from /usr/include/gtk-2.0/gtk/gtkclist.h:33, from widgets/sp-xmlview-attr-list.h:16, from widgets/sp-xmlview-attr-list.cpp:21: /usr/include/gtk-2.0/gtk/gtkctree.h:110: error: ‘GtkCList’ does not name a type /usr/include/gtk-2.0/gtk/gtkctree.h:127: error: ‘GtkCListClass’ does not name a type /usr/include/gtk-2.0/gtk/gtkctree.h:149: error: ‘GtkCListRow’ does not name a type /usr/include/gtk-2.0/gtk/gtkctree.h:342: error: ‘GtkCellType’ does not name a type widgets/sp-xmlview-attr-list.cpp: In function ‘GtkType sp_xmlview_attr_list_get_type()’: widgets/sp-xmlview-attr-list.cpp:93: warning: deprecated conversion from string constant to ‘gchar*’ make[2]: *** [widgets/sp-xmlview-attr-list.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r3/work/inkscape-0.46/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/inkscape-0.46-r3/work/inkscape-0.46' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: Resolution: https://bugs.launchpad.net/inkscape/+bug/238223
Created attachment 157623 [details, diff] Ed Catmurs gtk-clist.patch from launchpad bug #238223 (see comments above)
Created attachment 157625 [details] updated ebuild to include gtk-clist patch Compiles smoothly if patched. If this makes it to the tree, the bug may be closed.
*** Bug 225857 has been marked as a duplicate of this bug. ***
*** Bug 238736 has been marked as a duplicate of this bug. ***
Please fix this ASAP or allow me to. I am unmasking gtk+ within a few hours. The attach patch is correct and should be used if that's enough to fix it (obviously it must be if it compiles fine against gtk+-2.14.3 if this patch is included).
This gets fixed by http://bugzilla.gnome.org/show_bug.cgi?id=536767 as well - which is a patch against gtk+ itself. I'm probably going to include this, so the patch here isn't strictly necessary then until gtk3 (at which point a lot more is needed anyhow, like not using GtkCList/GtkCTree in the first place). However if upstream refuses to include this in the future for some reason, I might like to back it out, but I see no reason why upstream will eventually refuse to include this simple fix (or just need to be convincing enough).
(In reply to comment #6) closing, as this issue is fixed. thanks leio/gnome-herd!