/bin/sh /var/tmp/portage/subversion-1.2.3-r2/work/subversion-1.2.3/libtool --tag=CC --silent --mode=compile i686-pc-linux-gnu-gcc -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -march=pentium3 -O3 -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -I./subversion/include -I./subversion -I/usr/include/neon -I/usr/include/apr-0 -I/usr/include/apr-0 -I/usr/include/db4.2 -o subversion/libsvn_repos/repos.lo -c subversion/libsvn_repos/repos.c subversion/libsvn_repos/repos.c: In function `create_hooks': subversion/libsvn_repos/repos.c:496: error: syntax error before "SVN_BINDIR" subversion/libsvn_repos/repos.c:884: error: syntax error before "SVN_BINDIR" make: *** [subversion/libsvn_repos/repos.lo] Error 1 !!! ERROR: dev-util/subversion-1.2.3-r2 failed. temple subversion-1.2.3 # emerge --info Portage 2203-svn (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.6-r3, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Pentium III (Katmai) Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo http://prometheus.cs.wmich.edu/gentoo http://cudlug.cudenver.edu/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage"USE="x86 aalib acl apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cli crypt curl doc dri eds emboss encode exif expat foomaticdb fortran gd gdbm gif gpm gstreamer gtk2 hardened idn imagemagick imap imlib ipv6 isdnlog jpeg justify kde libg++ libwww mad mbox mhash mikmod mime mmx motif mp3 mpeg mysql ncurses nethack nls offensive ogg oggvorbis opengl oss pam pcre pdflib perl png postfix pppd python quicktime quotas readline recode reflection ruby samba sdl session snmp spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xorg xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Which apr and apr-utils do you have installed. And could you attach a full build log to the bug. Someway things go wrong with the preprocessor.
assuming fixed in latest subversion versions.