portsのアップデートにしっぱいした


# port selfupdate

MacPorts base version 2.1.3 installed,
MacPorts base version 2.2.1 downloaded.

      • > Updating the ports tree
      • > MacPorts base is outdated, installing new version 2.2.1

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

# xcode-select --install

then

# port selfupdate