[MacPorts] #42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: aquaterm ---------------------+-------------------------------- Specifically: {{{ ---> Building aquaterm DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /tmp/macports to macports DEBUG: euid/egid changed to: 502/501 DEBUG: Tracemode will respect recursively collected port dependencies: DEBUG: Executing org.macports.build (aquaterm) DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm" && /usr/bin/xcodebuild -target "AquaTerm" -configuration Default build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS="x86_64 i386" SDKROOT="" GCC_VERSION=4.2 LOCAL_APPS_DIR=/Applications/MacPorts LOCAL_FRAMEWORKS_DIR=/opt/local/Library/Frameworks' mkdir: /var: Permission denied Failed to create'/var/folders/qF/qF8QQTpQEd46C36JGCgxkk+++TM/-Tmp-/xcrun_db' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_aquaterm/aquaterm/work/AquaTerm-1.1.1/aquaterm" && /usr/bin/xcodebuild -target "AquaTerm" -configuration Default build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS="x86_64 i386" SDKROOT="" GCC_VERSION=4.2 LOCAL_APPS_DIR=/Applications/MacPorts LOCAL_FRAMEWORKS_DIR=/opt/local/Library/Frameworks Exit code: 1 Warning: An activity was attempted outside sandbox: /var Warning: An activity was attempted outside sandbox: /var/folders/qF/qF8QQTpQEd46C36JGCgxkk+++TM/-Tmp- Warning: An activity was attempted outside sandbox: /var/folders/qF/qF8QQTpQEd46C36JGCgxkk+++TM/-Tmp-/xcrun_db Error: org.macports.build for port aquaterm returned: command execution failed }}} Will check whether it succeeds when I turn off tracemode after I attach my logfile... -- Ticket URL: <https://trac.macports.org/ticket/42795> MacPorts <http://www.macports.org/> Ports system for OS X
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode -----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: aquaterm | -----------------------+-------------------------------- Comment (by egall@…):
Will check whether it succeeds when I turn off tracemode after I attach my logfile... OK, checked, and yup, turning off tracemode was all that it took for it to succeed... Maybe this is an issue with tracemode itself? If that is the case, then I probably should have cc-ed cal, considering that he has been the main person working on tracemode...
-- Ticket URL: <https://trac.macports.org/ticket/42795#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode -----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: aquaterm | -----------------------+-------------------------------- Comment (by g5pw@…): Interesting. I wonder if this is somehow connected with #42428? Is tracemode already released? -- Ticket URL: <https://trac.macports.org/ticket/42795#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode -----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: aquaterm | -----------------------+-------------------------------- Comment (by cal@…): `/var/folders` and `/private/var/folders` are in the whitelist of trace mode. `/var` however, is not. This wouldn't be a problem if the build didn't try to `mkdir(/var)` – and it actually shouldn't be a problem when calling `mkdir(2)` for a directory that already exists (even though it's a symlink in this case). -- Ticket URL: <https://trac.macports.org/ticket/42795#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode -----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: aquaterm | -----------------------+-------------------------------- Comment (by cal@…): I also cannot reproduce the problem. Aquaterm builds just fine in tracemode for me. To answer whether tracemode is released yet: It has always been, but the version that's in the current latest release has serious bugs that make its results erratic at best. -- Ticket URL: <https://trac.macports.org/ticket/42795#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42795: aquaterm @1.1.1 build fails due to sandbox violations in tracemode -------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: aquaterm | -------------------------+-------------------------------- Changes (by g5pw@…): * status: new => closed * resolution: => worksforme Comment: It looks like we hit a bug in base, then. -- Ticket URL: <https://trac.macports.org/ticket/42795#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts