New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #19488 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

python_select creates wrong links in /opt/local/Library/Frameworks/Python.framework/

Reported by: pveglia@… Owned by: raimue@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: jmr@…, blb@…, mcalhoun@…
Port: python{24,25,26,30,31}


It seems that python_select creates wrong link in the framework installation of python{25,26,30}.

In particular, it creates links pointing to not-existing paths.

I think the problem is here: /opt/local/etc/select/python/python{25,26,30}

i'm reporting the contents of python30:

/opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0 /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Headers /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Resources /opt/local/Library/Frameworks/Library/Frameworks/Python.framework/Versions/3.0/Python

It is easy to see that the correct paths should be instead: /opt/local/Library/Frameworks/Python.framework/Versions/3.0 /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Headers /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Resources /opt/local/Library/Frameworks/Python.framework/Versions/3.0/Python

without the repetition of /Library/Frameworks.

This correction also resolves issues with the impossibility to link against macports' python installation

Change History

comment:1 Changed 7 years ago by macsforever2000@…

  • Owner changed from macports-tickets@… to raimue@…
  • Keywords python_select removed
  • Port set to python_select

comment:2 Changed 7 years ago by jmr@…

  • Status changed from new to closed
  • Cc jmr@…, blb@…, mcalhoun@… added
  • Resolution set to fixed
  • Port changed from python_select to python{24,25,26,30,31}

Actually a problem with the select files provided by each python port. Fixed in r50424.

Note: See TracTickets for help on using tickets.