[MacPorts] #60445: grass7 @7.8.3: ERROR: Your install directory /opt/local/share/grass78 is not writable (was: grass7 upgrade fails at staging)
MacPorts
noreply at macports.org
Wed May 6 17:24:58 UTC 2020
#60445: grass7 @7.8.3: ERROR: Your install directory /opt/local/share/grass78 is
not writable
----------------------+--------------------
Reporter: dershow | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: grass7 |
----------------------+--------------------
Changes (by ryandesign):
* version: => 2.6.2
Comment:
The installation appears to be trying to write directly into
/opt/local/share/grass78, bypassing the destroot. Indeed MacPorts does and
should prevent that. Ports must install into the destroot.
We didn't see the same build failure on our build server. I'm not sure why
it failed to build on your system. We need to investigate and fix that.
The reason why you didn't get our prebuilt binary is that you're using the
+python37 and +postgresql10 variants. The default postgresql variant
became +postgresql12 as of grass7 @7.8.1 and the default python variant
became +python38 as of grass7 @7.8.2. If you don't mind using postgresql12
instead of postgresql10 and python38 instead of python37, you could avoid
the problem by running `sudo port clean grass7` and `sudo port install
grass7 +python38 +postgresql12`.
--
Ticket URL: <https://trac.macports.org/ticket/60445#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list