pam-selinux.patch fails to patch against pam-0.77-r7. Reproducible: Always Steps to Reproduce: 1. emerge pam 2. 3. Actual Results: patch fails to apply. Expected Results: successful patch and build. Portage 2.0.51-r15 (selinux/2004.1/x86, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.7-hardened-r18 i686) ================================================================= System uname: 2.6.7-hardened-r18 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 7 2004, 21:17:37)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.5, 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages loadpolicy nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.isp.net.au/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 bash-completion berkdb cpdflib crypt cups curl dba debug dvd exif fam ftp gd hardened hardenedphp imap innodb ipv6 jabber jpeg ldap mad mcal mhash mmx mysql ncurses nls oggvorbis pam pcntl pcre perl pic pie png postgres python readline samba selinux session simplexml slang snmp sockets spell sqlite ssl tcpd tidy tiff tokenizer truetype usb vhosts wddx x86 xml2 xmlrpc zaptel zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS --------------------------------- ***** pam-selinux.patch ***** ============================= PATCH COMMAND: patch -p0 -g0 < /var/tmp/portage/pam-0.77-r7/work/pam-0.77-patches/gentoo-patches/pam-selinux.patch ============================= can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_pwdb/Makefile.selinux 2003-11-25 10:38:02.826406793 -0500 |+++ Linux-PAM-0.77/modules/pam_pwdb/Makefile 2003-11-25 10:38:04.030267139 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/Makefile.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/Makefile 2003-11-25 10:38:04.031267023 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c.selinux 2000-06-20 18:12:02.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c 2003-11-25 10:38:04.032266907 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 77 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c.selinux 2003-11-25 10:38:03.895282798 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c 2003-11-25 10:38:04.035266559 -0500 -------------------------- No file to patch. Skipping patch. 13 out of 13 hunks ignored can't find file to patch at input line 497 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.c.selinux 2003-11-25 10:38:03.966274562 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.c 2003-11-25 10:38:04.036266443 -0500 -------------------------- No file to patch. Skipping patch. 7 out of 7 hunks ignored can't find file to patch at input line 606 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c.selinux 2003-11-25 10:38:03.679307852 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c 2003-11-25 10:42:57.795183107 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 911 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.h.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.h 2003-11-25 10:38:04.039266095 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 920 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c.selinux 2003-11-25 10:38:03.893283030 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c 2003-11-25 10:38:04.040265979 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file Linux-PAM-0.77/modules/pam_selinux/Makefile patching file Linux-PAM-0.77/modules/pam_selinux/README patching file Linux-PAM-0.77/modules/pam_selinux/pam_selinux.8 patching file Linux-PAM-0.77/modules/pam_selinux/pam_selinux.c patching file Linux-PAM-0.77/modules/pam_selinux/pam_selinux_check.8 patching file Linux-PAM-0.77/modules/pam_selinux/pam_selinux_check.c can't find file to patch at input line 1779 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/configure.in.selinux 2003-11-25 10:38:03.933278390 -0500 |+++ Linux-PAM-0.77/configure.in 2003-11-25 10:38:04.048265051 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ============================= PATCH COMMAND: patch -p1 -g0 < /var/tmp/portage/pam-0.77-r7/work/pam-0.77-patches/gentoo-patches/pam-selinux.patch ============================= patching file modules/pam_pwdb/Makefile Hunk #1 FAILED at 12. 1 out of 2 hunks FAILED -- saving rejects to file modules/pam_pwdb/Makefile.rej patching file modules/pam_unix/Makefile patching file modules/pam_unix/lckpwdf.-c patching file modules/pam_unix/pam_unix_passwd.c patching file modules/pam_unix/support.c patching file modules/pam_unix/unix_chkpwd.c patching file modules/pam_unix/support.h patching file modules/pam_unix/pam_unix_acct.c patching file modules/pam_selinux/Makefile patching file modules/pam_selinux/README patching file modules/pam_selinux/pam_selinux.8 patching file modules/pam_selinux/pam_selinux.c patching file modules/pam_selinux/pam_selinux_check.8 patching file modules/pam_selinux/pam_selinux_check.c patching file configure.in ============================= PATCH COMMAND: patch -p2 -g0 < /var/tmp/portage/pam-0.77-r7/work/pam-0.77-patches/gentoo-patches/pam-selinux.patch ============================= can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_pwdb/Makefile.selinux 2003-11-25 10:38:02.826406793 -0500 |+++ Linux-PAM-0.77/modules/pam_pwdb/Makefile 2003-11-25 10:38:04.030267139 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/Makefile.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/Makefile 2003-11-25 10:38:04.031267023 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c.selinux 2000-06-20 18:12:02.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c 2003-11-25 10:38:04.032266907 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 77 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c.selinux 2003-11-25 10:38:03.895282798 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c 2003-11-25 10:38:04.035266559 -0500 -------------------------- No file to patch. Skipping patch. 13 out of 13 hunks ignored can't find file to patch at input line 497 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.c.selinux 2003-11-25 10:38:03.966274562 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.c 2003-11-25 10:38:04.036266443 -0500 -------------------------- No file to patch. Skipping patch. 7 out of 7 hunks ignored can't find file to patch at input line 606 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c.selinux 2003-11-25 10:38:03.679307852 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c 2003-11-25 10:42:57.795183107 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 911 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.h.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.h 2003-11-25 10:38:04.039266095 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 920 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c.selinux 2003-11-25 10:38:03.893283030 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c 2003-11-25 10:38:04.040265979 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file pam_selinux/Makefile patching file pam_selinux/README patching file pam_selinux/pam_selinux.8 patching file pam_selinux/pam_selinux.c patching file pam_selinux/pam_selinux_check.8 patching file pam_selinux/pam_selinux_check.c missing header for unified diff at line 1779 of patch can't find file to patch at input line 1779 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/configure.in.selinux 2003-11-25 10:38:03.933278390 -0500 |+++ Linux-PAM-0.77/configure.in 2003-11-25 10:38:04.048265051 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ============================= PATCH COMMAND: patch -p3 -g0 < /var/tmp/portage/pam-0.77-r7/work/pam-0.77-patches/gentoo-patches/pam-selinux.patch ============================= patching file Makefile Hunk #1 FAILED at 12. Hunk #2 FAILED at 57. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej patching file Makefile Hunk #1 FAILED at 59. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c.selinux 2000-06-20 18:12:02.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c 2003-11-25 10:38:04.032266907 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 77 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c.selinux 2003-11-25 10:38:03.895282798 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c 2003-11-25 10:38:04.035266559 -0500 -------------------------- No file to patch. Skipping patch. 13 out of 13 hunks ignored can't find file to patch at input line 497 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.c.selinux 2003-11-25 10:38:03.966274562 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.c 2003-11-25 10:38:04.036266443 -0500 -------------------------- No file to patch. Skipping patch. 7 out of 7 hunks ignored can't find file to patch at input line 606 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c.selinux 2003-11-25 10:38:03.679307852 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c 2003-11-25 10:42:57.795183107 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored can't find file to patch at input line 911 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.h.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.h 2003-11-25 10:38:04.039266095 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 920 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c.selinux 2003-11-25 10:38:03.893283030 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c 2003-11-25 10:38:04.040265979 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored The next patch would create the file Makefile, which already exists! Applying it anyway. patching file Makefile Patch attempted to create file Makefile, which already exists. Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej The next patch would create the file README, which already exists! Applying it anyway. patching file README Patch attempted to create file README, which already exists. Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file README.rej patching file pam_selinux.8 patching file pam_selinux.c patching file pam_selinux_check.8 patching file pam_selinux_check.c missing header for unified diff at line 1779 of patch can't find file to patch at input line 1779 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/configure.in.selinux 2003-11-25 10:38:03.933278390 -0500 |+++ Linux-PAM-0.77/configure.in 2003-11-25 10:38:04.048265051 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ============================= PATCH COMMAND: patch -p4 -g0 < /var/tmp/portage/pam-0.77-r7/work/pam-0.77-patches/gentoo-patches/pam-selinux.patch ============================= missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_pwdb/Makefile.selinux 2003-11-25 10:38:02.826406793 -0500 |+++ Linux-PAM-0.77/modules/pam_pwdb/Makefile 2003-11-25 10:38:04.030267139 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 23 of patch can't find file to patch at input line 23 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/Makefile.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/Makefile 2003-11-25 10:38:04.031267023 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 36 of patch can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c.selinux 2000-06-20 18:12:02.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_unix/lckpwdf.-c 2003-11-25 10:38:04.032266907 -0500 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored missing header for unified diff at line 77 of patch can't find file to patch at input line 77 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c.selinux 2003-11-25 10:38:03.895282798 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_passwd.c 2003-11-25 10:38:04.035266559 -0500 -------------------------- No file to patch. Skipping patch. 13 out of 13 hunks ignored missing header for unified diff at line 497 of patch can't find file to patch at input line 497 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.c.selinux 2003-11-25 10:38:03.966274562 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.c 2003-11-25 10:38:04.036266443 -0500 -------------------------- No file to patch. Skipping patch. 7 out of 7 hunks ignored missing header for unified diff at line 606 of patch can't find file to patch at input line 606 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c.selinux 2003-11-25 10:38:03.679307852 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/unix_chkpwd.c 2003-11-25 10:42:57.795183107 -0500 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored missing header for unified diff at line 911 of patch can't find file to patch at input line 911 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/support.h.selinux 2003-11-25 10:38:03.898282450 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/support.h 2003-11-25 10:38:04.039266095 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 920 of patch can't find file to patch at input line 920 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c.selinux 2003-11-25 10:38:03.893283030 -0500 |+++ Linux-PAM-0.77/modules/pam_unix/pam_unix_acct.c 2003-11-25 10:38:04.040265979 -0500 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored missing header for unified diff at line 1059 of patch can't find file to patch at input line 1059 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/Makefile 2003-11-25 10:38:04.041265863 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1081 of patch can't find file to patch at input line 1081 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/README 2003-11-25 10:38:04.042265747 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1099 of patch can't find file to patch at input line 1099 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/pam_selinux.8 2003-11-25 10:38:04.043265631 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1151 of patch can't find file to patch at input line 1151 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/pam_selinux.c 2003-11-25 10:38:04.045265399 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1695 of patch can't find file to patch at input line 1695 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/pam_selinux_check.8 2003-11-25 10:38:04.046265283 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1733 of patch can't find file to patch at input line 1733 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- /dev/null 2003-09-15 09:40:47.000000000 -0400 |+++ Linux-PAM-0.77/modules/pam_selinux/pam_selinux_check.c 2003-11-25 10:38:04.047265167 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 1779 of patch can't find file to patch at input line 1779 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Linux-PAM-0.77/configure.in.selinux 2003-11-25 10:38:03.933278390 -0500 |+++ Linux-PAM-0.77/configure.in 2003-11-25 10:38:04.048265051 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
I've yet to make sense of it, but I assume the problem is in one of the gentoo patches as the redhat patches are identical and I don't believe the source should have changed. Problem is there isn't a whole lot different from the previous version to now. diff ./pam-0.77-pam_console-static-glib.patch /var/tmp/portage/pam-0.77-r6/work/pam-0.77-patches/gentoo-patches/./pam-0.77-pam_console-static-glib.patch 9,10c9,10 < +GLIB = -Wl,-Bstatic -lglib -Wl,-Bdynamic < +LIBS += $(GLIB) -L../pammodutil -lpammodutil --- > +GLIB = $(shell glib-config --libs | sed -e 's|^.*-L\([^[:space:]]*\)[[:space:]]*.*|\1/libglib.a|') > +LIBS += $(ROOT)$(GLIB) -L../pammodutil -lpammodutil diff ./pam-0.77-pam_cracklib-static-cracklib.patch /var/tmp/portage/pam-0.77-r6/work/pam-0.77-patches/gentoo-patches/./pam-0.77-pam_cracklib-static-cracklib.patch 9c9 < +MODULE_SIMPLE_EXTRALIBS=-lc -Wl,-Bstatic -Wl,-lcrack -Wl,-Bdynamic --- > +MODULE_SIMPLE_EXTRALIBS=$(ROOT)/usr/lib/libcrack.a diff ./pam-0.77-pam_pwdb-static-pwdb.patch /var/tmp/portage/pam-0.77-r6/work/pam-0.77-patches/gentoo-patches/./pam-0.77-pam_pwdb-static-pwdb.patch 9c9 < +EXTRALS += -lc -Wl,-Bstatic -Wl,-lpwdb -Wl,-Bdynamic --- > +EXTRALS += $(ROOT)/usr/lib/libpwdb.a diff ./pam-0.77-pam_radius-static-pwdb.patch /var/tmp/portage/pam-0.77-r6/work/pam-0.77-patches/gentoo-patches/./pam-0.77-pam_radius-static-pwdb.patch 8c8 < + $(LD_D) -o $@ $(LIBOBJD) -lc -Wl,-Bstatic -Wl,-lpwdb -Wl,-Bdynamic --- > + $(LD_D) -o $@ $(LIBOBJD) $(ROOT)/usr/lib/libpwdb.a 16c16 < +# $(LD) -r -o $@ $(LIBOBJS) -lc -Wl,-Bstatic -Wl,-lpwdb -Wl,-Bdynamic --- > +# $(LD) -r -o $@ $(LIBOBJS) $(ROOT)/usr/lib/libpwdb.a
Its my fault with the static patches.
same here on ~ppc .... * Applying pam-0.77-pam_pwdb-static-pwdb.patch ... [ ok ] * Applying pam-0.77-pam_radius-static-pwdb.patch ... [ ok ] * Applying pam-0.77-pam_xauth-also-set-DISPLAY.patch ... [ ok ] * Applying pam-selinux.patch ... * Failed Patch: pam-selinux.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/pam-0.77-r7/temp/pam-selinux.patch-22381.out --- pr0llb00k ~ # emerge info Portage 2.0.51-r15 (selinux/2004.1/ppc, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 ppc) ================================================================= System uname: 2.6.10-gentoo-r6 ppc 7410, altivec supported Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 7 2005, 21:38:00)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.6.3, 1.5 sys-devel/binutils: 2.15.90.0.3-r4 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig candy ccache cvs distlocks sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://gentoo-distfiles.local.nil.nul/gentoo-portage" USE="X aalib aim alsa altivec apache2 arts bash-completion berkdb bidi bitmap-fonts bluetooth bonobo bzip2 cddb cdr cdrom cjk clamav crypt cups curl dba directfb divx4linux dmx dvd dvdr dvdread eep escreen esd etwin fam fbcon fla flac font-server foomaticdb ftp gd gdbm gif gimpprint gpm gtk gtk2 hardened hardenedphp iconv icq imagemagick imap imlib ipv6 ipv6arpa irda irmc jabber jack jack-tmpfs java jpeg junit ldap libwww maildir motif mozilla mpeg mpeg4 msn mysql ncurses nethack nls odbc oggvorbis opengl oscar pam pcmcia pda perl php png pnp postgres ppc ppds psyco pthreads python qt quicktime radeon readline samba sdl selinux session slang soap spell sqlite ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1 type1-fonts vhosts vim-with-x wmf xine xinerama xml xml2 xmms xprint xsl xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Created attachment 50762 [details] my .out-file from my tibook G4 400
Fixed in -r8.