Hi. emerge -uDavN world wants to rebuild apache2 but it fails: ~ # emerge -tv apache These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild R ] net-www/apache-2.0.58-r2 USE="apache2 ldap ssl threads -debug -doc -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool -mpm-worker (-selinux) -static-modules (-no-suexec%)" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) net-www/apache-2.0.58-r2 to / >>> Source unpacked. >>> Compiling source in /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58 ... [...] /usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -pipe -march=pentium3 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/os/unix -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm/worker -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/http -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/filters -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/include -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators -I/usr/include/openssl -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/dav/main -export-dynamic -L/usr/lib -o htpasswd htpasswd.lo -lz -lssl -lcrypto -ldl /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/share/apr-0/build/libtool --silent --mode=link i686-pc-linux-gnu-gcc -pthread -O2 -pipe -march=pentium3 -fomit-frame-pointer -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/include/apr-0 -I/usr/include/db4.2 -I. -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/os/unix -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/server/mpm/worker -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/http -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/filters -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/proxy -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/include -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/generators -I/usr/include/openssl -I/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/modules/dav/main -export-dynamic -L/usr/lib -o htdigest htdigest.lo -lz -lssl -lcrypto -ldl /var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/srclib/pcre/libpcre.la /usr/lib/libaprutil-0.la -lldap -llber -lgdbm -ldb-4.2 -lexpat /usr/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl libtool: link: cannot find the library `/usr/lib/libdb-4.2.la' libtool: link: cannot find the library `/usr/lib/libdb-4.2.la' make[2]: *** [htpasswd] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [htdigest] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/support' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-www/apache-2.0.58-r2/work/httpd-2.0.58/support' make: *** [all-recursive] Error 1 !!! ERROR: net-www/apache-2.0.58-r2 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile apache-2.0.58-r2.ebuild, line 181: Called die !!! problem compiling apache2 !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/net-www:apache-2.0.58-r2:20070603-143553.log'. As the error states, libdb was not found. Maybe one should add this dependency to the ebuild? But I have sys-libs/db-4.3.29-r2 USE="-bootstrap -doc -java -nocxx -tcl -test" installed...
Run revdep-rebuild and/or re-emerge apr apr-util; not an Apache bug. *** This bug has been marked as a duplicate of bug 92212 ***
Created attachment 121040 [details] emerge log even a remerge of sys-libs/db doesn't help. Here the emerge log
(In reply to comment #2) > even a remerge of sys-libs/db doesn't help. Here the emerge log I guess you should re-read Comment #1.
I'm sorry. Didn't see it. It works. You maybe want to produce some valueable error message, instead of this "cannot find the library `/usr/lib/libdb-4.2.la'", to prevent others from posting this as a bug here. Regards
(In reply to comment #4) > You maybe want to produce some valueable error message, instead of > this "cannot find the library `/usr/lib/libdb-4.2.la'", to prevent others from > posting this as a bug here. Can't really produce any app-specific error messages; it comes from libtool itself.