Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Mar 2005 14:08:58 -0800
From:      "Michael C. Shultz" <ringworm01@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: expat portupgrade dies
Message-ID:  <200503031408.58395.ringworm01@gmail.com>
In-Reply-To: <20050303154719.D77380@d3.americas.sgi.com>
References:  <20050303154719.D77380@d3.americas.sgi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 03 March 2005 01:59 pm, Randy Schultz wrote:
> On a 5.3 system when I try to portupgrade some ports the portupgrade
> dies on expat:
>       --->  Upgrading 'expat-1.95.6_1' to 'expat-1.95.8'
> (textproc/expat2) --->  Building '/usr/ports/textproc/expat2'
>       ===>  Cleaning for libtool-1.3.5_2
>       ===>  Cleaning for expat-1.95.8
>       ===>  Vulnerability check disabled, database not found
>       ===>  Extracting for expat-1.95.8
>
>       >> Checksum OK for expat-1.95.8.tar.gz.
>
>       ===>  Patching for expat-1.95.8
>       ===>  Applying FreeBSD patches for expat-1.95.8
>       1 out of 2 hunks failed--saving rejects to lib/expat.h.rej
>
>       >> Patch patch-expat.h failed to apply cleanly.
>       >> Patch(es) patch-configure applied cleanly.
>
>       *** Error code 1
>
>       Stop in /usr/ports/textproc/expat2.
>
>
> I've tried doing a pkg_delete on the old expat, same effect.  Is
> there a standard way to continue from this fail other than patching
> by hand?

Make sure you first run "make clean" to get rid of old patched files,
then run "make patch". If the patches still fail to apply then notify
the portmaintainer, if the patches apply then just continue with a
normal "make install clean".

-Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503031408.58395.ringworm01>