Mailing List Archive

epatch not working
Hi all,

I just ran into the problem that every time portage want to patch it doesn't
work. patch is installed and working. When I emerge a package it always gives
this output:

* Applying diffutils-2.8.4-Makefile-fix-typeo.patch...
/usr/sbin/ebuild.sh: line 1436: 26749 Done cat
${PATCH_TARGET}
26750 Aborted | patch -p${count} ${popts}
>>${STDERR_TARGET%/*}/${x##*/}-${STDERR_TARGET##*/}.real 2>&1

* A dry-run of patch command succeeded, but actually
* applying the patch failed!

* Failed Patch: diffutils-2.8.4-Makefile-fix-typeo.patch!
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/diffutils-2.8.4-r4/temp/diffutils-2.8.4-Makefile-fix-typeo.patch-26680.out


!!! ERROR: sys-apps/diffutils-2.8.4-r4 failed.
!!! Function epatch, Line 402, Exitcode 0
!!! Failed Patch: diffutils-2.8.4-Makefile-fix-typeo.patch!


Just the package name differs of course..;)

When I look in the file it always gives this output, again, of course the name
differs...:

***** diffutils-2.8.4-Makefile-fix-typeo.patch *****

====================================================

PATCH COMMAND: patch -p0 -g0
< /usr/portage/sys-apps/diffutils/files/diffutils-2.8.4-Makefile-fix-typeo.patch

====================================================
patching file diffutils-2.8.4.azarah/src/Makefile.am
patch: Bad src file
====================================================

PATCH COMMAND: patch -p1 -g0
< /usr/portage/sys-apps/diffutils/files/diffutils-2.8.4-Makefile-fix-typeo.patch

====================================================
patching file src/Makefile.am
patching file src/Makefile.in
====================================================

ACTUALLY APPLYING diffutils-2.8.4-Makefile-fix-typeo.patch...

====================================================
patching file src/Makefile.am
patch: Hunk #1 FAILED at 37.
patch: 1 out of 1 hunk FAILED
patching file src/Makefile.in
patch: Hunk #1 FAILED at 410.
patch: 1 out of 1 hunk FAILED



Does anyone know what the problem could be? I try to recall when the problem
occured for the first time, though I can't remember it.


Sander

--
gentoo-embedded@gentoo.org mailing list
Re: epatch not working [ In reply to ]
On Saturday 09 October 2004 02:45 pm, Sander Knopper wrote:
> I just ran into the problem that every time portage want to patch it
> doesn't work. patch is installed and working. When I emerge a package it
> always gives this output:

busybox's patch ?
-mike

--
gentoo-embedded@gentoo.org mailing list
Re: epatch not working [ In reply to ]
I'm sorry, I'm just starting with gentoo embedded and honestly I've no idea
what patch you're talking about.

Could you give some more details?


Thanks in advance,

Sander

Op zaterdag 9 oktober 2004 20:52, schreef Mike Frysinger:
> On Saturday 09 October 2004 02:45 pm, Sander Knopper wrote:
> > I just ran into the problem that every time portage want to patch it
> > doesn't work. patch is installed and working. When I emerge a package it
> > always gives this output:
>
> busybox's patch ?
> -mike
>
> --
> gentoo-embedded@gentoo.org mailing list

--
gentoo-embedded@gentoo.org mailing list