I am emering openafs with the Kerberos flag as usual, namely: [ebuild U ] net-fs/openafs-1.4.2_rc4 [1.4.2_rc3] USE="kerberos pam -debug -doc" 0 kB This fails fairly quickly with the message: * Failed Patch: kauth-fix.patch ! * ( /usr/portage/net-fs/openafs/files/kauth-fix.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/openafs-1.4.2_rc4/temp/kauth-fix.patch-25056.out !!! ERROR: net-fs/openafs-1.4.2_rc4 failed. Call stack: ebuild.sh, line 1546: Called dyn_unpack ebuild.sh, line 708: Called src_unpack openafs-1.4.2_rc4.ebuild, line 37: Called epatch '/usr/portage/net-fs/openafs/files/kauth-fix.patch' eutils.eclass, line 341: Called die !!! Failed Patch: kauth-fix.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. This machine has been running openafs and heimdal for quite sometime without any problem: fluke ~ # eix openafs * net-fs/openafs Available versions: 1.2.10-r1 1.2.13-r2 1.4.0-r2 1.4.1-r1 1.4.2_rc3 1.4.2_rc4 [M]1.5.8 Installed: 1.4.2_rc3 Homepage: http://www.openafs.org/ Description: The OpenAFS distributed file system * net-fs/openafs-kernel Available versions: 1.2.13 1.4.0-r1 1.4.1 1.4.2_rc3 1.4.2_rc4 [M]1.5.8 Installed: 1.4.2_rc4 Homepage: http://www.openafs.org/ Description: The OpenAFS distributed file system kernel module * net-fs/openafs-legacy Available versions: ~0.1 Installed: none Homepage: http://www.gentoo.org/ http://www.openafs.org/ Description: Package that provides access to a FHS compliant OpenAFS installation through soft-links at legacy paths Found 3 matches. fluke ~ # eix heimdal * app-crypt/heimdal Available versions: 0.7.2 ~0.7.2-r2 0.7.2-r3 Installed: 0.7.2-r3 Homepage: http://www.pdc.kth.se/heimdal/ Description: Kerberos 5 implementation from KTH More details to help: fluke ~ # cat /var/tmp/portage/openafs-1.4.2_rc4/temp/kauth-fix.patch-25056.out ***** kauth-fix.patch ***** =========================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/net-fs/openafs/files/kauth-fix.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: -------------------------- |--- /tmp/diff/openafs-1.4.2fc4/src/kauth/authclient.c 2006-09-16 01:19:27.000000000 +0200 |+++ ./authclient.c 2006-09-21 13:38:04.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored =========================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/net-fs/openafs/files/kauth-fix.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: -------------------------- |--- /tmp/diff/openafs-1.4.2fc4/src/kauth/authclient.c 2006-09-16 01:19:27.000000000 +0200 |+++ ./authclient.c 2006-09-21 13:38:04.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored =========================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/net-fs/openafs/files/kauth-fix.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: -------------------------- |--- /tmp/diff/openafs-1.4.2fc4/src/kauth/authclient.c 2006-09-16 01:19:27.000000000 +0200 |+++ ./authclient.c 2006-09-21 13:38:04.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored =========================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/net-fs/openafs/files/kauth-fix.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: -------------------------- |--- /tmp/diff/openafs-1.4.2fc4/src/kauth/authclient.c 2006-09-16 01:19:27.000000000 +0200 |+++ ./authclient.c 2006-09-21 13:38:04.000000000 +0200 -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored =========================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/net-fs/openafs/files/kauth-fix.patch =========================== missing header for unified diff at line 3 of patch patching file src/kauth/authclient.c Hunk #1 FAILED at 17. 1 out of 2 hunks FAILED -- saving rejects to file src/kauth/authclient.c.rej fluke ~ # emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.5 Last Sync: Fri, 22 Sep 2006 00:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.ds.hj.se/pub/Linux/distributions/gentoo/ http://public.planetmirror.com/pub/gentoo/ " LINGUAS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 afs apache2 berkdb bitmap-fonts cli crypt cups dlloader dri elibc_glibc fam fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xml xorg zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Misspelled patch in bug Summary.
I get the same exact bug on a PPC which has also been running Heimdal/OpenAFS without problem (even behind a NAT). I am changing the "Hardware" field on this bug to "All" from "x86", though I only know for sure there is a problem with x86 and PPC. Should you want the "emerge --info" on the PPC, let me know. /Mike
It seems my patch was garbled by cvs. I disabled keyword substitution for this file and regenerated the original version. It should work now. Thanks for reporting, Stefaan
Just wanted to confirm that this fixed my problem for both x86 and ppc. Both working just fine with heimdal. Thanks for the quick fix! Have a good weekend, /Mike
*** Bug 148691 has been marked as a duplicate of this bug. ***