#59398 closed defect (fixed)
ICU 65 fails to build on 10.6
Reported by: | rmottola (Riccardo) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | icu |
Description
The error happes right during the configure run:
config.status: creating samples/date/Makefile config.status: creating samples/cal/Makefile config.status: creating samples/layout/Makefile 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. ./runConfigureICU: ./configure failed Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu-release-65-1/icu4c/source-x86_64" && ./runConfigureICU MacOSX --prefix=/opt/local --disable-layoutex --disable-samples --enable-static Exit code: 1
Attachments (1)
Change History (9)
Changed 5 years ago by rmottola (Riccardo)
Attachment: | config.log added |
---|
comment:3 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
comment:4 Changed 5 years ago by kencu (Ken)
in the Portfile, you will find this line:
configure.python /usr/bin/python
I changed that to
configure.python ${prefix}/bin/python2.7
and that seems to work. Edit: well, to be clear, I have python27
installed.
I don't know yet about how that might impact bootstrapping, but icu
is building happily away on Tiger PPC.
I can see a time where we will have no choice but to provide some pre-built packages to bootstrap these older systems, if that is acceptable to the admins...
comment:5 Changed 5 years ago by rmottola (Riccardo)
I have python27 installed, however, during the upgrade python27, python36, python37 all would trigger an ICU upgrade. I will try the trick, but I fear that this could cause a cyclical dependency.
comment:6 Changed 5 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:7 Changed 5 years ago by rmottola (Riccardo)
I confirm that the fix proposed by kencu worked - I upgraded ICU. About circular dependencies I don't know.
Attention that ICU upgrade calls alot of fallout: it breaks libxml2 and with that it breaks all clang versions after 5.0 and many more packages, causing a big issue, since even rev-dep detects only some and would always use latest (broken) clang versions to rebuild, since revdep does not accept/respect configure.compiler.
I uninstalled (deactivating is also enough.. but thought about it only at the second step) gradually clang 9, clang 8.... until clang 6. With clang 5 revdep was able to rebuild all dependencies, then i activated/installed newer clang versions again.
comment:8 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
This ticket is closed. If there are other issues (you mentioned a libxml2 issue that I'm not aware of), please open new tickets.
do you have any python versions installed? If not, try installing one a building again.
If that works, we'll specify a newer python in the portfile.