Opened 6 years ago

Closed 6 years ago

#56632 closed defect (fixed)

glfw: Error: process_cmd failed: can't read "portinfo(version)": no such element in array

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.2
Keywords: Cc:
Port: glfw

Description

The following also shows that port sets echo and forgets to unset it when it quits:

root 250 /\ port list | egrep 'gcc|clang|llvm' | grep -v cross
Error: process_cmd failed: can't read "portinfo(version)": no such element in array
root 251 /\ port -v
MacPorts 2.5.2
Entering shell mode... ("help" for help, "quit" to quit)
[var/root] > 
Goodbye
root 252 /\ port list | wc -l
port list | wc -l
Error: process_cmd failed: can't read "portinfo(version)": no such element in array
    3094
root 253 /\ stty -echo
stty -echo


root 254 /\ pwd
/private/var/root

Change History (3)

comment:1 Changed 6 years ago by raimue (Rainer Müller)

comment:2 Changed 6 years ago by ballapete (Peter "Pete" Dyballa)

Could be…

First I found a File PortIndex from 1970-01-01 in root's home directory – removed now. Error/Complaint still exists.

Then I simply ran port -dv list. The end of this is, afer approximately 3090 lines:

gl2ps                          @1.4.0          graphics/gl2ps
gle-graphics                   @4.2.5          graphics/gle-graphics
QGLE                           @4.2.5          graphics/gle-graphics
glew                           @2.1.0          graphics/glew
DEBUG: process_cmd failed: 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 19)
    invoked from within
"uplevel 1 $block"
    (procedure "foreachport" line 20)
    invoked from within
"foreachport $portlist {
        if {$portname eq "-all-"} {
           if {[catch {set res [mportlistall]} result]} {
                ui_debug $::erro..."
    (procedure "action_list" line 10)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 110)
    invoked from within
"process_cmd $remaining_args"
    ("uplevel" body line 3)
    invoked from within
"uplevel 1 $body"
Error: process_cmd failed: can't read "portinfo(version)": no such element in array

I am rsync'ing from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs.

comment:3 Changed 6 years ago by jmroot (Joshua Root)

Keywords: tiger removed
Port: glfw added; port removed
Resolution: fixed
Status: newclosed
Summary: port complains on PPC Tiger, Mac OS X 10.4.11: Error: process_cmd failed: can't read "portinfo(version)": no such element in arrayglfw: Error: process_cmd failed: can't read "portinfo(version)": no such element in array
Note: See TracTickets for help on using tickets.