when trying to build tdb on amd64 platform, I first added ~amd64 keyword to /usr/portage/dev-libs/tdb/tdb-1.0.6.ebuild. After 'emerge tdb' the configure script failed to handle the x86_64 system type. Reproducible: Always Steps to Reproduce: 1. add ~amd64 to /usr/portage/dev-libs/tdb/tdb-1.0.6.ebuild 2. emerge tdb 3. Actual Results: centurion root # emerge --update tdb Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/tdb-1.0.6 to / >>> md5 src_uri ;-) tdb-1.0.6.tar.gz >>> Unpacking source... >>> Unpacking tdb-1.0.6.tar.gz to /var/tmp/portage/tdb-1.0.6/work RUNNING FROM extra_functions.sh * Applying tdb-1.0.6-gcc3.patch... [ ok ] >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for x86_64-pc-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking build system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized configure: error: /bin/sh ./config.sub x86_64-unknown-linux-gnu failed !!! ERROR: dev-libs/tdb-1.0.6 failed. !!! Function econf, Line 365, Exitcode 1 !!! econf failed Expected Results: successfull emerge centurion root # emerge info Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo) ================================================================= System uname: 2.6.5-gentoo x86_64 4 Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa amd64 apm arts audiofile avi berkdb caps cdr crypt cups dvd dvdr encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 imlib jack java jpeg kde ladcca libg++ libwww mbox mikmod motif mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib"
It hasn't been marked even capable of amd64
Fixed in CVS, thanks!