patch failed to apply cleanly

Kris Kennaway kris at obsecurity.org
Thu Oct 28 08:34:03 PDT 2004


On Thu, Oct 28, 2004 at 03:18:16PM +0200, Dennis Haarbrink wrote:
> hello list,
> 
> this is my first post here.
> 
> i've got a freebsd 5.2.1 box, cleanly installed. 
> 
> when using the ports tree, i (almost) always get the following error when
> trying
> to install a port. i.e. trying to make /usr/ports/devel/gettext gives me the
> following output:
> 
> ===> Patching for gettext-0.11.5_1
> ===> Applying FreeBSD patches for gettext-0.11.5_1
> Ignoring previously applied (or reversed) patch.
> 1 out of 1 hunks ignored--saving rejects to Makefile.in.rej
> >> Patch patch-Makefile.in failed to apply cleanly.
> *** Error code 1
> 
> Stop in /usr/ports/devel/gettext.
> 
> this is my uname -a:
> FreeBSD webserver.gsmedia.nl 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23
> 20:45:55 GMT 2004     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC 
> i386
> 
> i've googled from a to z but i can't seem to find similar problems with the
> ports tree.
> 
> i hope someone will recognize the problem and push me in the right direction :)

You have stale patches in your ports tree, probably because you
installed from a ports.tar.gz from sysinstall, and later tried to
incorrectly update it with cvsup (without first 'adopting' the sources
you installed).  See the cvsup faq on www.polstra.com for discussion
of this issue.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20041028/0578c0e7/attachment.bin


More information about the freebsd-ports mailing list