bsddb3 version 4.1.3 fails to compile. bsddb3 is a required dependency for net-www/straw, an RSS/RDF news aggregator. Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -pv bsddb3 3.emerge bsddb3 Actual Results: [05:04 AM root(goldenmyst)]# emerge -v bsddb3 Calculating dependencies ...done! >>> emerge (1 of 1) dev-python/bsddb3-4.1.3 to / >>> md5 src_uri ;-) bsddb3-4.1.3.tar.gz >>> Unpacking source... >>> Unpacking bsddb3-4.1.3.tar.gz to /var/tmp/portage/bsddb3-4.1.3/work >>> Source unpacked. running build running build_py creating build creating build/lib.linux-i686-2.3 creating build/lib.linux-i686-2.3/bsddb3 copying bsddb/db.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/dbobj.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/dbrecio.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/dbutils.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/dbtables.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/dbshelve.py -> build/lib.linux-i686-2.3/bsddb3 copying bsddb/__init__.py -> build/lib.linux-i686-2.3/bsddb3 creating build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_get_none.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_compat.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_dbobj.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_lock.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_associate.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_thread.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_misc.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_env_close.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_all.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_dbtables.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_dbshelve.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_queue.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/__init__.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_recno.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_join.py -> build/lib.linux-i686-2.3/bsddb3/tests copying bsddb/test/test_basics.py -> build/lib.linux-i686-2.3/bsddb3/tests running build_ext building 'bsddb3._bsddb' extension creating build/temp.linux-i686-2.3 creating build/temp.linux-i686-2.3/extsrc gcc -fno-strict-aliasing -DNDEBUG -w -pipe -fomit-frame-pointer -march=athlon -Os -s -fpic -fPIC -fPIC -I/usr/include -I/usr/include/python2.3 -c extsrc/_bsddb.c -o build/temp.linux-i686-2.3/extsrc/_bsddb.o extsrc/_bsddb.c: In function `init_bsddb': extsrc/_bsddb.c:4253: error: `DB_CLIENT' undeclared (first use in this function) extsrc/_bsddb.c:4253: error: (Each undeclared identifier is reported only once extsrc/_bsddb.c:4253: error: for each function it appears in.) extsrc/_bsddb.c:4403: error: `DB_COMMIT' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 !!! ERROR: dev-python/bsddb3-4.1.3 failed. !!! Function distutils_src_compile, Line 38, Exitcode 1 !!! compilation failed Expected Results: Expected bsddb3 to compile cleanly and successfully. Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r1) ================================================================= System uname: 2.6.8-gentoo-r1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-w -pipe -fomit-frame-pointer -march=athlon -Os -s -fpic -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache digest fixpackages sandbox userpriv" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X alsa avi bindist cdr cjk curl dvd encode esd gif gnome gpm gtk2 imlib jpeg libg++ libwww mad mikmod mmx mmx2 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib pic png quicktime readline sdl slang spell ssl svga tcpd tetex threads tiff truetype unicode x86 xml2 xv zlib"
I get the same error. Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 Mobile Intel(R) Pentium(R) 4 CPU 2.66GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd ethereal evo flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql mysqli ncurses nls offensive oggvorbis opengl oscar oss pam pdflib perl pic png pnp ppds python quicktime readline samba sdl session slang spell sse sse2 ssl svg svga tcltk tcpd truetype usb x86 xml2 xmms xprint xv zlib" I get the same error as you (undeclared variables)
Getting the same here on a tinderbox. TMA-1 ~ # emerge info Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6. 4) ================================================================= System uname: 2.6.4 i686 AMD Athlon(tm) MP 2800+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /us r/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ / usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/sha re/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis tributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X apm arts avi berkdb bitmap-fonts cdr cups encode flac foomaticdb gd gdbm gif gimpprint gpm gtk gtk2 imlib java jpeg kde lcms libg++ libwww mad mikm od mmx motif mozcalendar mozsvg mpeg ncurses nls oggvorbis ooo-kde opengl oss pa m pdflib perl png python qt quicktime readline samba sdl slang slp spell sse ssl svga tcltk tcpd tetex theora tiff truetype usb wmf x86 xine xml2 xmms xprint xv zlib"
same error here as well Portage 2.0.50-r10 (2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-ck4) ================================================================= System uname: 2.6.8-ck4 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox sfperms" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://vishnu/gentoo-portage" USE="3dnow X alsa apm avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xinerama xml2 xv zlib"
Any progress on this problem?
just committed a fix for the problem. it's a 4.2 incompatibility problem with db-4.2 entering ~x86. i'm also going to unmask dev-python/bsddb3-4.2*
Fixed! Thank you.