[MacPorts] #40721: mportdepends sometimes gets an mport with no workername
#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
#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 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: This might also be the reason why the buildbots always get `invalid command name ""` when building winetricks, though I can't reproduce it on my system since I already have the dependencies installed. -- Ticket URL: <https://trac.macports.org/ticket/40721#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40721: mportdepends sometimes gets an mport with no workername ---------------------+-------------------------------- Reporter: jmr@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.2.99 Resolution: fixed | Keywords: Port: | ---------------------+-------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r112067 -- Ticket URL: <https://trac.macports.org/ticket/40721#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40721: mportdepends sometimes gets an mport with no workername ---------------------+-------------------------------- Reporter: jmr@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.2.1 Component: base | Version: 2.2.99 Resolution: fixed | Keywords: Port: | ---------------------+-------------------------------- Changes (by jmr@…): * milestone: => MacPorts 2.2.1 -- Ticket URL: <https://trac.macports.org/ticket/40721#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts