[MacPorts] #40721: mportdepends sometimes gets an mport with no workername

MacPorts noreply at macports.org
Wed Oct 9 20:41:21 PDT 2013


#40721: mportdepends sometimes gets an mport with no workername
--------------------+--------------------------------
 Reporter:  jmr@…   |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  base    |    Version:  2.2.99
 Keywords:          |       Port:
--------------------+--------------------------------
 This will reproduce the problem:
 {{{
 sudo port -dy install jessie
 }}}
 With vanilla base, you'll get a backtrace like this:
 {{{
 DEBUG: invalid command name ""
     while executing
 "$workername eval array get ::PortInfo"
     (procedure "mportinfo" line 3)
     invoked from within
 "mportinfo $mport"
     (procedure "mportdepends" line 3)
     invoked from within
 "mportdepends $depport {} $recurseDeps $skipSatisfied 1"
     (procedure "mportdepends" line 171)
     invoked from within
 "mportdepends $mport $target"
     (procedure "mportexec" line 48)
     invoked from within
 "mportexec $workername $target"
 }}}
 The attached patch adds a check which illustrates that the bad mport is
 being returned from dlist_match_multi. More debugging is needed to find
 out how and when the mport becomes workername-less.

-- 
Ticket URL: <https://trac.macports.org/ticket/40721>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list