[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
Sun May 31 07:15:03 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
Resolution:               |   Keywords:  tahoe
      Port:  icu          |
--------------------------+--------------------

Comment (by mohd-akram):

 Replying to [comment:5 cooljeanius]:
 > What I want to know is, why is this particular python getting used in
 the first place?

 It uses the system python to avoid a circular dependency I imagine.

 The file has a bunch of null bytes as suspected (`hexdump -C subprocess.py
 | grep " 00"`). You can re-install the Xcode command line tools.

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


More information about the macports-tickets mailing list