Berkdb sys-libs/db-4.2.52_p2 ebuild fails to emerge. Manually config/make/make install'ing from source works. Sys-libs/db-4.1.25_p1-r4 ebuild works. I'm not capable of troubleshooting more than that, this is a request for a developer to take a look at it and see if it's easily fixable. If so, fix and add "~amd64" keyword. Reproducible: Always Steps to Reproduce: 1. emerge sys-libs/db 2. 3. Actual Results: See attached output from emerge. Expected Results: See attached output from make. Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-march=k8 -O2 -pipe" FEATURES="buildpkg ccache fixpackages sandbox strict" USE="acpi amd64 apache2 berkdb curl gd gdbm gif jpeg libwww mysql ncurses nogcj nptl pam perl png python readline ssl threads truetype unicode xml2 zlib"
Created attachment 35776 [details] Emerge output from failed ebuild
Created attachment 35777 [details] Config, make, make install output - successful
I built it manually using default configure parameters, and it worked (see attachement). Then I built it again using the configure parameters from the ebuild, and it caught the same error. Then I removed the --enable-cxx from the parameters and rebuilt it, and it worked, so it seems that is the culprit. I assume this is related to recent trouble with libstdc++-v3 and/or libtool?
I found a post on BerkDB newsgroup that seems to be the same issue: http://groups.google.com/groups?dq=&start=50&hl=en&lr=lang_en&ie=UTF-8&group=comp.databases.berkeley-db&safe=off&selm=1f3029c6.0405251420.4b8e432a%40posting.google.com "This is a known libtool bug; see http://mail.gnu.org/archive/html/libtool-patches/2003-06/msg00056.html. for a tiny patch to libtool.m4 that fixes this." There's also a patch for berkdb that works around the libtool bug. I haven't applied either patch yet to test it out, I'll get to it at some point.
C.F. bug #57654
Err.. no. C.F. bug #57987 - identical error.
Also fails on Sparc64 with similar errors. Similar errors reported on other architectures have been chalked up to libtool errors: http://www.talkaboutdatabases.com/group/comp.databases.berkeley-db/messages/1063.html
Created attachment 40197 [details, diff] Proposed fix I've hacked up a patch to configure based on the message here. Works for me -- tested with Subversion. At some point, I imagine this'll be fixed upstream and the patch can go away. It'll be loud and clear, because the fix should end up being exactly this. Someone should check that this doesn't break some other arch. <rant>Why can't Portage figure out everything else that needs to rebuild to switch to db4.2? I wanted to test it with subversion -- little did I know that the incomprehensible error I got was because I hadn't rebuilt apache first.</rant> This patch sneakily adds ~amd64 ;)
...where by "the message here" I mean the post about the libtool bug: http://mail.gnu.org/archive/html/libtool-patches/2003-06/msg00056.html
fixed in cvs now, sorry for the big delay
I'm getting this same exact error nowadays. Emerge info as follows: Portage 2.0.53_rc6 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 x86_64) ================================================================= System uname: 2.6.13-gentoo-r3 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Gentoo Base System version 1.12.0_pre9 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/development/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/local/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/development/overlays/java-experimental /development/overlays/free-java-overlay /development/overlays/chewi-overlay /development/overlays/axxo-overlay" SYNC="rsync://acm.cs.rpi.edu/gentoo-portage" USE="amd64 X aac adns alsa apache2 automount avi bash-completion berkdb bitmap-fonts cairo cdr crypt cscope cups curl dbus devmap dvd dvdr dvi eds emboss encode faad ffmpeg firefox flac foomaticdb fortran gif gimpprint glitz gnome gpm gstreamer gtk gtk2 hal howl imagemagick imlib ipv6 java javamail jpeg libclamav libwww lzw lzw-tiff mad mozilla mp3 mpeg nautilus ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pda pdflib perl png python qt quicktime readline samba sdl spell ssl subversion syslog tcpd tetex theora tiff truetype-fonts type1-fonts udev usb userlocales vorbis xine xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS