Opened 9 years ago

Closed 9 years ago

#49312 closed defect (invalid)

Problem Installing Python27 on El Capitan

Reported by: ruchi.gupta345@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: jyrkiwahlstedt, ryandesign (Ryan Carsten Schmidt)
Port: python27

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (1)

main.log (1.5 MB) - added by ruchi.gupta345@… 9 years ago.
Installation Log file

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by ruchi.gupta345@…

Attachment: main.log added

Installation Log file

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; openmaintainer@… removed
Description: modified (diff)
Keywords: elcapitan added; installation removed
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.