[MacPorts] #59466: ICU 65 build failure with python on Leopard

MacPorts noreply at macports.org
Thu Oct 24 06:43:11 UTC 2019


#59466: ICU 65 build failure with python on Leopard
----------------------+--------------------
 Reporter:  rmottola  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:
----------------------+--------------------
 recently, ICU 65 was made to depend on python 2.7 so that it builds (and
 it did work(. On a different machine I also run upgrade of ICU, python 2.7
 gets pulled in and is updated, but then build fails:


 {{{
 config.status: creating samples/Makefile
 config.status: creating samples/date/Makefile
 config.status: creating samples/cal/Makefile
 config.status: creating samples/layout/Makefile
 Not rebuilding data/rules.mk, assuming prebuilt data in data/in
 Spawning Python to generate test/testdata/rules.mk...
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
 line 163, in _run_module_as_main
     mod_name, _Error)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py",
 line 111, in _get_module_details
     __import__(mod_name)  # Do not catch exceptions initializing package
   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/work/icu/source-i386/python/icutools/databuilder/__init__.py",
 line 4, in <module>
     from collections import namedtuple
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/collections.py",
 line 20, in <module>
     from _collections import deque, defaultdict
 ImportError: No module named _collections
 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/source-i386"
 && ./runConfigureICU MacOSX --prefix=/opt/local --disable-layoutex
 --disable-samples --enable-static
 Exit code: 1
 }}}

 is this still an ICU problem or actually an issue with python 2.7

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


More information about the macports-tickets mailing list