[MacPorts] #74002: icu @78.3_1: fails to upgrade on x86_64 Tahoe with: configure: error: Python failed to run: ValueError: source code string cannot contain null bytes

MacPorts noreply at macports.org
Fri May 15 11:43:51 UTC 2026


#74002: icu @78.3_1: fails to upgrade on x86_64 Tahoe with: configure: error:
Python failed to run: ValueError: source code string cannot contain null
bytes
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.12.5
 Keywords:  tahoe        |       Port:  icu
-------------------------+--------------------
 Attempting to upgrade icu on x86_64 Tahoe results in the following error
 for me:
 {{{
 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
 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py",
 line 197, in _run_module_as_main
     return _run_code(code, main_globals, None,
   File
 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py",
 line 87, in _run_code
     exec(code, run_globals)
   File "/opt/local/var/macports/build/icu-
 52f0161a/work/icu/source/python/icutools/databuilder/__main__.py", line
 18, in <module>
     from .renderers import makefile, common_exec
   File "/opt/local/var/macports/build/icu-
 52f0161a/work/icu/source/python/icutools/databuilder/renderers/makefile.py",
 line 13, in <module>
     import platform
   File
 "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/platform.py",
 line 119, in <module>
     import subprocess
 ValueError: source code string cannot contain null bytes
 configure: error: Python failed to run; see above error.
 Command failed:  cd "/opt/local/var/macports/build/icu-
 52f0161a/work/icu/source" && ./configure --prefix=/opt/local --disable-
 layoutex --disable-samples --disable-rpath --enable-static
 Exit code: 1
 Error: Failed to configure icu: consult /opt/local/var/macports/build/icu-
 52f0161a/work/icu/source/config.log
 Error: Failed to configure icu: configure failure: command execution
 failed
 DEBUG: Error code: NONE
 DEBUG: Backtrace: configure failure: command execution failed
     while executing
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_icu/icu/main.log
 for details.
 }}}
 I'm on macOS 26.5 with Xcode 26.5.

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


More information about the macports-tickets mailing list