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
weird, it worked here without any issues, suspecting there's some gnome versioning in between....
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
Created attachment 135200 [details, diff] compile-fix.patch Patch.
Fixed upstream: http://svn.gnome.org/viewvc/xchat-gnome/trunk/src/fe-gnome/setup-dialog.c?r1=2484&r2=2491
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.
Fixed by removing the patch from the ebuild, sorry for slow response