expat portupgrade dies

Michael C. Shultz ringworm01 at gmail.com
Thu Mar 3 14:09:01 PST 2005


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


More information about the freebsd-questions mailing list