This is for tracing the details of the svnversion failure. I'll attach logs from the user in a sec.
Created attachment 205544 [details] svnversion-traceback.txt svnversion failure output. Generated from: cd /usr/portage/*/lucene/ && ebuild *2.4.1*d unpack && cd /var/tmp/portage/*/lucene-2.4.1/work/lucene*1/ && svnversion
below is emerge --info from original user, Viktor S (bugzilla@marinmo) Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r6-sgx64 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r6-sgx64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 18 Sep 2009 22:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p33 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.2-r1, 3.1.1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.1 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=core2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="ccache confcache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo " LANG="en_US.UTF8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/games /usr/local/portage/layman/kde-testing /usr/local/portage/layman/java-overlay /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa amd64 berkdb bzip2 cairo cddax cddb cdr cli cracklib crypt cups curl curlwrappers dbus debug dga directfb dri dts dvd dvdr dvdread encode exif fbcon ffmpeg firefox flac fortran freetype ftp gd gdbm gif gpm hal htmlhandbook iconv idn imagemagick imap ipod ipv6 isdnlog java jpeg jpeg2k kde kontact lame latex maildir matroska mbox mime mmx mng mono mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nas ncurses network nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl plasma png pppd python qt3 qt3support qt4 quicktime rdesktop readline realcodecs reflection rss samba sasl session spl sqlite sse sse2 ssl subversion svg symlink sysfs tcl tcpd threads tiff truetype unicode usb vorbis wavpack webkit wmf x264 xcomposite xinerama xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Viktor, please post output of: emerge -ptv expat subversion apr:1 apr-util
[ebuild R ] dev-util/subversion-1.6.5-r10 USE="berkdb java kde nls perl python sasl webdav-neon -apache2 -bash-completion -ctypes-python -debug -doc -dso -emacs -extras -gnome-keyring -ruby -test -vim-syntax -webdav-serf" 0 kB [ebuild R ] dev-libs/apr-util-1.3.9 USE="berkdb gdbm mysql sqlite -doc -freetds -ldap -odbc -postgres -sqlite3" 0 kB [ebuild R ] dev-libs/apr-1.3.8 USE="debug urandom -doc -older-kernels-compatibility" 0 kB [ebuild R ] dev-libs/expat-2.0.1-r2 0 kB
Rebuild dev-libs/apr with USE="-debug".
With dev-libs/apr USE=-debug, lucene compiles just fine.
(In reply to comment #1) It's a well-known, standard debug output of APR. "debug" USE flag of APR should be enabled only by APR developers etc. and only temporarily. It's not for users who don't know what they do.
arfrever: If it's only for really internal debugging, why is it even a USE flag? Please remove the USE flag, and anybody that wants it can get their debugging with econf_extra instead.