new setuid error

Puneet Kishor punk.kish at
Fri Aug 10 17:59:08 PDT 2012

I am on Mountain Lion, and have upgraded to Xcode 4.4. I get the following error

$sudo port selfupdate
dyld: DYLD_ environment variables being ignored because main executable (/usr/bin/sudo) is setuid or setgid
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.1 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is outdated, installing new version 2.1.2
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: command execution failed

This is new. What could I do to set this right?

Puneet Kishor

More information about the macports-users mailing list