ports-mgmt/portupgrade ISSUE portinstall recursive dependency error

Bryan Drewery bdrewery at FreeBSD.org
Wed Feb 6 01:49:57 UTC 2013


On 1/5/2013 9:38 AM, awarecons wrote:
> # $FreeBSD: ports/ports-mgmt/portupgrade/Makefile,v 1.285 2012/12/11
> 17:07:46 svnexp Exp $
> 
> # portupgrade -Nv java/openjdk7
> --->  Session started at: Sat, 05 Jan 2013 19:27:12 +0400
> [Gathering depends for java/openjdk7
> ..................(java/javavmwrapper)..(lang/gcc)..........(lang/gcc)--->
>  Session ended at: Sat, 05 Jan 2013 19:27:18 +0400 (consumed 00:00:06)
> /usr/local/sbin/portupgrade:898:in `get_all_depends': recursive
> dependency (RecursiveDependencyError)
> from /usr/local/sbin/portupgrade:921:in `get_all_depends'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/sbin/portupgrade:920:in `get_all_depends'
> from /usr/local/sbin/portupgrade:921:in `get_all_depends'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/sbin/portupgrade:920:in `get_all_depends'
> from /usr/local/sbin/portupgrade:921:in `get_all_depends'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each_key'
> from /usr/local/lib/ruby/1.8/set.rb:195:in `each'
> from /usr/local/sbin/portupgrade:920:in `get_all_depends'
> from /usr/local/sbin/portupgrade:937:in `get_notinstalled_depends'
> from /usr/local/sbin/portupgrade:813:in `main'
> from /usr/local/sbin/portupgrade:791:in `each'
> from /usr/local/sbin/portupgrade:791:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `call'
> from /usr/local/lib/ruby/1.8/optparse.rb:1310:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1306:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `catch'
> from /usr/local/lib/ruby/1.8/optparse.rb:1254:in `parse_in_order'
> from /usr/local/lib/ruby/1.8/optparse.rb:1248:in `order!'
> from /usr/local/lib/ruby/1.8/optparse.rb:1241:in `order'
> from /usr/local/sbin/portupgrade:576:in `main'
> from /usr/local/lib/ruby/1.8/optparse.rb:791:in `initialize'
> from /usr/local/sbin/portupgrade:237:in `new'
> from /usr/local/sbin/portupgrade:237:in `main'
> from /usr/local/sbin/portupgrade:2371
> 
> Repeatable on any new port.
> Appeared after last update of portupgrade,  previous version worked fine.

Did you get this worked out? I have not had any other reports of this
issue. The only change in the last version was to no longer support
older db formats. This should not be a problem though as I put in code
6+ months ago to handle this situation. Your failure does not look
related. You can really force rebuild: rm /var/db/pkg/pkgdb.db; pkgdb -uf

Beyond that I recommend rechecking out ports fresh from SVN or portsnap:
rm -rf /usr/ports; portsnap fetch extract


-- 
Regards,
Bryan Drewery
bdrewery at freenode/EFNet

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20130205/ba12f23c/attachment.sig>


More information about the freebsd-ports mailing list