'port pkg' on 10.8

Joshua Root jmr at macports.org
Wed Jun 26 19:11:44 PDT 2013


On 2013-6-27 12:01 , Adam Mercer wrote:
> On Wed, Jun 26, 2013 at 8:35 PM, Joshua Root <jmr at macports.org> wrote:
> 
>> 'sudo port pkg MacPorts' will do. Then look in Console and see what's
>> being denied.
> 
> The only thing I can see in Console relating to this the the sudo
> calls to build the pkg, i.e.:
> 
> 26/06/2013 20:53:23.542 sudo[28919]:      ram : TTY=ttys002 ;
> PWD=/Users/ram ; USER=root ; COMMAND=/opt/local/bin/port pkg MacPorts
> 
> I've definitely made the change to portsandbox.tcl:
> 
> $ sed -n '79,86p' /opt/local/share/macports/Tcl/port1.0/portsandbox.tcl
>         lappend allow_dirs $ccache_dir
>     }
> 
>     set portsandbox_profile "(version 1) (debug deny) (allow default)
> (deny file-write*) \
> (allow file-write-data (literal \"/dev/null\") (literal \"/dev/zero\") \
> (literal \"/dev/dtracehelper\") (literal \"/dev/tty\") \
> (literal \"/dev/stdin\") (literal \"/dev/stdout\") (literal \"/dev/stderr\") \
> (regex #\"^/dev/fd/\")) (allow file-write* \
> $

I remember you disabled sandboxing in macports.conf in order to build
the beta pkg. Did you remember to undo that?

- Josh


More information about the macports-dev mailing list