Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56866 - coreutils-5.2.1-r1 fails due to bad patch
Summary: coreutils-5.2.1-r1 fails due to bad patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
: 56869 56876 56903 57306 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-12 23:03 UTC by Doug Goldstein (RETIRED)
Modified: 2004-07-16 16:58 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Goldstein (RETIRED) gentoo-dev 2004-07-12 23:03:52 UTC
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.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-12 23:35:50 UTC
*** Bug 56869 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-13 01:48:46 UTC
thanks for catching it doug
Comment 3 Sven Wegener gentoo-dev 2004-07-13 02:57:16 UTC
*** Bug 56876 has been marked as a duplicate of this bug. ***
Comment 4 Alex 2004-07-13 04:02:27 UTC
I used the fix as suggested and still get a failed patch message for this particular patch.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-13 08:50:06 UTC
um, the fix is to emerge sync; emerge coreutils
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-13 09:40:55 UTC
*** Bug 56903 has been marked as a duplicate of this bug. ***
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-07-16 16:58:37 UTC
*** Bug 57306 has been marked as a duplicate of this bug. ***