[MacPorts] #59405: icu 65: wrong python executable found by configure on Snow Leopard

MacPorts noreply at macports.org
Sun Oct 20 17:25:49 UTC 2019


#59405: icu 65: wrong python executable found by configure on Snow Leopard
------------------------+--------------------
 Reporter:  grumpybozo  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.1
 Keywords:              |       Port:  icu
------------------------+--------------------
 Upstream ticket: https://unicode-org.atlassian.net/browse/ICU-20874

 When running  "port -v build icu" the output includes:

 {{{
 checking for python3... /usr/bin/python

 }}}

 This is despite $PATH being set to find /opt/local/bin/python first and
 other detections of tools under /opt/local working correctly.  The effect
 is:

 {{{
 Spawning Python to generate data/rules.mk...
 /usr/bin/python: icutools.databuilder is a package and cannot be directly
 executed
 configure: error: Python failed to run; see above error.

 }}}
 Because /usr/bin/python is 2.6.1. /opt/local/bin/python is 3.7.4. If I
 make /usr/bin/python a symlink to /opt/local/bin/python, the configure and
 build works just fine, but that is not a viable permanent solution.

 Attaching mail.log.

-- 
Ticket URL: <https://trac.macports.org/ticket/59405>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list