[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
Thu May 28 20:22:29 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):

 Seems like something is wrong with
 `/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/subprocess.py`
 on your system. Check if it contains null bytes or is otherwise corrupt.
 Re-installing the Xcode command line tools will probably fix this.

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


More information about the macports-tickets mailing list