portupgrade: complete failure due to devel/apr-svn

Denise H. G. darcsis at gmail.com
Sun Apr 6 17:39:59 UTC 2008


Jan Henrik Sylvester <me at janh.de> writes:

> After refreshing all packages in /usr/ports/packages/All, I tried to
> upgrade all ports on a machine that had the last 'portupgrade -a' a few
> month (?) ago. I got:
>
> # portupgrade --batch -PP -x openoffice.org -a
> ** Port marked as IGNORE: devel/apr-svn:
>                  at line 1115 (evaluated to true)
> ** Proceeding anyway since NO_IGNORE is defined
> /usr/local/lib/ruby/site_ruby/1.8/pkgversion.rb:41:in `initialize': :
> Not in due form: '<version>[_<revision>][,<epoch>]'. (ArgumentError)
>         from /usr/local/sbin/portupgrade:638:in `new'
>         from /usr/local/sbin/portupgrade:638:in `main'
>         from /usr/local/sbin/portupgrade:613:in `each'
>         from /usr/local/sbin/portupgrade:613:in `main'
>         from /usr/local/sbin/portupgrade:588:in `catch'
>         from /usr/local/sbin/portupgrade:588:in `main'
>         from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
>         from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
>          ... 7 levels...
>         from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
>         from /usr/local/sbin/portupgrade:229:in `new'
>         from /usr/local/sbin/portupgrade:229:in `main'
>         from /usr/local/sbin/portupgrade:2173
>
> Examining the ports, I do not see where the IGNORE of devel/apr-svn
> comes from. Moreover, I have not found a clue about the cause of the
> second error message searching for it.
>
> I did "upgrade" devel/apr-svn manually with 'pkg_delete -f 
> apr-db42-1.2.8_2', 'pkg_add apr-gdbm-db42-1.2.8_3.tbz', and 'pkgdb -s 
> /apr-db42-1.2.8_2/apr-gdbm-db42-1.2.8_3/'. That did not change the
> outcome. '-x devel/apr-svn' did not help portupgrade, either.
>
> portupgrade was current (portupgrade-2.4.3_2,2) and ruby, too
> (ruby-1.8.6.111_1,1).
>
> Any idea what is wrong or how to fix it?

this was fixed in the latest update of the ports tree. it was due to a
typo in the Mk/bsd.database.mk.

>
> Thanks,
> Jan Henrik
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

-- 
Denise H. G. <darcsis AT gmail DOT com>


More information about the freebsd-ports mailing list