[MacPorts] #50891: sdcc: ccache: error: Failed to create directory /opt/local/var/macports/build/.ccache/tmp: Operation not permitted (was: Error building sdcc)

MacPorts noreply at macports.org
Mon Mar 14 00:59:00 PDT 2016


#50891: sdcc: ccache: error: Failed to create directory
/opt/local/var/macports/build/.ccache/tmp: Operation not permitted
-------------------------+-------------------
  Reporter:  gleidson@…  |      Owner:  snc@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.4
Resolution:              |   Keywords:
      Port:  sdcc        |
-------------------------+-------------------
Changes (by ryandesign@…):

 * owner:  macports-tickets@… => snc@…
 * port:   => sdcc


Comment:

 The log says:

 {{{
 :info:build ccache: error: Failed to create directory
 /opt/local/var/macports/build/.ccache/tmp: Operation not permitted
 }}}

 Are you using ccache deliberately (by setting `configureccache yes` in
 macports.conf) or has sdcc decided to use it on its own?

 Are the permissions and ownership of /opt/local/var/macports/build/.ccache
 set correctly? I use ccache deliberately, and on my system,
 /opt/local/var/macports/build/.ccache has permissions 0755 and owner
 macports:wheel.

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


More information about the macports-tickets mailing list