Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Apr 2009 06:37:49 -1000
From:      Parv <parv@pair.com>
To:        utisoft@gmail.com
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Portupgrade still broken?
Message-ID:  <20090409163749.GA6149@holstein.holy.cow>
In-Reply-To: <b79ecaef0904080551x74c80227h1a4ba5d2adcca905@mail.gmail.com>
References:  <b79ecaef0904080551x74c80227h1a4ba5d2adcca905@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <b79ecaef0904080551x74c80227h1a4ba5d2adcca905@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@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)
>         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

-- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090409163749.GA6149>