[MacPorts] #49718: El Capitan won't install python27
#49718: El Capitan won't install python27 -----------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: python | Port: python27 -----------------------+-------------------------------- I followed the updating instructions on this page: https://trac.macports.org/wiki/Migration But several reinstallations are failing due to python27, which won't install. I've done a clean of python27, and then rerun sudo port install python27 But no joy. I have attached the log. -- Ticket URL: <https://trac.macports.org/ticket/49718> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python27 | ------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: python => Old description:
I followed the updating instructions on this page: https://trac.macports.org/wiki/Migration
But several reinstallations are failing due to python27, which won't install.
I've done a clean of python27, and then rerun sudo port install python27
But no joy.
I have attached the log.
New description: I followed the updating instructions on this page: wiki:Migration But several reinstallations are failing due to python27, which won't install. I've done a clean of python27, and then rerun {{{ sudo port install python27 }}} But no joy. I have attached the log. -- Comment: The log says: {{{ sh: --: No such file or directory }}} That's fairly bizarre. Your log is not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt], so as a first step, please "sudo port clean python27" and then try again, and attach the new main.log if it fails again. -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python27 | ------------------------+-------------------------------- Comment (by malcolm@…): Replying to [comment:1 ryandesign@…]:
The log says:
{{{ sh: --: No such file or directory }}}
That's fairly bizarre.
Your log is not from a [https://guide.macports.org/chunked/project.html#project.tickets clean build attempt], so as a first step, please "sudo port clean python27" and then try again, and attach the new main.log if it fails again.
Thanks. Ok, here's the result: Malcolm-MacBookPro-2013:~ malcolm$ sudo port clean python27 Password: ---> Cleaning python27 Malcolm-MacBookPro-2013:~ malcolm$ sudo port install python27 ---> Computing dependencies for python27 Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers> ---> Fetching distfiles for python27 ---> Verifying checksums for python27 ---> Extracting python27 ---> Applying patches to python27 ---> Configuring python27 Error: org.macports.configure for port python27 returned: configure failure: 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_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 -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python27 | ------------------------+-------------------------------- Comment (by malcolm@…): I've also changed my DNS to Google 8.8.8.8, seeing as there was once the message about MisbehavingServers. Then I did a clean and tried again to install python27, but unfortunately this produced exactly the same log as before. For what it's worth: '''which sh''' produces '''/bin/sh''', it's there of course and the ''No such file or directory'' is pretty mysterious -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python27 | ------------------------+-------------------------------- Comment (by ryandesign@…): It's not saying the file `sh` doesn't exist; it's saying the program `sh` has determined that the file `--` does not exist. I see the problem now: Your log shows the following configure argument is being used: `--enable-framework=<-->/opt/local/Library/Frameworks` What is the value of frameworks_dir in your macports.conf file? -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: python27 | ------------------------+-------------------------------- Comment (by malcolm@…): You spotted it! That was it! What was presumably once a hidden tab, somehow turned itself into code. I just removed the '''<-->''' and it now all works. Thanks so much. The sun has suddenly come out and driven those storm clouds away... And I have just seen the magical words ---> Cleaning python27 ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49718: python27: sh: --: No such file or directory ------------------------+-------------------------------- Reporter: malcolm@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: invalid | Keywords: Port: python27 | ------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: I'm glad that was it! -- Ticket URL: <https://trac.macports.org/ticket/49718#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts