Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226405 - inkscape-0.46-r3 build failure with gtk+-2.13
Summary: inkscape-0.46-r3 build failure with gtk+-2.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL: https://bugs.launchpad.net/inkscape/+...
Whiteboard:
Keywords:
: 225857 238736 (view as bug list)
Depends on:
Blocks: gtk2.14-compat
  Show dependency tree
 
Reported: 2008-06-13 20:00 UTC by Cheba
Modified: 2008-09-28 11:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ed Catmurs gtk-clist.patch (inkscape-0.46-gtk-clist.patch,265 bytes, patch)
2008-06-19 14:59 UTC, Helmut Eberharter
Details | Diff
updated ebuild to include gtk-clist patch (inkscape-0.46-r4.ebuild,2.70 KB, text/plain)
2008-06-19 15:01 UTC, Helmut Eberharter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cheba 2008-06-13 20:00:16 UTC
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
Comment 1 Helmut Eberharter 2008-06-19 14:59:34 UTC
Created attachment 157623 [details, diff]
Ed Catmurs gtk-clist.patch

from launchpad bug #238223 (see comments above)
Comment 2 Helmut Eberharter 2008-06-19 15:01:06 UTC
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.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-19 19:54:30 UTC
*** Bug 225857 has been marked as a duplicate of this bug. ***
Comment 4 Markus Meier gentoo-dev 2008-09-26 17:27:35 UTC
*** Bug 238736 has been marked as a duplicate of this bug. ***
Comment 5 Mart Raudsepp gentoo-dev 2008-09-28 06:39:45 UTC
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).
Comment 6 Mart Raudsepp gentoo-dev 2008-09-28 10:30:04 UTC
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).
Comment 7 Markus Meier gentoo-dev 2008-09-28 11:32:48 UTC
(In reply to comment #6)

closing, as this issue is fixed. thanks leio/gnome-herd!