[MacPorts] #48855: python27 fails at "staging python27 into destroy"
#48855: python27 fails at "staging python27 into destroy" ------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ------------------------+-------------------------------- sudo port install python27 ---> Computing dependencies for python27 ---> Staging python27 into destroot Error: Failed to destroot python27: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log for details. -- Ticket URL: <https://trac.macports.org/ticket/48855> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27 fails at "staging python27 into destroy" -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by l2ofl085@…): destroot* not destroy -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27 fails at "staging python27 into destroy" -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by macports@…): This is an incomplete logfile: {{{ :debug:main Skipping completed org.macports.fetch (python27) :debug:main Skipping completed org.macports.checksum (python27) :debug:main Skipping completed org.macports.extract (python27) :debug:main Skipping completed org.macports.patch (python27) :debug:main Skipping completed org.macports.configure (python27) :debug:main Skipping completed org.macports.build (python27) }}} Please run "sudo port clean python27", then try installing again. If it fails again, then attach the new log file. On a side note, I see you are running OS X 10.11. I am running the same version and am unable to reproduce this problem. Looking at the log file, it would seem that the SDK and developer tools you are using are mismatched. Could you provide the output of the following commands: {{{ xcode-select -p clang --version }}} -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27 fails at "staging python27 into destroy" -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by l2ofl085@…): Thanks for the quick reply I added the new log since it failed again and heres the output of the commands. {{{ l2ofls-Mac:~ l2ofl$ xcode-select -p /Applications/Xcode.app/Contents/Developer l2ofls-Mac:~ l2ofl$ clang --version Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin15.0.0 Thread model: posix l2ofls-Mac:~ l2ofl$ sudo port clean python27 }}} -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27 fails at "staging python27 into destroy" -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by macports@…): The problem is indeed caused by a mismatched SDK and compiler. MacPorts is building against the OS X 10.11 SDK, but your default developer tools are Xcode 6. You can either: - Install the [http://developer.apple.com/xcode/download/ Xcode 7.0 GM] and set it to be the default with `xcode-select -s /path/to/Xcode 7.app` Or: - Install the command-line developer tools package for your system with `xcode-select --install` and set it to be the default with `xcode-select -s /` -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27: NSEnumerator.h:7:15: error: expected ';' after @class -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: python27 | -------------------------+-------------------------------- Changes (by ryandesign@…): * port: => python27 Old description:
sudo port install python27 ---> Computing dependencies for python27 ---> Staging python27 into destroot Error: Failed to destroot python27: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log for details.
New description: {{{ sudo port install python27 ---> Computing dependencies for python27 ---> Staging python27 into destroot Error: Failed to destroot python27: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python27/python27/main.log for details. }}} -- Comment: Which version of Xcode is that? It looks like Xcode 6.4. OS X 10.11 El Capitan requires Xcode 7 or newer. Xcode 7's app name is just "Xcode.app" like previous versions, not "Xcode 7.app". -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27: NSEnumerator.h:7:15: error: expected ';' after @class -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: python27 | -------------------------+-------------------------------- Comment (by l2ofl085@…): Yup that was it, python is now installed properly the funny thing is I have xcode7 installed already but being the novice and derp that I am I never changed the path to it and it didn't replace 6 because it was saved as Xcode-beta. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27: NSEnumerator.h:7:15: error: expected ';' after @class -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: elcapitan Port: python27 | -------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * keywords: => elcapitan * resolution: => invalid Comment: Yes, you should not rename Xcode nor Xcode-beta. But you should use "xcode-select" to select whichever Xcode you want to use. -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48855: python27: NSEnumerator.h:7:15: error: expected ';' after @class -------------------------+-------------------------------- Reporter: l2ofl085@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: invalid | Keywords: elcapitan Port: python27 | -------------------------+-------------------------------- Comment (by ryandesign@…): Has duplicate #48908. -- Ticket URL: <https://trac.macports.org/ticket/48855#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts