[MacPorts] #49312: Problem Installing Python27 on El Capitan

MacPorts noreply at macports.org
Fri Oct 16 11:59:06 PDT 2015


#49312: Problem Installing Python27 on El Capitan
-------------------------------+--------------------------------
  Reporter:  ruchi.gupta345@…  |      Owner:  macports-tickets@…
      Type:  defect            |     Status:  closed
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.3.4
Resolution:  invalid           |   Keywords:  elcapitan
      Port:  python27          |
-------------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: openmaintainer@… (removed)
 * cc: ryandesign@… (added)
 * keywords:  installation => elcapitan
 * status:  new => closed
 * resolution:   => invalid


Old description:

> Dear Experts,
>
> I need to install python27. I am using 'sudo post install python27' (I
> also did 'sudo port clean python27').
> I am getting following error.
> Error: org.macports.destroot for port python27 returned: command
> execution failed
> Please see the log file for port python27 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port python27 failed
>
> Please find main.log in the attachment.
> Please help me sort this out.

New description:

 Dear Experts,

 I need to install python27. I am using 'sudo post install python27' (I
 also did 'sudo port clean python27').
 I am getting following error.
 {{{
 Error: org.macports.destroot for port python27 returned: command execution
 failed
 Please see the log file for port python27 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port python27 failed
 }}}

 Please find main.log in the attachment.
 Please help me sort this out.

--

Comment:

 The log shows many compilation errors starting with:

 {{{
 :info:destroot
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:19:21:
 error: expected a type
 :info:destroot - (id)copyWithZone:(nullable NSZone *)zone;
 :info:destroot                     ^
 :info:destroot
 /System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:25:28:
 error: expected a type
 :info:destroot - (id)mutableCopyWithZone:(nullable NSZone *)zone;
 :info:destroot                            ^
 }}}

 It also shows that your clang version is 600.0.57. According to
 XcodeVersionInfo, that's from Xcode 6.2. That's too old to be compatible
 with El Capitan. You need to upgrade to Xcode 7 or later. If you've
 upgraded to El Capitan from a previous OS X version, make sure you've
 followed all the steps in wiki:Migration. Upgrading Xcode is step 1.

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


More information about the macports-tickets mailing list