apache-2.0.55-r1 always expects gdbm to be installed, but its entire dependency tree won't pull it, unless gdbm is in USE (apr-util or perl will pull it then). Here's the exact error message I'm getting: /usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -march=athlon-xp -Os -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/worker -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -export-dynamic -L/usr/lib -o htdigest htdigest.lo -lz -lssl -lcrypto -ldl /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make[2]: *** [htpasswd] Błąd 1 make[2]: *** Czekam na niezakończone zadania.... /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make[2]: *** [htdigest] Błąd 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/support' make[1]: *** [all-recursive] Błąd 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/support' make: *** [all-recursive] Błąd 1 !!! ERROR: net-www/apache-2.0.55-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. Same thing happens to subversion, btw. I filed a separate bug for that (#123691). This is probably irrelevant, though, as subversion depends on apache only conditionaly (through apache2 USE flag), so if it's really an issue, I think it should be fixed in both packages. Here's my emerge info: Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-detection distlocks parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="C" LC_ALL="pl_PL.utf8" MAKEOPTS="-j2" 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 3dnow 3dnowext S3TC X aac alsa apache2 apm artworkextra avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 codecs crypt cscope css cups custom-cflags dba dedicated divx4linux djbfft dvd emboss encode extras faac ffmpeg firefox flac foomaticdb gif gnome gpm gsm gstreamer gtk gtk2 icq imagemagick imlib javascript jikes jpeg libg++ libwww linguas_pl live mad mikmod mmx mmx2 mmxext mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer mysqli ncurses nls no-htdocs nptl nptlonly ntlm nvidia offensive ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real rtc sdl session spell sse ssl stroke svg svga tcpd theora threads tiff tlen truetype truetype-fonts type1-fonts unicode usb utf8 vdr vhosts videos vorbis win32codecs xanim xchattext xml2 xmms xprint xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
apache-2.0.55-r1 always expects gdbm to be installed, but its entire dependency tree won't pull it, unless gdbm is in USE (apr-util or perl will pull it then). Here's the exact error message I'm getting: /usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -march=athlon-xp -Os -pipe -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/os/unix -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/server/mpm/worker -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/http -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/filters -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/proxy -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/include -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/generators -I/usr/include/openssl -I/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/modules/dav/main -export-dynamic -L/usr/lib -o htdigest htdigest.lo -lz -lssl -lcrypto -ldl /var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make[2]: *** [htpasswd] BÅÄd 1 make[2]: *** Czekam na niezakoÅczone zadania.... /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make[2]: *** [htdigest] BÅÄd 1 make[2]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/support' make[1]: *** [all-recursive] BÅÄd 1 make[1]: Leaving directory `/var/tmp/portage/apache-2.0.55-r1/work/httpd-2.0.55/support' make: *** [all-recursive] BÅÄd 1 !!! ERROR: net-www/apache-2.0.55-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. Same thing happens to subversion, btw. I filed a separate bug for that (#123691). This is probably irrelevant, though, as subversion depends on apache only conditionaly (through apache2 USE flag), so if it's really an issue, I think it should be fixed in both packages. Here's my emerge info: Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.13-gentoo-r4 i686) ================================================================= System uname: 2.6.13-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-detection distlocks parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="C" LC_ALL="pl_PL.utf8" MAKEOPTS="-j2" 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 3dnow 3dnowext S3TC X aac alsa apache2 apm artworkextra avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 codecs crypt cscope css cups custom-cflags dba dedicated divx4linux djbfft dvd emboss encode extras faac ffmpeg firefox flac foomaticdb gif gnome gpm gsm gstreamer gtk gtk2 icq imagemagick imlib javascript jikes jpeg libg++ libwww linguas_pl live mad mikmod mmx mmx2 mmxext mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mplayer mysqli ncurses nls no-htdocs nptl nptlonly ntlm nvidia offensive ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real rtc sdl session spell sse ssl stroke svg svga tcpd theora threads tiff tlen truetype truetype-fonts type1-fonts unicode usb utf8 vdr vhosts videos vorbis win32codecs xanim xchattext xml2 xmms xprint xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
No. Re-emerge apr/apr-util. *** This bug has been marked as a duplicate of 123691 ***
Re-emerging apr did the trick, thanks. Sorry about the duplicates, apparently I forgot to include resolved bugs in my search. :X