ports/125936: ports-mgmt/portupgrade -R fails if BUILD_DEP's are not installed.

Stanislav Sedov stas at deglitch.com
Tue Oct 27 15:20:03 UTC 2009


The following reply was made to PR ports/125936; it has been noted by GNATS.

From: Stanislav Sedov <stas at deglitch.com>
To: Bryan Drewery <bryan at shatow.net>
Cc: Michael Schout <mschout at gkg.net>, bug-followup at FreeBSD.org
Subject: Re: ports/125936: ports-mgmt/portupgrade -R fails if BUILD_DEP's 
 are not installed.
Date: Tue, 27 Oct 2009 18:10:42 +0300

 On Tue, 27 Oct 2009 09:57:21 -0500
 Bryan Drewery <bryan at shatow.net> mentioned:
 
 > Try force deleting a build dependency, like libtool, then portupgrading
 > a port which needs it.
 > 
 
 Yeah, I tried that but I can't reproduce the failure.  Anyway, I committed
 the patch just now that may be able to fix this problem.  If you can reproduce
 this can you, plese, test the patch attached?
 
 Thanks!
 
 --- bin/portupgrade     26 Oct 2009 14:47:49 -0000      1.62
 +++ bin/portupgrade     27 Oct 2009 14:59:37 -0000      1.63
 @@ -631,7 +631,10 @@
 
                 if $upward_recursive || $config
                   dep = []
                   get_all_depends(origin).each do |d|
 -                   dep << $pkgdb.deorigin(d).to_s
 +                   newdep = $pkgdb.deorigin(d)
 +                   unless newdep.nil? then
 +                     dep << newdep.to_s
 +                   end
                   end
                   depends |= dep if $upward_recursive
                 end
 
 -- 
 Stanislav Sedov
 ST4096-RIPE


More information about the freebsd-ruby mailing list