Openafs-1.4.0-r3 and openafs-1.4.1 does not compile pam libriares in amd64 machines. This is caused because this versions regenerate configure from configure.in that is not patched to allow pam with amd64. changing patch 003_all_amd64-with-pam.patch to: --- configure.old 2005-07-27 21:22:12.000000000 +0000 +++ configure 2005-07-27 21:22:19.000000000 +0000 @@ -2703,7 +2703,6 @@ ;; x86_64-*-linux-gnu) AFS_SYSNAME="amd64_linuxXX" - enable_pam="no" ;; *) { echo "configure: error: An AFS sysname is required" 1>&2; exit 1; } --- acinclude.m4.old 2006-03-23 10:50:19.000000000 -0500 +++ acinclude.m4 2006-04-25 16:25:17.000000000 -0400 @@ -498,7 +498,6 @@ ;; x86_64-*-linux-gnu) AFS_SYSNAME="amd64_linuxXX" - enable_pam="no" ;; *) AC_MSG_ERROR(An AFS sysname is required) --- aclocal.m4.old 2006-04-25 16:08:36.000000000 -0400 +++ aclocal.m4 2006-04-25 16:25:22.000000000 -0400 @@ -510,7 +510,6 @@ ;; x86_64-*-linux-gnu) AFS_SYSNAME="amd64_linuxXX" - enable_pam="no" ;; *) AC_MSG_ERROR(An AFS sysname is required) modifies file aclocal.m4 and acinclude.m4 so this problem is corrected. Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r5-web100 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5-web100 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.12.0_pre18 ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/my_portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib alsa arts audiofile avi bash berkdb bitmap-fonts bzip2 cdparanoia cli crypt cups dri dvd dvdread eds emboss encode flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg kde kerberos lzw lzw-tiff matroska mp3 mpeg mysql ncurses nls nogecko-sdk nptl nptlonly nvidia ogg opengl pam pcre pdf pdflib perl png postgresql pppd python qt quicktime readline reflection samba sdl session spell spl ssl tcpd theora tiff truetype* truetype-fonts type1-fonts usb vorbis x264 xml2 xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Eh, try with some existing versions please. Absolutely no idea what's been going on with this bug: http://bugs.gentoo.org/show_activity.cgi?id=131266