Without attached patch configure failed with the following error: >>> 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 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: net-mail/cyrus-imapd-2.2.3 failed. config.sub-x86_64.patch: -----------------------8<----------------------------------- --- cyrus-imapd-2.2.3/config.sub.orig 2004-08-21 14:27:03.477497696 +0400 +++ cyrus-imapd-2.2.3/config.sub 2004-08-21 14:31:41.334257048 +0400 @@ -860,6 +860,9 @@ basic_machine=c4x-none os=-coff ;; + x86_64*) + basic_machine=x86_64-pc-linux-gnu + ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ----------------------------->8------------------------------ Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r9 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.5-mm6) ================================================================= System uname: 2.6.5-mm6 x86_64 5 Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -fPIC" 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/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache" GENTOO_MIRRORS="ftp://pmirror:123@ftp.dgap.mipt.ru/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://194.85.81.130/gentoo-portage/" USE="X acl amd64 apache2 apm arts avi berkdb crypt encode esd foomaticdb gdbm gif gnome gpm gtk2 icq imap imlib jabber java jpeg kde ldap libg++ libwww mikmod motif mozilla mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png postgres postgresql python qt quicktime readline ruby samba sasl sdl slang spell ssl tcltk tcpd truetype unicode xml2 xmms xv zlib"
Have you tried to run gnuconfig_update? I don't have access to AMD64. --- cyrus-imapd-2.2.3.ebuild.org 2004-08-21 10:56:52.637213998 -0700 +++ cyrus-imapd-2.2.3.ebuild 2004-08-21 10:58:21.367862295 -0700 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-mail/cyrus-imapd/cyrus-imapd-2.2.3.ebuild,v 1.8 2004/06/24 23:20:54 agriffis Exp $ -inherit eutils ssl-cert +inherit eutils ssl-cert gnuconfig DESCRIPTION="The Cyrus IMAP Server." HOMEPAGE="http://asg.web.cmu.edu/cyrus/imapd/" @@ -62,6 +62,7 @@ # Recreate configure. export WANT_AUTOCONF="2.5" rm -f configure config.h.in + gnuconfig_update ebegin "Recreating configure" sh SMakefile &>/dev/null || die "SMakefile failed" eend $?
with gnuconfig_update works without patch. cyrus-imapd-2.2.3 works fine on amd64 platform (2.2.8 too)
2.2.8 now marked ~amd64.