[MacPorts] #34221: sw_vers hangs during a build

Clemens Lang cal at macports.org
Sat Apr 27 14:52:50 PDT 2013


Hi,

On Sat, Apr 27, 2013 at 08:58:56PM +0100, Chris Jones wrote:
> The work around is to run as a regular user crontab, but setup sudo to
> allow that user to run port via sudo without a password.

or, since we apparently know a workaround by now, you could edit your
macports.conf to include __CFPREFERENCES_AVOID_DAEMON in the extra_env
configuration variable and set __CFPREFERENCES_AVOID_DAEMON=1 in the
environment of your cronjob.

-- 
Clemens Lang



More information about the macports-dev mailing list