[MacPorts] #62245: ccache fails to build

MacPorts noreply at macports.org
Tue Feb 9 09:33:23 UTC 2021


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

Comment (by szhorvat):

 Based on the hint in the other ticked, I was able to upgrade ccache by
 first uninstalling it. It seems that the problem is caused by ccache being
 present on the system, and wanting to put the cache in a location it is
 not allowed to write to.

 {{{
 sudo port uninstall ccache
 sudo port clean --all ccache
 sudo port install ccache
 }}}

 Note that the port clean step is important, otherwise it will use the
 previous build attempt's configuration and fail due to not finding the
 ccache executable.

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


More information about the macports-tickets mailing list