Opened 5 years ago

Closed 5 years ago

#59405 closed defect (duplicate)

icu 65: wrong python executable found by configure on Snow Leopard

Reported by: grumpybozo (Bill Cole) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: icu

Description

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.

Attachments (1)

main.log (36.1 KB) - added by grumpybozo (Bill Cole) 5 years ago.
main.log for icu build attempt

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by grumpybozo (Bill Cole)

Attachment: main.log added

main.log for icu build attempt

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.