[MacPorts] #44107: port command not functioning in yosemite

MacPorts noreply at macports.org
Sat Jun 21 10:31:52 PDT 2014


#44107: port command not functioning in yosemite
-----------------------------+--------------------------------
  Reporter:  krishnan1994@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  closed
  Priority:  Normal          |  Milestone:
 Component:  base            |    Version:  2.3.0
Resolution:  invalid         |   Keywords:
      Port:                  |
-----------------------------+--------------------------------
Changes (by cal@…):

 * status:  new => closed
 * component:  ports => base
 * resolution:   => invalid


Old description:

> 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.

New description:

 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.

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/44107#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list