Can't build gconf-2.6.1 with gcc-2.9.5. I've attached a patch.
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/
lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.
0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/
include/freetype2 -I/usr/include/libxml2 -DG_LOG_DOMAIN=\"GConf\" -DGCONF_LOCALE_DIR=\
"/usr/share/locale\" -DGCONF_SRCDIR=\"/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1\"
-DGCONF_CONFDIR=\"/etc/gconf/2\" -DGCONF_ETCDIR=\"/etc/gconf\" -DGCONF_BINDIR=\"/usr/b
in\" -DGCONF_SERVERDIR=\"/usr/libexec\" -DGCONF_BUILDDIR=\"..\" -DGCONF_BACKEND_DIR=\"
/usr/lib/GConf/2\" -DVERSION=\"2.6.1\" -DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\"gconfd-2\
" -mcpu=i686 -O3 -pipe -Wall -c gconf-internals.c -fPIC -DPIC -o .libs/gconf-internal
s.o
gconf-internals.c: In function `gconf_activate_server':
gconf-internals.c:2843: parse error before `char'
gconf-internals.c:2854: `failure_log' undeclared (first use in this function)
gconf-internals.c:2854: (Each undeclared identifier is reported only once
gconf-internals.c:2854: for each function it appears in.)
gconf-internals.c:2856: `gconfd_dir' undeclared (first use in this function)
gconf-internals.c:2858: `dir_accessible' undeclared (first use in this function)
gconf-internals.c:2858: `statbuf' undeclared (first use in this function)
gconf-internals.c:2869: `lock_dir' undeclared (first use in this function)
gconf-internals.c:2874: `ev' undeclared (first use in this function)
gconf-internals.c:2904: `p' undeclared (first use in this function)
gconf-internals.c:2914: `argv' undeclared (first use in this function)
gconf-internals.c:2918: `tmp_err' undeclared (first use in this function)
gconf-internals.c:2943: `buf' undeclared (first use in this function)
make[2]: *** [gconf-internals.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1/gconf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gconf-2.6.1/work/GConf-2.6.1'
make: *** [all-recursive-am] Error 2
!!! ERROR: gnome-base/gconf-2.6.1 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.50-r6 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.25)
==============================================================
===
System uname: 2.4.25 i686 Transmeta(tm) Crusoe(tm) Processor TM5800
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest sandbox strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.
clarkson.edu/pub/distributions/gentoo/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http:
//gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.net/gentoo http://open-systems.ufl.
edu/mirrors/gentoo http://mirror.tucdemonic.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http:
//mirror.cpsc.ucalgary.ca/mirror/gentoo.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X X509 aalib alsa apache2 apm avi berkdb bonobo cdr crypt cups curses dga dvd emacs
encode esd ethereal evo fbcon foomaticdb gdbm gif gnome-libs gpm gtk gtk2 gtkhtml guile imap
imlib java jpeg lcms ldap libg++ libwww mmx motif mpeg mysql nas ncurses odbc oggvorbis oss
pam pcmcia pda pdflib perl pic plotutils png pnp python quicktime readline samba sdl skey slang
smooth snmp spell ssl stroke svga tcltk tcpd tetex tiff truetype trusted usb vim-with-x x86 xml xml2
xmms xv zlib"