Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198090 - net-irc/xchat-gnome-0.18 compile failure: setup-dialog.c:45: error: ‘xml’ undeclared (first use in this function)
Summary: net-irc/xchat-gnome-0.18 compile failure: setup-dialog.c:45: error: ‘xml’ und...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-04 19:37 UTC by Ed Catmur
Modified: 2007-12-05 21:41 UTC (History)
3 users (show)

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


Attachments
compile-fix.patch (compile-fix.patch,463 bytes, patch)
2007-11-04 21:29 UTC, Ed Catmur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-11-04 19:37:25 UTC
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DTOPSRCDIR="\"../..\"" -DSYSCONFDIR="\"/etc\"" -DICONDIR="\"/usr/share/xchat-gnome/icons\"" -DDATADIR="\"/usr/share/xchat-gnome\"" -DXCHATSHAREDIR="\"/usr/share/xchat-gnome\"" -DLIBDIR="\"/usr/lib/xchat-gnome\"" -DPREFIX="\"/usr\"" -DXCHATLIBDIR="\"/usr/lib/xchat-gnome\"" -DGNOMELOCALEDIR="\"/usr/share/locale\"" -I./../common   -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/freetype2 -I/usr/include/libpng12 -I/usr/include/libglade-2.0 -I/usr/include/libxml2 -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/libgnome-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gail-1.0    -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare  -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -MT xchat_gnome-status-bar.o -MD -MP -MF .deps/xchat_gnome-status-bar.Tpo -c -o xchat_gnome-status-bar.o `test -f 'status-bar.c' || echo './'`status-bar.c
setup-dialog.c: In function ‘run_setup_dialog’:
setup-dialog.c:45: error: ‘xml’ undeclared (first use in this function)
setup-dialog.c:45: error: (Each undeclared identifier is reported only once
setup-dialog.c:45: error: for each function it appears in.)
distcc[2514] ERROR: compile setup-dialog.c on localhost failed
make[4]: *** [xchat_gnome-setup-dialog.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-irc/xchat-gnome-0.18/work/xchat-gnome-0.18/src/fe-gnome'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/net-irc/xchat-gnome-0.18/work/xchat-gnome-0.18/src/fe-gnome'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-irc/xchat-gnome-0.18/work/xchat-gnome-0.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-irc/xchat-gnome-0.18/work/xchat-gnome-0.18'
make: *** [all] Error 2
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-11-04 19:47:56 UTC
weird, it worked here without any issues, suspecting there's some gnome versioning in between....
Comment 2 Ed Catmur 2007-11-04 21:27:50 UTC
USE flags:
[ebuild     U ] net-irc/xchat-gnome-0.18 [0.17] USE="dbus ipv6 libnotify mmx nls perl python spell ssl -debug -tcl" 0 kB 
Comment 3 Ed Catmur 2007-11-04 21:29:20 UTC
Created attachment 135200 [details, diff]
compile-fix.patch

Patch.
Comment 5 Cosimo Cecchi 2007-11-09 00:45:37 UTC
The problem is that we apply "files/0.17-segfault-fix.patch" in our xchat-gnome 0.18 ebuild, which reverts the patch Ed Catmur posted in comment #3.
Simply deleting the relevant epatch line in the ebuild fixes compilation.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2007-12-05 21:41:32 UTC
Fixed by removing the patch from the ebuild, sorry for slow response