[MacPorts] #71478: Port complains: 'Error: process_cmd failed: key "version" not known in dictionary'
MacPorts
noreply at macports.org
Sun Dec 8 19:13:03 UTC 2024
#71478: Port complains: 'Error: process_cmd failed: key "version" not known in
dictionary'
------------------------+----------------------
Reporter: ballapete | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version: 2.10.5
Resolution: | Keywords:
Port: |
------------------------+----------------------
Changes (by mascguy):
* cc: reneeotten (added)
* status: new => assigned
* owner: (none) => mascguy
Comment:
Replying to [comment:5 gwright83]:
> 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.
This isn't a bug, but rather, it's a fatal error in the stub for `py-
magpy`. It looks like the committer (@reneeotten) didn't add the necessary
version, which means the portfile is invalid.
I'll check in a fix momentarily, and it should be available after 3 hours.
At that point, run `sudo port selfupdate`, and try again.
p.s. Let us know how it goes!
--
Ticket URL: <https://trac.macports.org/ticket/71478#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list