Gentoo Archives: gentoo-embedded

From: Sander Knopper <sander@×××××××.tk>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] epatch not working
Date: Sat, 09 Oct 2004 18:45:31
Message-Id: 200410092045.31527.sander@knopper.tk
1 Hi all,
2
3 I just ran into the problem that every time portage want to patch it doesn't
4 work. patch is installed and working. When I emerge a package it always gives
5 this output:
6
7 * Applying diffutils-2.8.4-Makefile-fix-typeo.patch...
8 /usr/sbin/ebuild.sh: line 1436: 26749 Done cat
9 ${PATCH_TARGET}
10 26750 Aborted | patch -p${count} ${popts}
11 >>${STDERR_TARGET%/*}/${x##*/}-${STDERR_TARGET##*/}.real 2>&1
12
13 * A dry-run of patch command succeeded, but actually
14 * applying the patch failed!
15
16 * Failed Patch: diffutils-2.8.4-Makefile-fix-typeo.patch!
17 *
18 * Include in your bugreport the contents of:
19 *
20 * /var/tmp/portage/diffutils-2.8.4-r4/temp/diffutils-2.8.4-Makefile-fix-typeo.patch-26680.out
21
22
23 !!! ERROR: sys-apps/diffutils-2.8.4-r4 failed.
24 !!! Function epatch, Line 402, Exitcode 0
25 !!! Failed Patch: diffutils-2.8.4-Makefile-fix-typeo.patch!
26
27
28 Just the package name differs of course..;)
29
30 When I look in the file it always gives this output, again, of course the name
31 differs...:
32
33 ***** diffutils-2.8.4-Makefile-fix-typeo.patch *****
34
35 ====================================================
36
37 PATCH COMMAND: patch -p0 -g0
38 < /usr/portage/sys-apps/diffutils/files/diffutils-2.8.4-Makefile-fix-typeo.patch
39
40 ====================================================
41 patching file diffutils-2.8.4.azarah/src/Makefile.am
42 patch: Bad src file
43 ====================================================
44
45 PATCH COMMAND: patch -p1 -g0
46 < /usr/portage/sys-apps/diffutils/files/diffutils-2.8.4-Makefile-fix-typeo.patch
47
48 ====================================================
49 patching file src/Makefile.am
50 patching file src/Makefile.in
51 ====================================================
52
53 ACTUALLY APPLYING diffutils-2.8.4-Makefile-fix-typeo.patch...
54
55 ====================================================
56 patching file src/Makefile.am
57 patch: Hunk #1 FAILED at 37.
58 patch: 1 out of 1 hunk FAILED
59 patching file src/Makefile.in
60 patch: Hunk #1 FAILED at 410.
61 patch: 1 out of 1 hunk FAILED
62
63
64
65 Does anyone know what the problem could be? I try to recall when the problem
66 occured for the first time, though I can't remember it.
67
68
69 Sander
70
71 --
72 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] epatch not working Mike Frysinger <vapier@g.o>