[MacPorts] #50891: Error building sdcc
#50891: Error building sdcc ------------------------+-------------------------------- Reporter: gleidson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- I am trying build on OS X El Capitan, but its failed with error "sdcc returned: command execution failed" Attached build log. -- Ticket URL: <https://trac.macports.org/ticket/50891> MacPorts <https://www.macports.org/> Ports system for OS X
#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
#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 | -------------------------+------------------- Comment (by gleidson@…): The configurecache is set to no in macports.conf, but i have ccache installed on my system. The folder doesn't /opt/local/var/macports/build/.ccache exists and the folder /opt/local/var/macports/build/ has permission 755 and owner root:admin. Would that be the problem ? The only folder in /opt/local/var/macports/ with the owner macports is /opt/local/var/macports/incoming. PS: I run port with root account. -- Ticket URL: <https://trac.macports.org/ticket/50891#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -------------------------+------------------- Comment (by gleidson@…): folders inside /opt/local/var/macports/ {{{ rwxr-xr-x@ 12 root admin 408 13 Mar 21:48 . drwxr-xr-x 8 root admin 272 11 Mar 00:12 .. drwxr-xr-x 3 root admin 102 13 Mar 23:43 build drwxr-xr-x 267 root admin 9078 13 Mar 21:23 distfiles drwxr-xr-x 3 root admin 102 25 Dez 2013 home drwxr-xr-x 3 macports admin 102 13 Mar 23:40 incoming drwxr-xr-x 9 root admin 306 14 Mar 00:21 logs -rw-r--r-- 1 root admin 0 14 Mar 21:45 pingtimes -r--r--r-- 1 root admin 11264 1 Out 16:42 port-help.tcl drwxr-xr-x 7 root admin 238 14 Mar 00:21 registry drwxr-xr-x 294 root admin 9996 13 Mar 22:03 software drwxr-xr-x 3 root admin 102 25 Dez 2013 sources }}} -- Ticket URL: <https://trac.macports.org/ticket/50891#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#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 | -------------------------+------------------- Comment (by ryandesign@…): For MacPorts to use ccache, /opt/local/var/macports/build/.ccache probably needs to exist; try creating it. We should fix the bug that sdcc tries to use ccache when not told to do so. -- Ticket URL: <https://trac.macports.org/ticket/50891#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50891: sdcc: uses ccache even if configureccache is no -------------------------+-------------------- Reporter: gleidson@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: sdcc | -------------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: Replying to [comment:4 ryandesign@…]:
We should fix the bug that sdcc tries to use ccache when not told to do so.
r146736. -- Ticket URL: <https://trac.macports.org/ticket/50891#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts