Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255338 - >=app-admin/apache-tools-2.2.10 -/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub'
Summary: >=app-admin/apache-tools-2.2.10 -/usr/lib/libapr-1.so: undefined reference to...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 02:20 UTC by Daniel Wolny
Modified: 2010-01-01 11:53 UTC (History)
1 user (show)

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


Attachments
build log (build.log,27.84 KB, text/plain)
2009-10-19 06:43 UTC, Alex
Details
emerge --info (emerge.info,3.33 KB, text/plain)
2009-10-19 06:44 UTC, Alex
Details
emerge --info (apache-tools_emerge--info.txt,4.55 KB, text/plain)
2009-10-22 08:19 UTC, Stephane
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Wolny 2009-01-18 02:20:52 UTC
Hi,
>=app-admin/apache-tools-2.2.10 failed to compile:

/usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I. -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/os/unix -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/server/mpm/prefork -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/http -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/filters -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/proxy -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/include -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/generators -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/mappers -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/database -I/usr/include/apr-1 -I/usr/include/db4.5 -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/ssl -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/dav/main  -prefer-non-pic -static -c htcacheclean.c && touch htcacheclean.lo
/usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE    -I. -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/os/unix -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/server/mpm/prefork -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/http -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/filters -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/proxy -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/include -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/generators -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/mappers -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/database -I/usr/include/apr-1 -I/usr/include/db4.5 -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/proxy/../generators -I/usr/include -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/ssl -I/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/modules/dav/main  -prefer-non-pic -static -c httxt2dbm.c && touch httxt2dbm.lo
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer   -Wl,--no-as-needed -L/usr/lib  -Wl,--no-as-needed -o htpasswd  htpasswd.lo   -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -ldb-4.5 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer   -Wl,--no-as-needed -L/usr/lib  -Wl,--no-as-needed -o htdigest  htdigest.lo   -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -ldb-4.5 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer   -Wl,--no-as-needed -L/usr/lib  -Wl,--no-as-needed -o rotatelogs  rotatelogs.lo   -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -ldb-4.5 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread  -O2 -march=pentium3 -pipe -fomit-frame-pointer   -Wl,--no-as-needed -L/usr/lib  -Wl,--no-as-needed -o logresolve  logresolve.lo   -lm -L/usr/lib -lpcre /usr/lib/libaprutil-1.la -ldb-4.5 -lexpat /usr/lib/libapr-1.la -luuid -lrt -lcrypt -lpthread -ldl
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub'
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_add'
/usr/lib/libapr-1.so: undefined reference to `__sync_val_compare_and_swap'
/usr/lib/libapr-1.so: undefined reference to `__sync_sub_and_fetch'
/usr/lib/libapr-1.so: undefined reference to `__sync_lock_test_and_set'
/usr/lib/libapr-1.so: undefined reference to `__sync_synchronize'
collect2: ld returned 1 exit status
make[1]: *** [htpasswd] Błąd 1
make[1]: *** Oczekiwanie na niezakończone zadania....
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub'
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_add'
/usr/lib/libapr-1.so: undefined reference to `__sync_val_compare_and_swap'
/usr/lib/libapr-1.so: undefined reference to `__sync_sub_and_fetch'
/usr/lib/libapr-1.so: undefined reference to `__sync_lock_test_and_set'
/usr/lib/libapr-1.so: undefined reference to `__sync_synchronize'
collect2: ld returned 1 exit status
make[1]: *** [htdigest] Błąd 1
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub'
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_add'
/usr/lib/libapr-1.so: undefined reference to `__sync_val_compare_and_swap'
/usr/lib/libapr-1.so: undefined reference to `__sync_sub_and_fetch'
/usr/lib/libapr-1.so: undefined reference to `__sync_lock_test_and_set'
/usr/lib/libapr-1.so: undefined reference to `__sync_synchronize'
collect2: ld returned 1 exit status
make[1]: *** [rotatelogs] Błąd 1
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_sub'
/usr/lib/libapr-1.so: undefined reference to `__sync_fetch_and_add'
/usr/lib/libapr-1.so: undefined reference to `__sync_val_compare_and_swap'
/usr/lib/libapr-1.so: undefined reference to `__sync_sub_and_fetch'
/usr/lib/libapr-1.so: undefined reference to `__sync_lock_test_and_set'
/usr/lib/libapr-1.so: undefined reference to `__sync_synchronize'
collect2: ld returned 1 exit status
make[1]: *** [logresolve] Błąd 1
make[1]: Opuszczenie katalogu `/var/tmp/portage/app-admin/apache-tools-2.2.11/work/httpd-2.2.11/support'
make: *** [all-recursive] Błąd 1
 *
 * ERROR: app-admin/apache-tools-2.2.11 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2352:  Called die
 * The specific snippet of code:
 *       emake || die "emake support/ failed!"
 *  The die message:
 *   emake support/ failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/apache-tools-2.2.11/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/apache-tools-2.2.11/temp/environment'.

emerge --info
Portage 2.1.6.4 (!/portage/profiles/hardened/linux/x86, gcc-4.1.1, glibc-2.6.1-r0, 2.6.27-hardened-r3 i686)
=================================================================
System uname: Linux-2.6.27-hardened-r3-i686-Pentium_III_-Katmai-with-glibc2.0
Timestamp of tree: Sat, 17 Jan 2009 23:45:01 +0000
distcc 3.0 i686-pc-linux-gnu [enabled]
app-shells/bash:     3.2_p48
dev-lang/python:     2.4.4-r14, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS=""
LINGUAS="pl en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip acl apache2 berkdb bzip2 cli cracklib crypt dri encode flac gif hardened isdnlog jabber jpeg ldap loop-aes midi mmx mmxext mp3 mudflap mysql ncurses nls nptl nptlonly ogg openmp pam pcre perl php pic png postgres pppd python readline reflection samba session spell spl sqlite sqlite3 sse ssl suphp svnserve tcpd threads tiff unicode urandom vhosts vim-syntax x264 x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1        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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cache proxy proxy_balancer proxy_connect proxy_http proxy_ftp rewrite disk_cache 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 ident info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Wormo (RETIRED) gentoo-dev 2009-01-19 02:42:02 UTC
Since you are getting undefined references in /usr/lib/libapr-1.so, try rebuilding your dev-libs/apr-util
Comment 2 Wormo (RETIRED) gentoo-dev 2009-01-19 02:45:14 UTC
Sorry, I mean rebuild dev-libs/apr
Comment 3 Alex 2009-10-19 06:43:22 UTC
Created attachment 207533 [details]
build log

Hi
I have the same problem. Log in attachment.
Comment 4 Alex 2009-10-19 06:44:14 UTC
Created attachment 207534 [details]
emerge --info
Comment 5 Stephane 2009-10-22 08:19:51 UTC
Created attachment 207893 [details]
emerge --info
Comment 6 Stephane 2009-10-22 08:24:37 UTC
Hi

I have the same problem.
I re-emerge apr and apr-utils -> no change
I try with apache-tools-2.2.11 and apache-tools-2.2.14 -> no issue.

what's happen ?

Thanks
Comment 7 rogge 2010-01-01 11:48:23 UTC
Hi,

I've try with version 2.2.14, but it failed also.

/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make[1]: *** [htpasswd] Error 1
make[1]: *** Waiting for unfinished jobs....
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make[1]: *** [htdigest] Error 1
/usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
collect2: ld returned 1 exit status
make[1]: *** [rotatelogs] Error 1
make[1]: Leaving directory `/usr/src/tmp/portage/app-admin/apache-tools-2.2.14/work/httpd-2.2.14/support'
make: *** [all-recursive] Error 1
 * 
 * ERROR: app-admin/apache-tools-2.2.14 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2574:  Called die
 * The specific snippet of code:
 *       emake || die "emake support/ failed!"
 *  The die message:
 *   emake support/ failed!


emerge --info

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_XP_2000+-with-gentoo-1.12.13
Timestamp of tree: Mon, 28 Dec 2009 11:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.5.4-r3, 2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/distfiles"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/usr/src/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl alsa ao apache2 asf aspell bash-completion browserplugin bzip2 cdda cdparanoia cracklib crypt css cups cxx dbus dvd exif faac faad fax fbcon ffmpeg flac fortran gd gif gimp glut gnutls gpgme gpm gtk hal hunspell iconv imlib javascript jpeg latin1 libclamav libnotify libsamplerate lzo mad mikmod mmx mmxext modules mozilla mp2 mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss pam pcre pdf png pppd quicktime readline reflection sasl scanner sdl session slang spl sqlite sse ssl svg sysfs tcpd theora tiff truetype unicode usb vcd vim-syntax vorbis win32codecs wma wmf x86 xcomposite xml xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" MISDN_CARDS="w6692pci" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

Comment 8 rogge 2010-01-01 11:53:38 UTC
(In reply to comment #7)
> Hi,
> 
> I've try with version 2.2.14, but it failed also.
> 
> /usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
> collect2: ld returned 1 exit status
> make[1]: *** [htpasswd] Error 1
> make[1]: *** Waiting for unfinished jobs....
> /usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
> collect2: ld returned 1 exit status
> make[1]: *** [htdigest] Error 1
> /usr/lib/libaprutil-1.so: undefined reference to `apr_os_uuid_get'
> collect2: ld returned 1 exit status
> make[1]: *** [rotatelogs] Error 1
> make[1]: Leaving directory
> `/usr/src/tmp/portage/app-admin/apache-tools-2.2.14/work/httpd-2.2.14/support'
> make: *** [all-recursive] Error 1
>  * 
>  * ERROR: app-admin/apache-tools-2.2.14 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2574:  Called die
>  * The specific snippet of code:
>  *       emake || die "emake support/ failed!"
>  *  The die message:
>  *   emake support/ failed!
> 
> 
> emerge --info
> 
> Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2,
> 2.6.30-gentoo-r4 i686)
> =================================================================
> System uname:
> Linux-2.6.30-gentoo-r4-i686-AMD_Athlon-tm-_XP_2000+-with-gentoo-1.12.13
> Timestamp of tree: Mon, 28 Dec 2009 11:45:02 +0000
> ccache version 2.4 [enabled]
> app-shells/bash:     4.0_p35
> dev-java/java-config: 2.1.9-r2
> dev-lang/python:     2.5.4-r3, 2.6.4
> dev-util/ccache:     2.4-r7
> dev-util/cmake:      2.6.2-r1
> sys-apps/baselayout: 1.12.13
> sys-apps/sandbox:    1.6-r2
> sys-devel/autoconf:  2.13, 2.63-r1
> sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
> sys-devel/binutils:  2.18-r3
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.6b
> virtual/os-headers:  2.6.27-r2
> ACCEPT_KEYWORDS="x86"
> CBUILD="i686-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> CHOST="i686-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
> /usr/kde/3.5/shutdown /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
> /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/
> /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild
> /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
> CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox
> sfperms strict unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> LANG="de_DE@euro"
> LDFLAGS="-Wl,-O1"
> LINGUAS="de"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/distfiles"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
> 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="/usr/src/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina
> /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise
> /usr/local/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> USE="3dnow 3dnowext 7zip X a52 aac aalib acl alsa ao apache2 asf aspell
> bash-completion browserplugin bzip2 cdda cdparanoia cracklib crypt css cups cxx
> dbus dvd exif faac faad fax fbcon ffmpeg flac fortran gd gif gimp glut gnutls
> gpgme gpm gtk hal hunspell iconv imlib javascript jpeg latin1 libclamav
> libnotify libsamplerate lzo mad mikmod mmx mmxext modules mozilla mp2 mp3 mpeg
> mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl openmp oss
> pam pcre pdf png pppd quicktime readline reflection sasl scanner sdl session
> slang spl sqlite sse ssl svg sysfs tcpd theora tiff truetype unicode usb vcd
> vim-syntax vorbis win32codecs wma wmf x86 xcomposite xml xorg xpm xscreensaver
> xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
> bt87x ca0106 cmipci emu10k1 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
> auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter
> file_cache filter headers ident imagemap include info log_config logio
> mem_cache mime mime_magic negotiation rewrite setenvif so speling status
> unique_id userdir usertrack vhost_alias" CAMERAS="fuji" ELIBC="glibc"
> INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
> cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de"
> MISDN_CARDS="w6692pci" RUBY_TARGETS="ruby18" SANE_BACKENDS="pixma"
> USERLAND="GNU" VIDEO_CARDS="nv nvidia"
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
> 

After reemerge (no update or dep-update; revdep-rebuild was also quit) apr-util-1.3.9 it works.