[MacPorts] #53957: python25 is not supported on Yosemite or later (was: gcc5)

MacPorts noreply at macports.org
Tue Apr 11 07:31:12 UTC 2017


#53957: python25 is not supported on Yosemite or later
-----------------------+--------------------
  Reporter:  ajpowel   |      Owner:
      Type:  defect    |     Status:  closed
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:  invalid   |   Keywords:
      Port:  python25  |
-----------------------+--------------------
Changes (by ryandesign):

 * status:  new => closed
 * cc: ryandesign (added)
 * resolution:   => invalid
 * port:   => python25


Old description:

> Hello --
>
> This Python 2.5 error has been pervasive in my trying to install ports, &
> this gcc5-related error is the most recent instance.  Will you please
> help?
>

> Amys-MacBook-Pro:~ amypowell$ sudo -E port install gcc5
> --->  Computing dependencies for gcc5
> --->  Fetching archive for gcc5
> --->  Attempting to fetch gcc5-5.4.0_1.darwin_16.x86_64.tbz2 from
> https://packages.macports.org/gcc5
> --->  Attempting to fetch gcc5-5.4.0_1.darwin_16.x86_64.tbz2.rmd160 from
> https://packages.macports.org/gcc5
> --->  Installing gcc5 @5.4.0_1
> --->  Activating gcc5 @5.4.0_1
> --->  Cleaning gcc5
> --->  Updating database of binaries
> --->  Scanning binaries for linking errors
> --->  Found 3 broken files, matching files to ports
> --->  Found 1 broken port, determining rebuild order
> You can always run 'port rev-upgrade' again to fix errors.
> The following ports will be rebuilt: python25 @2.5.6
> Continue? [Y/n]: y
> --->  Fetching distfiles for python25
> Error: python25 is not supported on Yosemite or later.
> Error: Failed to fetch python25: unsupported platform
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/main.log
> for details.
> Error: rev-upgrade failed: Error rebuilding python25
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.

New description:

 Hello --

 This Python 2.5 error has been pervasive in my trying to install ports, &
 this gcc5-related error is the most recent instance.  Will you please
 help?

 {{{
 Amys-MacBook-Pro:~ amypowell$ sudo -E port install gcc5
 --->  Computing dependencies for gcc5
 --->  Fetching archive for gcc5
 --->  Attempting to fetch gcc5-5.4.0_1.darwin_16.x86_64.tbz2 from
 https://packages.macports.org/gcc5
 --->  Attempting to fetch gcc5-5.4.0_1.darwin_16.x86_64.tbz2.rmd160 from
 https://packages.macports.org/gcc5
 --->  Installing gcc5 @5.4.0_1
 --->  Activating gcc5 @5.4.0_1
 --->  Cleaning gcc5
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  Found 3 broken files, matching files to ports
 --->  Found 1 broken port, determining rebuild order
 You can always run 'port rev-upgrade' again to fix errors.
 The following ports will be rebuilt: python25 @2.5.6
 Continue? [Y/n]: y
 --->  Fetching distfiles for python25
 Error: python25 is not supported on Yosemite or later.
 Error: Failed to fetch python25: unsupported platform
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python25/python25/main.log
 for details.
 Error: rev-upgrade failed: Error rebuilding python25
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

--

Comment:

 You are on macOS 10.12 Sierra. As the error message says, python25 is not
 supported on OS X 10.10 Yosemite or later, so uninstall it:

 {{{
 sudo port uninstall python25
 }}}

 If you want to use python 2.x, use python27 instead (or python26, if you
 really want).

--
Ticket URL: <https://trac.macports.org/ticket/53957#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list