Error with 'port -vst install'

Pieter van Oostrum pieter-l at
Thu Oct 6 21:58:44 UTC 2022

Clemens Lang <cal at> writes:

> Hi,
> On Thu, Oct 06, 2022 at 01:55:10PM +0200, Pieter van Oostrum wrote:
>> It fails to create the directory
>> '/opt/local/var/macports/sip-workaround/502/usr'. In fact on a
>> previous run it failed to create
>> '/opt/local/var/macports/sip-workaround/502' and then I created that
>> directory manually. And then it fails at the next level. I don't like
>> to create the whole directory structure manually. Is there anything
>> else I can do, or is this actually a bug?
> That's unexpected. You should be able to just completely delete
> /opt/local/var/macports/sip-workaround/502 and try again. If that
> doesn't work, make sure that the permissions for
> /opt/local/var/macports/sip-workaround are drwxrwxrwt, i.e. chmod 1777.

Hi Clemens,

That did the trick.

With kind regards,
Pieter van Oostrum

> HTH,
> Clemens

Pieter van Oostrum <pieter at>
PGP key: [8DAE142BE17999C4]

More information about the macports-users mailing list