Date: Thu, 9 Apr 2009 20:19:40 +0100 From: Chris Rees <utisoft@googlemail.com> To: utisoft@gmail.com, FreeBSD Mailing List <freebsd-ports@freebsd.org> Subject: Re: Portupgrade still broken? Message-ID: <b79ecaef0904091219t4f20f65br36f6e2405ff60ca7@mail.gmail.com> In-Reply-To: <20090409163749.GA6149@holstein.holy.cow> References: <b79ecaef0904080551x74c80227h1a4ba5d2adcca905@mail.gmail.com> <20090409163749.GA6149@holstein.holy.cow>
next in thread | previous in thread | raw e-mail | index | archive | help
2009/4/9 Parv <parv@pair.com>: > in message <b79ecaef0904080551x74c80227h1a4ba5d2adcca905@mail.gmail.com>, > 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 <format:bdb_btree> 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: <name>-<version> (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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0904091219t4f20f65br36f6e2405ff60ca7>