Opened 5 years ago

Closed 5 years ago

#60297 closed defect (fixed)

signing-party: @2.10_1: wants to use an uninstalled python version / also could be switched to python 3

Reported by: tweinbrenner Owned by: neverpanic (Clemens Lang)
Priority: Low Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: signing-party

Description (last modified by tweinbrenner)

When I try to use the program keyart I get the following error:

% keyart 0x3FD243BC8036B322
zsh: /opt/local/bin/keyart: bad interpreter: /opt/local/bin/python2.73: no such file or directory

I am using MacPorts 2.6.2 / macOS 10.15.4 / Xcode 11.4.

I suggest to change the program to use python 3

--- keyart	2020-04-02 08:43:52.000000000 +0200
+++ /opt/local/bin/keyart	2019-10-09 18:22:45.000000000 +0200
@@ -1,4 +1,4 @@
-#!/opt/local/bin/python3
+#!/opt/local/bin/python2.73

and make the port depend on python3 instead.

Upstream changed to python3 in version 2.8 (see changelog).

Change History (4)

comment:1 Changed 5 years ago by tweinbrenner

Description: modified (diff)

comment:2 Changed 5 years ago by mf2k (Frank Schima)

In the future, please add the port maintainer(s) to Cc (port info --maintainers signing-party), if any.

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Owner: set to neverpanic
Status: newassigned

comment:4 Changed 5 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

In 59b68b3c241e938c76bd0f910489e4e955f700c4/macports-ports (master):

signing-party: Use Python 3.8

Upstream changed the shebang to python3, which caused our reinplace to
produce python2.73, which is broken.

Closes: #60297

Note: See TracTickets for help on using tickets.