[MacPorts] #71478: Port complains: 'Error: process_cmd failed: key "version" not known in dictionary'

MacPorts noreply at macports.org
Sun Dec 8 18:40:33 UTC 2024


#71478: Port complains: 'Error: process_cmd failed: key "version" not known in
dictionary'
------------------------+--------------------
  Reporter:  ballapete  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.10.5
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------

Comment (by gwright83):

 This (or something closely related) is triggered by ` sudo port -f clean
 --all all` as well:
 {{{
 --->  Cleaning py-magenta
 --->  Cleaning py-magic
 --->  Cleaning py-magicgui
 Error: Unable to execute port py-magpy: can't read "version": no such
 variable
 }}}
 The offending portfile is a stub indicating that the port has been
 relocated:
 {{{
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c
 -basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

 PortSystem          1.0
 PortGroup           obsolete 1.0

 name                py-magpy
 replaced_by         py-geomagpy
 license             GPL-3
 revision            1

 # remove after 2025-11-27
 }}}
 The stub lacks a version line, which evidently triggers the bug.

-- 
Ticket URL: <https://trac.macports.org/ticket/71478#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list