>>> Unpacking source... >>> Unpacking apr-util-0.9.12.tar.gz to /var/tmp/portage/dev-libs/apr-util-0.9.12/work [32;01m*[0m Applying apr-util-0.9.12-linking.patch ... [A[72C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Running elibtoolize in: apr-util-0.9.12/xml/expat/conftools [32;01m*[0m Applying portage-1.5.10.patch ... [32;01m*[0m Applying max_cmd_len-1.5.20.patch ... [32;01m*[0m Applying sed-1.5.6.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-libs/apr-util-0.9.12/work/apr-util-0.9.12 ... [32;01m*[0m Found db version 4.5 [32;01m*[0m Found db version 4.5 include version 4.5 * econf: updating apr-util-0.9.12/build/config.sub with /usr/share/gnuconfig/config.sub * econf: updating apr-util-0.9.12/build/config.guess with /usr/share/gnuconfig/config.guess * econf: updating apr-util-0.9.12/xml/expat/conftools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating apr-util-0.9.12/xml/expat/conftools/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/apr-util-0 --with-apr=/usr --with-expat=/usr --with-ldap --with-gdbm --with-dbm=db45 --with-berkeley-db=/usr/include/db4.5:/usr/lib64 --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for working mkdir -p... yes APR-util Version: 0.9.12 checking for chosen layout... apr-util Applying apr-util hints file rules for x86_64-pc-linux-gnu checking for APR... yes setting CC to "x86_64-pc-linux-gnu-gcc" setting CPP to "x86_64-pc-linux-gnu-gcc -E" adding "-pthread" to CFLAGS setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE" checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for ldap support... checking for ldap_init in -lldap50... no checking for ldap_init in -lldapssl41... no checking for ldap_init in -lldapssl40... no checking for ldap_init in -lldapssl30... no checking for ldap_init in -lldapssl20... no checking for ldap_init in -lldap... yes setting APRUTIL_EXPORT_LIBS to "-lldap -llber" setting APRUTIL_LIBS to "-lldap -llber" checking for ldapssl_install_routines in -lldap... no checking for ldap_start_tls_s in -lldap... yes checking for ber_init in -llber... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ldap.h... yes checking ldap_ssl.h usability... no checking ldap_ssl.h presence... no checking for ldap_ssl.h... no checking gdbm.h usability... yes checking gdbm.h presence... yes checking for gdbm.h... yes checking for gdbm_open in -lgdbm... yes configure: error: Berkeley DB not found. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/dev-libs/apr-util-0.9.12/work/apr-util-0.9.12/config.log !!! ERROR: dev-libs/apr-util-0.9.12 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3949: Called src_compile apr-util-0.9.12.ebuild, line 50: Called econf '--datadir=/usr/share/apr-util-0' '--with-apr=/usr' '--with-expat=/usr' '--with-ldap' '--with-gdbm' '--with-dbm=db45' '--with-berkeley-db=/usr/include/db4.5:/usr/lib64' ebuild.sh, line 577: Called die !!! econf 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/dev-libs/apr-util-0.9.12/temp/build.log'.