Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#44107 closed defect (invalid)

port command not functioning in yosemite — at Version 1

Reported by: krishnan1994@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.0
Keywords: Cc:
Port:

Description (last modified by neverpanic (Clemens Lang))

When I try running any port command (so self update, even version flags don't work), I get the following error:

Error: Current platform "darwin 14" does not match expected platform "darwin 13"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration
OS platform mismatch
    while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch

I tried downloading the yosemite deployment target patch to llvm 3.4 but it doesn't do anything. To be honest I have no idea what's going on, I've scanned a lot of the web and can't seem to find any answers to my problem. And uninstalling and reinstalling macports is a challenge because my port command doesn't work.

Change History (1)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Component: portsbase
Description: modified (diff)
Resolution: invalid
Status: newclosed

You must re-install MacPorts in a version configured for Yosemite. Since we don't have a binary installer for Yosemite, you'll have to build MacPorts from source to do that.

See wiki:Migration#ReinstallMacPorts and https://www.macports.org/guide/#installing.macports.source.

Note: See TracTickets for help on using tickets.