Trying to emerge -u world and the patch fails. I've tried with patches from http://gentoo.tiscali.nl and http://gentoo.kems.net Reproducible: Always Steps to Reproduce: 1.# emerge -u world Calculating world dependencies ...done! >>> emerge (1 of 6) sys-apps/util-linux-2.12-r4 to / >>> md5 src_uri ;-) util-linux-2.12.tar.gz >>> md5 src_uri ;-) util-linux-2.12-cryptoapi-losetup.patch.bz2 >>> Unpacking source... >>> Unpacking util-linux-2.12.tar.gz to /var/tmp/portage/util-linux-2.12-r4/work >>> Unpacking util-linux-2.12-cryptoapi-losetup.patch.bz2 to /var/tmp/portage/util-linux-2.12-r4/work crypt * Applying util-linux-2.12-cryptoapi-losetup.patch.bz2... [ ok ] * Applying util-linux-2.11z-parallel-make.patch... [ ok ] * Applying no-symlink-resolve.patch... [ ok ] * Applying util-linux-2.11z-agetty-domainname-option.patch... * Failed Patch: util-linux-2.11z-agetty-domainname-option.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/util-linux-2.12-r4/temp/util-linux-2.11z-agetty-domainname-option.patch-6723.out !!! ERROR: sys-apps/util-linux-2.12-r4 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: util-linux-2.11z-agetty-domainname-option.patch! # # cat /var/tmp//portage/util-linux-2.12-r4/temp/util-linux-2.11z-agetty- domainname-option.patch-6723.out ***** util-linux-2.11z-agetty-domainname-option.patch ***** =========================================================== PATCH COMMAND: patch -g0 -p0 < /usr/portage/sys-apps/util-linux/files/util- linux-2.11z-agetty-domainname-option.patch =========================================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. =========================================================== PATCH COMMAND: patch -g0 -p1 < /usr/portage/sys-apps/util-linux/files/util- linux-2.11z-agetty-domainname-option.patch =========================================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. =========================================================== PATCH COMMAND: patch -g0 -p2 < /usr/portage/sys-apps/util-linux/files/util- linux-2.11z-agetty-domainname-option.patch =========================================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. =========================================================== PATCH COMMAND: patch -g0 -p3 < /usr/portage/sys-apps/util-linux/files/util- linux-2.11z-agetty-domainname-option.patch =========================================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. =========================================================== PATCH COMMAND: patch -g0 -p4 < /usr/portage/sys-apps/util-linux/files/util- linux-2.11z-agetty-domainname-option.patch =========================================================== patch unexpectedly ends in middle of line patch: **** Only garbage was found in the patch input. ----------------------------------------------------- # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23_pre8-gss) ================================================================= System uname: 2.4.23_pre8-gss i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.10p1 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi acpi4linux apache2 berkdb crypt cups foomaticdb gdbm gtk2 imap java ldap libwww maildir mbox mysql ncurses nls pam parse-clocks pdflib perl php png python readline samba sasl slang snmp spell ssl tcpd us66b x86 xml2 zlib"
Works fine here?: -- # USE="acpi acpi4linux apache2 berkdb crypt cups foomaticdb gdbm gtk2 imap java ldap libwww maildir mbox mysql ncurses nls pam parse-clocks pdflib perl php png python readline samba sasl slang snmp spell ssl tcpd us66b x86 xml2 zlib" emerge util-linux Calculating dependencies ...done! >>> emerge (1 of 1) sys-apps/util-linux-2.12-r4 to / >>> md5 src_uri ;-) util-linux-2.12.tar.gz >>> md5 src_uri ;-) util-linux-2.12-cryptoapi-losetup.patch.bz2 >>> Unpacking source... >>> Unpacking util-linux-2.12.tar.gz to /space/var/tmp/portage/util-linux-2.12-r4/work >>> Unpacking util-linux-2.12-cryptoapi-losetup.patch.bz2 to /space/var/tmp/portage/util-linux-2.12-r4/work crypt * Applying util-linux-2.12-cryptoapi-losetup.patch.bz2... [ ok ] * Applying util-linux-2.11z-parallel-make.patch... [ ok ] * Applying no-symlink-resolve.patch... [ ok ] * Applying util-linux-2.11z-agetty-domainname-option.patch... [ ok ] * Applying util-linux-2.11z-01-nfsv4.dif... [ ok ] * Applying util-linux-2.11z-pic.patch... [ ok ] * Applying util-linux-2.12-kernel-2.6.patch... [ ok ] * Applying util-linux-2.12-fat-LABEL-support.patch... [ ok ]pam * Applying util-linux-no-kill.patch... [ ok ]>>> Source unpacked.
Where can I get a good patch? I've tried from the mirrors with the same results. I've also tried "emerge sync" a couple times and deleting from distfiles and re-downloading the patch. What other info do you need from me to help get this fixed.
This has now become an serious issue for me. I can't do any updates because of this. Changed severity to major. Some assistance is greatly needed. Thanks.
I finally fixed this myself. I wound up deleting the entire /usr/portage/sys-apps/util-linux/files/ dir and re-syncing to get new patche files.