Making MacPorts work again after upgrading to Mavericks
Although pretty much everything “just works” after upgrading from Lion/Mountain Lion to Mavericks, one thing that doesn’t is MacPorts. Well, it still works, or at least it did for me, but you’re unable to upgrade it or install more ports, as they all fail with various error messages (including “Error: org.macports.extract for port gperf returned: command execution failed”), and the usual sudo port selfupdate just gives the message MacPorts base version 2.2.1 downloaded. —> Updating the ports tree —> MacPorts base …