From owner-freebsd-ports@FreeBSD.ORG Thu Apr 9 18:35:08 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 AA793106566C for ; Thu, 9 Apr 2009 18:35:08 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [64.146.239.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0208FC08 for ; Thu, 9 Apr 2009 18:35:08 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n39IZ61l009657; Thu, 9 Apr 2009 11:35:07 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1239302107; bh=eMcUXyKKOL0fbvxwGPMp8QHEIKaU+cKoAnLPnFzAOXM=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=JG9AKiZlHhpCx patmjpJz2OqZb15FidM9SfPQzX0dIzpRmkvmX+ezZLYVziqsN0zPqByZrO775N9jmMN CKmzyDZHPN4/SJWAz+vRMtMVqVFFGQS83dMuZlU7wYWYfKzFIiib+ce751xvXiZbZme aaJFr2IkNnnbcsfsjs2pG+ME= From: Kent Stewart To: freebsd-ports@freebsd.org Date: Thu, 9 Apr 2009 11:35:06 -0700 User-Agent: KMail/1.9.10 References: <20090409163749.GA6149@holstein.holy.cow> In-Reply-To: <20090409163749.GA6149@holstein.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904091135.06329.kstewart@owt.com> Cc: utisoft@gmail.com, Parv 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 18:35:09 -0000 On Thursday 09 April 2009 09:37:49 am Parv wrote: > 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*? It doesn't produce any messages. > > 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 > ... > "check-portupgrade p5" produced a list of 632 names, which is about what I have installed. I ran "portupgrade -rR libxcb" recently and it failed with the same pkginfo.rb error you are listing. Kent -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html