Date: Tue, 27 Oct 2009 15:20:03 GMT From: Stanislav Sedov <stas@deglitch.com> To: ruby@FreeBSD.org Subject: Re: ports/125936: ports-mgmt/portupgrade -R fails if BUILD_DEP's are not installed. Message-ID: <200910271520.n9RFK3Ur052701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/125936; it has been noted by GNATS. From: Stanislav Sedov <stas@deglitch.com> To: Bryan Drewery <bryan@shatow.net> Cc: Michael Schout <mschout@gkg.net>, bug-followup@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910271520.n9RFK3Ur052701>