#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