I installed sys-auth/pam_ldap-156 on an AMD64 system. It's apparently broken, it will not query the LDAP server when configured to. However, no other version of pam_ldap is available to AMD64 systems. No other version has either "amd64" or "~amd64" in keywords. I added "~x86" to my keywords so that I could install sys-auth/pam_ldap-178-r1, which works just fine. Why are no other versions of pam_ldap available to AMD64? Have problems been observed by the developers? Reproducible: Always Steps to Reproduce: 1. Emerge pam_ldap-156 on AMD64. 2. Configure. 3. Try to login; fail. 4. Install pam_ldap-178-r1: "ACCEPT_KEYWORDS=~x86 emerge =sys-auth/pam_ldap-178-r1" 5. Try to login; succeed. Actual Results: I've already described the problem. Expected Results: I've already described the problem. pam_ldap was querying an OpenLDAP server, running version 2.2.26-r2. As requested, here is the output from "emerge info": Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.3.4, glibc-2.3.4.20041102-r1, 2.6.12-rc5-1 x86_64) ================================================================= System uname: 2.6.12-rc5-1 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.4.16 dev-lang/python: 2.3.3-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -funroll-loops -fomit-frame-pointer -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/terminfo /etc/env.d" CXXFLAGS="-O2 -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 acl acpi berkdb bitmap-fonts crypt font-server fortran gdbm gif gpm imagemagick ipv6 jp2 jpeg ldap lzw lzw-tiff mp3 ncurses nls opengl oss pam pdflib perl png python readline slang ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2 xpm xrandr xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Also, while diagnosing this problem, I tried to recompile pam_ldap-156, which of course failed. See bug 90982.
Ok, I've added ~amd64 to 178-r1 now. amd64: I recommend that you test as well and get 178-r1 into stable, as versions before 178-r1 have a security problem.
I ran 'emerge sync' today and found that sys-auth/pam_ldap-178-r1 now has stable keywords for amd64, hppa, ppc, sparc, and even x86. So I'd say this bug is FIXED. Thanks, folks!