[MacPorts] #44815: "port uninstall --follow-dependencies" no longer follows all dependencies
MacPorts
noreply at macports.org
Wed Feb 18 12:00:14 PST 2015
#44815: "port uninstall --follow-dependencies" no longer follows all dependencies
-----------------------+--------------------------------
Reporter: larryv@… | Owner: shasha@…
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: base | Version: 2.3.99
Resolution: | Keywords: gsoc14-interactive
Port: |
-----------------------+--------------------------------
Comment (by larryv@…):
I’ve applied Josh’s [http://paste.lisp.org/display/145568 debugging patch]
to a few of my base installs, but I haven’t been able to come up with a
minimal test case yet.
{{{
#!diff
Index: src/registry2.0/portuninstall.tcl
===================================================================
--- src/registry2.0/portuninstall.tcl (revision 132471)
+++ src/registry2.0/portuninstall.tcl (working copy)
@@ -321,6 +321,7 @@
foreach depdt $dependents {
if {[lsearch -exact $uports $depdt] == -1} {
set all_dependents_uninstalling 0
+ ui_msg "not adding $dep to uninstall
list, $depdt depends on it"
break
}
}
@@ -328,6 +329,7 @@
lappend uports $dep
lappend portilist
$dep@${iversion}_${irevision}${ivariants}
set uninstalling_this_dep 1
+ ui_msg "adding $dep to uninstall list"
}
}
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/44815#comment:6>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list