From owner-freebsd-ports@FreeBSD.ORG Tue Aug 21 11:04:55 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12FB7106566C; Tue, 21 Aug 2012 11:04:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id B0AB58FC08; Tue, 21 Aug 2012 11:04:54 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1T3mGT-0004Qp-Nv; Tue, 21 Aug 2012 12:04:53 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1T3mGT-000252-8c; Tue, 21 Aug 2012 12:04:53 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q7LB4q8A050996; Tue, 21 Aug 2012 12:04:52 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q7LB4qVT050995; Tue, 21 Aug 2012 12:04:52 +0100 (BST) (envelope-from mexas) Date: Tue, 21 Aug 2012 12:04:52 +0100 (BST) From: Anton Shterenlikht Message-Id: <201208211104.q7LB4qVT050995@mech-cluster241.men.bris.ac.uk> To: crees@freebsd.org, mexas@bristol.ac.uk In-Reply-To: Cc: perl@freebsd.org, freebsd-ports@freebsd.org Subject: Re: pkgng, textproc/p5-XML-SAX-Expat: Syntax error: "{" unexpected (expecting "then") X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Aug 2012 11:04:55 -0000 From utisoft@gmail.com Tue Aug 21 11:32:50 2012 On 21 August 2012 09:47, Anton Shterenlikht wrote: > # cd /usr/ports/textproc/p5-XML-SAX-Expat > # make deinstall && make reinstall > ===> Deinstalling for textproc/p5-XML-SAX-Expat > ===> Deinstalling p5-XML-SAX-Expat-0.40 > The following packages will be deinstalled: > > p5-XML-SAX-Expat-0.40 > > The deinstallation will free 22 kB > Deinstalling p5-XML-SAX-Expat-0.40...p5-XML-SAX-Expat-0.40 is required by: p5-XML-Simple-2.20 icon-naming-utils-0.8.90, deleting anyway > Syntax error: "{" unexpected (expecting "then") > pkg: DEINSTALL script failed > *** [deinstall] Error code 3 > > Stop in /usr/ports/textproc/p5-XML-SAX-Expat. > > # pkg -vvv > version: 1.0-rc6 > abi: freebsd:10:ia64:64 > db dir: /var/db/pkg > cache dir: /var/cache/pkg > ports dir: /usr/ports > Log into syslog: yes > Assume always yes: no > Handle rc scripts: no > Track shlibs: no > Automatic dependency tracking: no > Custom keywords directory: none > Developer mode: no > Repository: ftp://ftp.freebsd.org/pub/pkgng > # How long have you had this installed? Steve Wills [1] fixed the pkg-deinstall script yesterday, but evidently you still have an older version. If pkg delete hasn't removed it, try pkg delete -f, then reinstall. Chris [1] http://www.freebsd.org/cgi/cvsweb.cgi/ports/textproc/p5-XML-SAX-Expat/pkg-deinstall # svn status -v /usr/ports/textproc/p5-XML-SAX-Expat/pkg-*inst* 302837 302833 swills /usr/ports/textproc/p5-XML-SAX-Expat/pkg-deinstall 302837 302833 swills /usr/ports/textproc/p5-XML-SAX-Expat/pkg-install # pkg delete -f p5-XML-SAX-Expat The following packages will be deinstalled: p5-XML-SAX-Expat-0.40 The deinstallation will free 22 kB Proceed with deinstalling packages [y/N]: y Deinstalling p5-XML-SAX-Expat-0.40...p5-XML-SAX-Expat-0.40 is required by: p5-XML-Simple-2.20 icon-naming-utils-0.8.90, deleting anyway Syntax error: "{" unexpected (expecting "then") pkg: DEINSTALL script failed # Thanks Anton