s. "Actual Results" Reproducible: Always Steps to Reproduce: 1. emerge straw 2. 3. Actual Results: >>> emerge (2 of 3) dev-python/bsddb3-3.4.0-r1 to / >>> md5 src_uri ;-) bsddb3-3.4.0.tar.gz >>> Unpacking source... >>> Unpacking bsddb3-3.4.0.tar.gz to /var/tmp/portage/bsddb3-3.4.0-r1/work * Applying bsddb3-3.4.0-db3.patch patching file setup.py >>> Source unpacked. Found db3 header files at /usr/include/db3 running build running build_py creating build creating build/lib.linux-i686-2.2 creating build/lib.linux-i686-2.2/bsddb3 copying bsddb3/db.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/dbobj.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/dbrecio.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/dbutils.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/dbtables.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/dbshelve.py -> build/lib.linux-i686-2.2/bsddb3 copying bsddb3/__init__.py -> build/lib.linux-i686-2.2/bsddb3 running build_ext building 'bsddb3._db' extension creating build/temp.linux-i686-2.2 gcc -DNDEBUG -fPIC -I/usr/include/db3 -I/usr/include/python2.2 -c src/_db.c -o build/temp.linux-i686-2.2/_db.o -march=pentium3 -O2 -pipe -fomit-frame-pointer gcc -shared build/temp.linux-i686-2.2/_db.o -L/usr/lib -ldb-3 -o build/lib.linux-i686-2.2/bsddb3/_db.so /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb-3 collect2: ld returned 1 exit status error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/bsddb3-3.4.0-r1 failed. !!! Function distutils_src_compile, Line 36, Exitcode 1 !!! compilation failed # emerge info Portage 2.0.49-r2 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-openmosix) ================================================================= System uname: 2.4.21-openmosix i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /var/spool/amanda/.amandahosts /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j6" 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 foomaticdb libg++ mad mikmod berkdb slang tetex nas esd ldap i8x0 mmx sse -3dnow apm pcmcia pnp nls readline trusted cdr cups snmp slp mozilla X motif dga opengl xv -gpm -kde -qt -qtmt -arts gtk gtk2 gnome gb bonobo libwww libgda gtkhtml tcltk ncurses sdl svga imlib lcms gif wmf jpeg png tiff gd avi mpeg quicktime -alsa oss dvd xmms oggvorbis ggz pam ssl crypt imap maildir mbox tcpd spell truetype xml xml2 pdflib java jikes python perl gdbm -doc odbc mysql innodb zlib galeon openoffice encode samba apache apache2 php mod_php mod_ssl plotutils ethereal usb -guile -mozsvg mozcalendar -mozaccess mozp3p -mozxmlterm moznoirc -moznomail -moznocompose -moznoxft"
This error seems to occur after upgrading db3 to db-3.2.9-r8. The bsddb3-3.4.0-db3.patch changes -ldb to -ldb-3. In pre r8 ebuilds there is a function within the ebuild called fix_so () that is executed; in the db-3.2.9-r8 ebuild the db_fix_so function (from the db.eclass) is executed instead. These functions are a little different and one of the results of using db_fix_so is that the libdb-3.so link gets deleted.
should be fixed now, sorry about the breakage, i missed that when I wrote db.eclass.