# emerge =dev-util/subversion-1.2.0 [...] configure: WARNING: we have configured without BDB filesystem support You don't seem to have Berkeley DB version 4.0.14 or newer installed and linked to APR-UTIL. We have created Makefiles which will build without the Berkeley DB back-end; your repositories will use FSFS as the default back-end. You can find the latest version of Berkeley DB here: http://www.sleepycat.com/download/index.shtml [...] /bin/sh /var/tmp/portage/subversion-1.2.0/work/subversion-1.2.0/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=athlon -O2 -pipe -fstack-protector -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 -o subversion/libsvn_subr/validate.lo -c subversion/libsvn_subr/validate.c /bin/sh /var/tmp/portage/subversion-1.2.0/work/subversion-1.2.0/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=athlon -O2 -pipe -fstack-protector -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 -o subversion/libsvn_subr/version.lo -c subversion/libsvn_subr/version.c /bin/sh /var/tmp/portage/subversion-1.2.0/work/subversion-1.2.0/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=athlon -O2 -pipe -fstack-protector -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 -o subversion/libsvn_subr/xml.lo -c subversion/libsvn_subr/xml.c cd subversion/libsvn_subr && /bin/sh /var/tmp/portage/subversion-1.2.0/work/subversion-1.2.0/libtool --tag=CC --silent --mode=link i686-pc-linux-gnu-gcc -L/var/tmp/portage/subversion-1.2.0/image//usr/lib -march=athlon -O2 -pipe -fstack-protector -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -pthread -DNEON_ZLIB -DNEON_SSL -L/usr/lib -rpath /usr/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo config_auth.lo config_file.lo config_win.lo ctype.lo date.lo error.lo hash.lo io.lo lock.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl -lz /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lgdbm collect2: ld returned 1 exit status make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1 !!! ERROR: dev-util/subversion-1.2.0 failed. !!! Function src_compile, Line 109, Exitcode 2 !!! make of subversion failed !!! If you need support, post the topmost build error, NOT this status message. # emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.12-rc4-200505021 i686) ================================================================= System uname: 2.6.12-rc4-200505021 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.6.12 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4-r3 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon -O2 -pipe -fstack-protector" 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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon -O2 -pipe -fstack-protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig autopatch candy ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.easynet.nl/mirror/gentoo/ http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/uncleowen" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apm avi bitmap-fonts cdr crypt cups curl dvb dvd dvdr emboss encode fam flac foomaticdb fortran gd gif gtk gtk2 guile imagemagick imlib java jpeg junit libg++ libwww mad mikmod mmx mp3 mpeg ncurses nptl nvidia offensive ogg oggvorbis opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis win32codecs xine xml2 xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS Reproducible: Always Steps to Reproduce:
I don't have sys-libs/gdbm installed.
Your apr library seems to believe so. Try to remerge apr (or maybe openldap).
Remerging apr didn't help (still the same error), I don't have openldap installed.
Try apr-util. Subversion by itself does not use gdbm. It's dependencies (like apr/apr-util) can.
Thanks, that worked. (Shouldn't revdep-rebuild catch these things?)