From owner-freebsd-ports@FreeBSD.ORG Thu Apr 9 16:37:30 2009 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 5F1B410656EC for ; Thu, 9 Apr 2009 16:37:30 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.122]) by mx1.freebsd.org (Postfix) with ESMTP id 17BD88FC1C for ; Thu, 9 Apr 2009 16:37:29 +0000 (UTC) (envelope-from parv@pair.com) Received: from localhost.hawaii.res.rr.com ([72.130.250.168]) by hrndva-omta01.mail.rr.com with ESMTP id <20090409163729.GXNP24009.hrndva-omta01.mail.rr.com@localhost.hawaii.res.rr.com>; Thu, 9 Apr 2009 16:37:29 +0000 Received: from holstein.holy.cow (localhost [127.0.0.1]) by localhost.hawaii.res.rr.com (Postfix) with ESMTP id E3C5032D5; Thu, 9 Apr 2009 06:37:50 -1000 (HST) Received: (from parv@localhost) by holstein.holy.cow (8.13.8/8.13.8/Submit) id n39Gbntc006261; Thu, 9 Apr 2009 06:37:49 -1000 (HST) (envelope-from parv@pair.com) X-Authentication-Warning: holstein.holy.cow: parv set sender to parv@pair.com using -f Date: Thu, 9 Apr 2009 06:37:49 -1000 From: Parv To: utisoft@gmail.com Message-ID: <20090409163749.GA6149@holstein.holy.cow> Mail-Followup-To: utisoft@gmail.com, FreeBSD Mailing List References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: FreeBSD Mailing List Subject: Re: Portupgrade still broken? 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: Thu, 09 Apr 2009 16:37:31 -0000 in message , wrote Chris Rees thusly... > > I recall from http://lists.freebsd.org/pipermail/freebsd-ports/2008-March/047319.html > that there was a bug in portupgrade last year, causing it to break > when a port is recursively (-R) upgraded; it's surfacing for me > too :( > > [chris@amnesiac]/usr/ports/ports-mgmt/portupgrade% portupgrade --version > portupgrade 2.4.6 > > Is this a 'fixed' version, or not? I think it's the most recent... > > [chris@amnesiac]/usr/ports/ports-mgmt/portupgrade% sudo portupgrade > -rR emacs xterm curl php5-mbstring > otp-md5 488 am9338 ext > Password: > [Updating the pkgdb in /var/db/pkg ... - 263 > packages found (-3 +3) (...)... done] > [Gathering depends for editors/emacs > ....................................................................................................................................................................................................................................................................................................... > done] > [Exclude up-to-date packages > ....................................................................................... > done] > /usr/local/lib/ruby/site_ruby/1.8/pkginfo.rb:74:in `initialize': : Not > in due form: - (ArgumentError) > from /usr/local/sbin/portupgrade:614:in `new' > from /usr/local/sbin/portupgrade:614:in `main' ... Does this Perl (5.8 & onwards) program ... http://www103.pair.com/parv/comp/src/perl/check-portupgrade-00 ... produces anything when run *without any arguments*? Purpose of the program is to find a port name (based on directory name in /var/db/pkg) which fails to match the regular expression /^(.+)-([^-]+)$/ used in pkginfo.rb, among other files of portupgrade. If the Perl program is run with any arguments, then a sorted list of matched names will be printed, something like ... aalib-1.4.r5_4 : aalib 1.4.r5_4 acroread8-8.1.2_2 : acroread8 8.1.2_2 acroreadwrapper-0.0.20080906 : acroreadwrapper 0.0.20080906 agg-2.5_5 : agg 2.5_5 aircrack-ng-1.0.r1 : aircrack-ng 1.0.r1 amspsfnt-1.0_5 : amspsfnt 1.0_5 ... - Parv --