[MacPorts] #72549: nut @2.8.2_0 missing python dependency
MacPorts
noreply at macports.org
Sat May 31 15:19:48 UTC 2025
#72549: nut @2.8.2_0 missing python dependency
------------------------------+--------------------
Reporter: GwynethLlewelyn | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 2.10.7
Resolution: | Keywords:
Port: nut |
------------------------------+--------------------
Comment (by GwynethLlewelyn):
Replying to [comment:2 jmroot]:
> The port doesn't declare a dependency on any python, so it's probably
using whatever python it happens to find, whether that's provided by
MacPorts or the system.
That makes sense. However, it's a no-no thing to attempt to write to
`/System/Library/Frameworks/Python.framework`, no matter what version is
selected.
Therefore, it makes sense to update the package to use a MacPorts-
installed Python version, hoping that this will ''avoid'' writing to a
(read-only) system directory.
Maybe my original description was not clear — the issue is not really if
Python 2.7, 3.12, or whatever, is installed. The issue is avoiding to
write to a systems directory. MacPorts includes its own directory 'root'
for Frameworks, and ''that'' is what should have been used during a binary
install.
I guess that the changed portfile just requires including Python as a
dependency and nothing more may be needed. But that implies a new
release...
--
Ticket URL: <https://trac.macports.org/ticket/72549#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list