From owner-freebsd-questions@FreeBSD.ORG Thu Mar 3 22:09:01 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06AFF16A4CE for ; Thu, 3 Mar 2005 22:09:01 +0000 (GMT) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9990043D49 for ; Thu, 3 Mar 2005 22:09:00 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0ICS007PHQUZ6L42@vms040.mailsrvcs.net> for freebsd-questions@freebsd.org; Thu, 03 Mar 2005 16:09:00 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id EB0992CE741; Thu, 03 Mar 2005 14:08:58 -0800 (PST) Date: Thu, 03 Mar 2005 14:08:58 -0800 From: "Michael C. Shultz" In-reply-to: <20050303154719.D77380@d3.americas.sgi.com> To: freebsd-questions@freebsd.org Message-id: <200503031408.58395.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <20050303154719.D77380@d3.americas.sgi.com> User-Agent: KMail/1.7.2 Subject: Re: expat portupgrade dies X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2005 22:09:01 -0000 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