Portupgrade still broken?

Chris Rees utisoft at googlemail.com
Thu Apr 9 19:19:57 UTC 2009


2009/4/9 Parv <parv at pair.com>:
> in message <b79ecaef0904080551x74c80227h1a4ba5d2adcca905 at mail.gmail.com>,
> 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 at 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 at 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)
>>         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
>
> --
>
>

No, sorry, no messages :(

[chris at amnesiac]~% sudo perl check-portupgrade.pl
[chris at amnesiac]~%


-- 
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?


More information about the freebsd-ports mailing list