From owner-freebsd-ports@FreeBSD.ORG Thu Apr 9 19:19:56 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 A46FE106564A for ; Thu, 9 Apr 2009 19:19:56 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 0EA858FC16 for ; Thu, 9 Apr 2009 19:19:55 +0000 (UTC) (envelope-from utisoft@googlemail.com) Received: by ewy19 with SMTP id 19so801799ewy.43 for ; Thu, 09 Apr 2009 12:19:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=F0LDCSlXeEHjpZB92l6UNpkqCqSIBdOC4X0FTAFyduQ=; b=EiTwXYA2EtNEKkfNDoj9TQAAih3cM5Uob6QJZR6eDw87hw50nECyiQ3pDDxZi2f9T6 8ABI9HAVoMdhewkZ8Sb+YYHP9jM6R7dAir3i5q0YAUVetFieeGsHaF/SdiRHyViKB9Kp J3vA8+E/RBjGBsS+6zOHhmjiOgNqySzFx1p2I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; b=RmGZwAyQc5lVa73GKY1zzvuLzmm/durZS/oLWh7ul58PpPcW0HBO/MDM4HqDUeWW3w /JKVNi9i3nX09+PV1qGwQIr8hGFIWvTMjg2G2QgtXY2eno11zsUN7BRfSaN87mJJW3we eAdKPqiLvHPYE8sqT6/UvAV7KxYlWY8zxqbyc= MIME-Version: 1.0 Received: by 10.210.115.17 with SMTP id n17mr243628ebc.19.1239304795214; Thu, 09 Apr 2009 12:19:55 -0700 (PDT) In-Reply-To: <20090409163749.GA6149@holstein.holy.cow> References: <20090409163749.GA6149@holstein.holy.cow> From: Chris Rees Date: Thu, 9 Apr 2009 20:19:40 +0100 Message-ID: To: utisoft@gmail.com, FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Portupgrade still broken? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 19:19:57 -0000 2009/4/9 Parv : > in message , > wrote Chris Rees thusly... >> >> I recall from http://lists.freebsd.org/pipermail/freebsd-ports/2008-Marc= h/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) >> =A0 =A0 =A0 =A0 from /usr/local/sbin/portupgrade:614:in `new' >> =A0 =A0 =A0 =A0 from /usr/local/sbin/portupgrade:614:in `main' > ... > > Does this Perl (5.8 & onwards) program ... > > =A0http://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 ... > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0aalib-1.4.r5_4 : aalib =A0 =A0 =A0 =A0 =A0= =A0 1.4.r5_4 > =A0 =A0 =A0 =A0 =A0 =A0 acroread8-8.1.2_2 : acroread8 =A0 =A0 =A0 =A0 8.1= .2_2 > =A0acroreadwrapper-0.0.20080906 : acroreadwrapper =A0 0.0.20080906 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 agg-2.5_5 : agg =A0 =A0 =A0 =A0 = =A0 =A0 =A0 2.5_5 > =A0 =A0 =A0 =A0 =A0 =A0aircrack-ng-1.0.r1 : aircrack-ng =A0 =A0 =A0 1.0.r= 1 > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0amspsfnt-1.0_5 : amspsfnt =A0 =A0 =A0 =A0 = =A01.0_5 > =A0... > > > > =A0- Parv > > -- > > No, sorry, no messages :( [chris@amnesiac]~% sudo perl check-portupgrade.pl [chris@amnesiac]~% --=20 A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?