[MacPorts] #39337: weechat @0.4.0 +python: build cannot find Python

MacPorts noreply at macports.org
Tue Jun 4 18:07:08 PDT 2013


#39337: weechat @0.4.0 +python: build cannot find Python
-------------------------+---------------------
  Reporter:  alastair@…  |      Owner:  nefar@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.3
Resolution:              |   Keywords:
      Port:  weechat     |
-------------------------+---------------------

Comment (by alastair@…):

 `port select python` returned the following:

 {{{
 Available versions for python:
         none (active)
         python25-apple
         python26-apple
         python27
         python27-apple
 }}}

 `sudo port select --set python python27` returned the following:

 {{{
 Selecting 'python27' for 'python' failed: symlink:
 /opt/local/etc/select/python/
 current -> python27: file already exists
 }}}

 I then ran `sudo rm /opt/local/etc/select/python/current`.

 At this point, `sudo port select --set python python27` succeeded with:

 {{{
 Selecting 'python27' for 'python' succeeded. 'python27' is now active.
 }}}

 However, the build continues to fail with:

 {{{
 Error: org.macports.build for port weechat returned: command execution
 failed
 }}}

 Python can still not be found (main2.log, lines 574-575, to be attached):

 {{{
 :info:build clang: error: no such file or directory:
 'Python.framework/Versions/2.7/Python'
 :info:build make[2]: *** [src/plugins/python/python.so] Error 1
 }}}

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


More information about the macports-tickets mailing list