[MacPorts] #34221: sw_vers hangs during a build

Jeremy Huddleston Sequoia jeremyhu at apple.com
Sat Apr 27 15:19:43 PDT 2013


On Apr 27, 2013, at 2:52 PM, Clemens Lang <cal at macports.org> wrote:

> 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.

Or just update base… this was fixed last month:

r104118 | jeremyhu at macports.org | 2013-03-16 10:53:40 -0700 (Sat, 16 Mar 2013) | 2 lines

Ignore cfprefsd on Mountain Lion, #34221
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4136 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20130427/9f62439d/attachment.p7s>


More information about the macports-dev mailing list