From owner-freebsd-ports@FreeBSD.ORG Tue Aug 21 11:07:44 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBA79106567D; Tue, 21 Aug 2012 11:07:44 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id D6BC98FC18; Tue, 21 Aug 2012 11:07:43 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2919323bkc.13 for ; Tue, 21 Aug 2012 04:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=NBCL3i+NWix306OfrM1O/hvHp9MtfiALXCqkjiH8DRU=; b=YSgal5HeFQhZJJyJeC2F6OADUwlmrPlvd1/jOS7nbUAi153QvkhcNOfgVScUlcHyjN XD9fIresJri+dfcaq7yN6Tzed5BBtpQTDw46Xj0Sm/g7Pbt5j1ibFjVPQJ1yRUzH56cI vh2CFr9EDYzpLsMj4Oy1uo/D0pw+2WZNvcaMNY8OatyJnRMphlls2/idqNbPIOJPW8Pi BSmv7eMiSzA75tJjB877G5k0C3lqEA//+gUA0swnzy1mKo2+bRkXAQNF2P49Tjgfcrls iDP+wtjky7c9PZV50+gqKB7uQzkqRsPD97ESJ0FT/YQ0QsZBGvmE+vmCqDWOFIt3ozaL bsUQ== Received: by 10.204.129.14 with SMTP id m14mr5137505bks.7.1345547262858; Tue, 21 Aug 2012 04:07:42 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.10.141 with HTTP; Tue, 21 Aug 2012 04:07:11 -0700 (PDT) In-Reply-To: <201208211104.q7LB4qVT050995@mech-cluster241.men.bris.ac.uk> References: <201208211104.q7LB4qVT050995@mech-cluster241.men.bris.ac.uk> From: Chris Rees Date: Tue, 21 Aug 2012 12:07:11 +0100 X-Google-Sender-Auth: 76YvLGT7cpccjM3dSYTC259xQbU Message-ID: To: mexas@bristol.ac.uk, Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 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 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:07:44 -0000 On 21 August 2012 12:04, Anton Shterenlikht wrote: > 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 > # > Hm, bapt was talking about this earlier in IRC... I think if you make -DFORCE_PKG_REGISTER -C /usr/ports/textproc/p5-XML-SAX-Expat install clean you should be just fine. Chris