coreutils-5.2.1-r1 fails to build due to a bad patch. error on emerge is: * 003_all_coreutils-gentoo-uname.patch... * Failed Patch: 003_all_coreutils-gentoo-uname.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/coreutils-5.2.1-r1/temp/003_all_coreutils-gentoo-uname.patch-26729.out !!! ERROR: sys-apps/coreutils-5.2.1-r1 failed. !!! Function epatch, Line 322, Exitcode 0 !!! Failed Patch: 003_all_coreutils-gentoo-uname.patch! the revelant info out of that file are: PATCH COMMAND: patch -p1 -g0 < /var/tmp/portage/coreutils-5.2.1-r1/work/patch/generic/003_all_coreutils-gentoo-uname.patch ================================================ patching file src/uname.c patch: **** malformed patch at line 101: printed. */ ================================================ Below are lines 100 and 101 out of the file /* Print ELEMENT, preceded by a space if something has already been printed. */ as you can see it looks like someone's text editor put a new line after "been" when it should not have. Getting rid of it fixes the issue. Someone should have tested this ebuild with a simple ebuild coreutils-5.2.1-r1.ebuild unpack command.... Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge -u world 3.
*** Bug 56869 has been marked as a duplicate of this bug. ***
thanks for catching it doug
*** Bug 56876 has been marked as a duplicate of this bug. ***
I used the fix as suggested and still get a failed patch message for this particular patch.
um, the fix is to emerge sync; emerge coreutils
*** Bug 56903 has been marked as a duplicate of this bug. ***
*** Bug 57306 has been marked as a duplicate of this bug. ***