New install aborted during emerge system while building PAM. Tried: emerge pam seperately with same results. Reproducible: Always Steps to Reproduce: 1. emerge pam 2. 3. Gentoo Base System version 1.4.3.13 Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2-up) ================================================================= System uname: 2.6.3-gentoo-r2-up x86_64 5 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" 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="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.llarian.net/ ftp://gentoo.llarian.net/pub/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 amd64 apm arts avi berkdb crypt encode foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mikmod motif mpeg ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype xml2 xmms xv zlib" Here is 2> from the pam emerge (head -n 25 and tail -n 50): 645631 645501 configure: WARNING: NO FAST MUTEXES FOUND FOR THIS COMPILER/ARCHITECTURE. ../db/db_vrfy.c: In function `__db_vrfy_datapage_pam': ../db/db_vrfy.c:1169: warning: comparison is always false due to limited range of data type 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. In file included from pam_private.h:19, from pam_item.c:12: /var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/security/_pam_aconf.h:23:1: warning: "_SVID_SOURCE" redefined In file included from /usr/include/ctype.h:27, from pam_item.c:7: /usr/include/features.h:151:1: warning: this is the location of the previous definition In file included from pam_private.h:19, from pam_item.c:12: /var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/security/_pam_aconf.h:24:1: warning: "_BSD_SOURCE" redefined In file included from /usr/include/ctype.h:27, from pam_item.c:7: /usr/include/features.h:150:1: warning: this is the location of the previous definition In file included from pam_private.h:19, from pam_item.c:12: /var/tmp/portage/pam-0.77/work/Linux-PAM-0.77/security/_pam_aconf.h:25:1: warning: "__USE_BSD" redefined In file included from /usr/include/ctype.h:27, from pam_item.c:7: /usr/include/features.h:231:1: warning: this is the location of the previous definition --------------------------------cut---------------------------- pam_unix_acct.-c:222: warning: passing arg 3 of `_shadow_acct_mgmt_exp' from incompatible pointer type In file included from pam_unix_passwd.-c:8, from pam_pwdb.c:180: pam_unix_pwupd.-c: In function `unix_update_db': pam_unix_pwupd.-c:14: error: `pwdb_flag' undeclared (first use in this function) pam_unix_pwupd.-c:14: error: syntax error before "flag" pam_unix_pwupd.-c:21: error: `PWDB_DEFAULT' undeclared (first use in this function) pam_unix_pwupd.-c:21: error: `PWDB_ID_UNKNOWN' undeclared (first use in this function) pam_unix_pwupd.-c:22: error: `PWDB_PASS_PHRASE_REQD' undeclared (first use in this function) pam_unix_pwupd.-c:26: error: `PWDB_SUCCESS' undeclared (first use in this function) pam_unix_pwupd.-c:27: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:43: warning: implicit declaration of function `pwdb_flags' pam_unix_pwupd.-c:43: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:43: error: `flag' undeclared (first use in this function) pam_unix_pwupd.-c:45: warning: implicit declaration of function `pwdb_on' pam_unix_pwupd.-c:45: error: `PWDB_F_NOUPDATE' undeclared (first use in this function) pam_unix_pwupd.-c:69: error: `pwdb_type' undeclared (first use in this function) pam_unix_pwupd.-c:69: error: syntax error before "pt" pam_unix_pwupd.-c:73: error: `pt' undeclared (first use in this function) pam_unix_pwupd.-c:73: error: `PWDB_UNIX' undeclared (first use in this function) pam_unix_pwupd.-c:76: error: `PWDB_SHADOW' undeclared (first use in this function) pam_unix_pwupd.-c:79: error: `PWDB_RADIUS' undeclared (first use in this function) pam_unix_pwupd.-c:94: error: syntax error before "tpt" pam_unix_pwupd.-c:95: error: `tpt' undeclared (first use in this function) pam_unix_pwupd.-c:96: error: `_PWDB_MAX_TYPES' undeclared (first use in this function) pam_unix_pwupd.-c:104: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:105: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:106: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:110: warning: implicit declaration of function `pwdb_new' pam_unix_pwupd.-c:111: warning: implicit declaration of function `pwdb_merge' pam_unix_pwupd.-c:111: error: `PWDB_TRUE' undeclared (first use in this function) pam_unix_pwupd.-c:134: warning: implicit declaration of function `pwdb_replace' pam_unix_pwupd.-c:139: warning: dereferencing type-punned pointer will break strict-aliasing rules pam_unix_pwupd.-c:191: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:192: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:195: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:205: error: dereferencing pointer to incomplete type pam_unix_pwupd.-c:212: error: dereferencing pointer to incomplete type In file included from pam_pwdb.c:180: pam_unix_passwd.-c: In function `_unix_chauthtok': pam_unix_passwd.-c:172: warning: dereferencing type-punned pointer will break strict-aliasing rules pam_unix_passwd.-c:175: warning: dereferencing type-punned pointer will break strict-aliasing rules make[2]: *** [dynamic/pam_pwdb.o] Error 1 make[1]: *** [all] Error 1 make: *** [modules] Error 2 !!! ERROR: sys-libs/pam-0.77 failed. !!! Function src_compile, Line 199, Exitcode 2 !!! PAM build failed
This looks like it might be a dup of #40805 (resolved); however, I have attempted an re-emerge of glib-1.2.10-r5 and then emerge pam.... I have also tried adding -fPIC explicitely. Thx
*** This bug has been marked as a duplicate of 41661 ***