[MacPorts] #40652: After selfupdate the list command fails
#40652: After selfupdate the list command fails -------------------------------+-------------------------------- Reporter: feliks.kluzniak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.0 Keywords: | Port: -------------------------------+-------------------------------- After today's "selfupdate" the basic "port" file has not changed, but apparently something got corrupted. Everything else seems to work well, but the command "list" gives an error, as show below. (Repeating selfupdate went without a hitch, but the problem persists.) If this is only on my machine, I'd appreciate a hint: How can I recover without reinstalling everything? {{{
port list .... py25-pyprotocols @1.0a0dev-r2302 python/py-pyprotocols py26-pyprotocols @1.0a0dev-r2302 python/py-pyprotocols can't read "portinfo(version)": no such element in array while executing "format "%-30s @%-14s %s" $portinfo(name) $portinfo(version) $outdir" ("foreach" body line 8) invoked from within "foreach {name array} $res { array unset portinfo array set portinfo $array set outdir "" if {[info exi..." ("uplevel" body line 17) invoked from within "uplevel 1 $block" (procedure "foreachport" line 20) invoked from within "foreachport $portlist { if {$portname == "-all-"} { if {[catch {set res [mportlistall]} result]} { global errorInfo..." (procedure "action_list" line 10) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 93) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 4857)
ll /opt/local/bin/port -r-xr-xr-x 1 root admin 167450 23 Jul 03:33 /opt/local/bin/port }}}
-- Ticket URL: <https://trac.macports.org/ticket/40652> MacPorts <http://www.macports.org/> Ports system for OS X
#40652: After selfupdate the list command fails --------------------------------+-------------------------------- Reporter: feliks.kluzniak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.2.0 Resolution: | Keywords: Port: | --------------------------------+-------------------------------- Comment (by dan+macports@…): Same problem on a `/opt/local` installation dir created today. -- Ticket URL: <https://trac.macports.org/ticket/40652#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40652: py-pyqt4: can't read "portinfo(version)": no such element in array --------------------------------+------------------------- Reporter: feliks.kluzniak@… | Owner: michaelld@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-pyqt4 | --------------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * priority: Normal => High * component: base => ports * port: => py-pyqt4 Comment: It seems that after r111812, the py-pyqt4 stub port no longer declares `version`, which is a required variable without which MacPorts blows up. -- Ticket URL: <https://trac.macports.org/ticket/40652#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40652: py-pyqt4: can't read "portinfo(version)": no such element in array --------------------------------+------------------------- Reporter: feliks.kluzniak@… | Owner: michaelld@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: py-pyqt4 | --------------------------------+------------------------- Comment (by michaelld@…): My bad. Should be fixed in r111837. -- Ticket URL: <https://trac.macports.org/ticket/40652#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40652: py-pyqt4: can't read "portinfo(version)": no such element in array --------------------------------+------------------------- Reporter: feliks.kluzniak@… | Owner: michaelld@… Type: defect | Status: closed Priority: High | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: py-pyqt4 | --------------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/40652#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts