[MacPorts] #73379: MacPorts: process_cmd failed: can't read "target_state_fd": no such variable

MacPorts noreply at macports.org
Fri Jan 9 10:45:47 UTC 2026


#73379: MacPorts: process_cmd failed: can't read "target_state_fd": no such
variable
--------------------------------------------+---------------------
 Reporter:  aeiouaeiouaeiouaeiouaeiouaeiou  |      Owner:  (none)
     Type:  defect                          |     Status:  new
 Priority:  Normal                          |  Milestone:
Component:  base                            |    Version:  2.11.99
 Keywords:  mountainlion                    |       Port:
--------------------------------------------+---------------------
 I compiled the version from the
 [changeset:119ed26abd3821970082355cf2400e6ddf32a7c3/macports-base latest
 commit], and it seems that package downloading is broken in it.

 {{{
 DEBUG: Fetching
 http://packages.macports.org/libtasn1/libtasn1-4.21.0_0.darwin_12.x86_64.tbz2
 failed: Transfer cancelled
 DEBUG: process_cmd failed: can't read "target_state_fd": no such variable
     while executing
 "write_statefile target "org.macports.${target}" $target_state_fd"
     (procedure "fetchfiles" line 218)
     invoked from within
 "fetchfiles yes"
     (procedure "portarchivefetch::archivefetch_async_start" line 8)
     invoked from within
 "portarchivefetch::archivefetch_async_start"
     invoked from within
 "$workername eval [list portarchivefetch::archivefetch_async_start]"
     (procedure "async_fetch_mport" line 14)
     invoked from within
 "async_fetch_mport activate $mport"
     (procedure "macports::_exec_upgrade" line 29)
     invoked from within
 "macports::_exec_upgrade $upgrade_oplist $upgrade_portcount"
     (procedure "macports::upgrade_multi" line 50)
     invoked from within
 "macports::upgrade_multi $portnames $argdict $upgrade_options depscache"
     (procedure "action_upgrade" line 17)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 126)
     invoked from within
 "process_cmd $remaining_args"
     ("try" body line 3)
 Error: process_cmd failed: can't read "target_state_fd": no such variable
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/73379>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list