[MacPorts] #62245: ccache fails to build (was: ccache fails to build when it is already installed)

MacPorts noreply at macports.org
Tue Feb 9 09:55:50 UTC 2021


#62245: ccache fails to build
-----------------------+------------------------
  Reporter:  szhorvat  |      Owner:  ryandesign
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:
      Port:  ccache    |
-----------------------+------------------------
Changes (by raimue):

 * cc: ryandesign@… (added)


Comment:

 We always set [https://github.com/macports/macports-
 base/blob/af12ddf24f8ada6247fdee9d32fc4f368b48937c/src/macports1.0/macports.tcl#L1333
 CCACHE_DIR] in the configure/build environment, but this path is only
 [https://github.com/macports/macports-
 base/blob/e8326adf36ce0f06027114019d436cf5dde24b78/src/port1.0/portsandbox.tcl#L83
 allowed] in the sandbox if `configure.ccache` is enabled. The cmake port
 group always sets `configure.ccache no`.

 If anything in the ccache build picks up `CCACHE_DIR` and wants to write
 there, this will lead to the reported situation. But it is still unclear
 why it would only try this if the ccache port is installed before.

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


More information about the macports-tickets mailing list