[MacPorts] #40164: 'Staging eric4 into destroot' fails
#40164: 'Staging eric4 into destroot' fails --------------------------------+-------------------------------- Reporter: michael_herrmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: permission | Port: eric4 --------------------------------+-------------------------------- Although started with 'sudo install eric4' the log file says: OSError: [Errno 1] Operation not permitted: '/Developer/Applications/Eric4' -- Ticket URL: <https://trac.macports.org/ticket/40164> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: 'Staging eric4 into destroot' fails ---------------------------------+-------------------------------- Reporter: michael_herrmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: permission Port: eric4 | ---------------------------------+-------------------------------- Comment (by michael_herrmann@…): btw. OS is Snow Leopard -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: 'Staging eric4 into destroot' fails ---------------------------------+-------------------------------- Reporter: michael_herrmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: permission Port: eric4 | ---------------------------------+-------------------------------- Comment (by egall@…): Looks like sandboxing... -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: eric4 @4.5.5_2: destroot tries to write to /Developer ---------------------------------+-------------------------------- Reporter: michael_herrmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: eric4 | ---------------------------------+-------------------------------- Changes (by larryv@…): * keywords: permission => Comment: {{{ :info:destroot Traceback (most recent call last): :info:destroot File "install.py", line 1059, in <module> :info:destroot main(sys.argv) :info:destroot File "install.py", line 1002, in main :info:destroot installEric() :info:destroot File "install.py", line 509, in installEric :info:destroot createMacAppBundle(cfg['ericDir']) :info:destroot File "install.py", line 524, in createMacAppBundle :info:destroot os.makedirs(dirs["contents"]) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 150, in makedirs :info:destroot makedirs(head, mode) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 150, in makedirs :info:destroot makedirs(head, mode) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 157, in makedirs :info:destroot mkdir(name, mode) :info:destroot OSError: [Errno 1] Operation not permitted: '/Developer/Applications/Eric4' }}} Is the destroot phase trying to create that directory? It should not be attempting to create any files outside of the destroot directory. If this is the situation, then the sandbox is working as intended, and the port needs to be fixed. -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: eric4 @4.5.5_2: destroot tries to write to /Developer ---------------------------------+-------------------------------- Reporter: michael_herrmann@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: eric4 | ---------------------------------+-------------------------------- Comment (by michael_herrmann@…): Replying to [comment:3 larryv@…]:
{{{ :info:destroot Traceback (most recent call last): :info:destroot File "install.py", line 1059, in <module> :info:destroot main(sys.argv) :info:destroot File "install.py", line 1002, in main :info:destroot installEric() :info:destroot File "install.py", line 509, in installEric :info:destroot createMacAppBundle(cfg['ericDir']) :info:destroot File "install.py", line 524, in createMacAppBundle :info:destroot os.makedirs(dirs["contents"]) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 150, in makedirs :info:destroot makedirs(head, mode) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 150, in makedirs :info:destroot makedirs(head, mode) :info:destroot File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py", line 157, in makedirs :info:destroot mkdir(name, mode) :info:destroot OSError: [Errno 1] Operation not permitted: '/Developer/Applications/Eric4' }}} Is the destroot phase trying to create that directory? It should not be attempting to create any files outside of the destroot directory. If this is the situation, then the sandbox is working as intended, and the port needs to be fixed.
Yes, that's the case. I didn't know anything about sandboxing and I tried to create that dir manually. Afterwards it failed creating /Developer/Applications/Eric4/Contents. -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: eric4 @4.5.5_2: destroot tries to write to /Developer ---------------------------------+-------------------------- Reporter: michael_herrmann@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: eric4 | ---------------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: eric4 @4.5.5_2: destroot tries to write to /Developer ---------------------------------+-------------------------- Reporter: michael_herrmann@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: eric4 | ---------------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r109632, r109633 -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40164: eric4 @4.5.5_2: destroot tries to write to /Developer ---------------------------------+-------------------------- Reporter: michael_herrmann@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: fixed | Keywords: Port: eric4 | ---------------------------------+-------------------------- Comment (by michael_herrmann@…): works, great, thanks -- Ticket URL: <https://trac.macports.org/ticket/40164#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts