[MacPorts] #74216: py314-tkinter 3.14.6_0 Failed to build - error: Tk 8.6 must be compiled with tcl.h from Tcl 8.6 or better
MacPorts
noreply at macports.org
Tue Jul 14 07:56:59 UTC 2026
#74216: py314-tkinter 3.14.6_0 Failed to build - error: Tk 8.6 must be compiled
with tcl.h from Tcl 8.6 or better
--------------------------+---------------------------
Reporter: FaradayLight | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.12.5
Keywords: Tk Python | Port: py314-tkinter
--------------------------+---------------------------
Attempted to manually install this port.
First, the following sequence is displayed:
{{{
---> Cleaning py314-tkinter
---> Scanning binaries for linking errors
---> Found 1 broken file, matching files to ports
---> Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: py314-tkinter @3.14.6
Continue? [Y/n]: Y
The following port will be upgraded: py314-tkinter
}}}
... which leads to this:
{{{
---> Rebuilding in order
py314-tkinter @3.14.6_0
The following port will be upgraded: py314-tkinter
---> Computing dependencies for py314-tkinter
---> Fetching distfiles for py314-tkinter
Attempting to fetch
https://distfiles.macports.org/python314/Python-3.14.6.tar.xz
---> Verifying checksums for py314-tkinter
---> Extracting py314-tkinter
---> Configuring py314-tkinter
---> Building py314-tkinter
Error: Failed to build py314-tkinter: command execution failed
}}}
There are some entries in the log, such as:
{{{
info:build
/opt/local/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14
/site-packages/coherent/licensed/setuptools.py:13: UserWarning: Avoid
installing this plugin for projects that don't depend on it
}}}
... and:
{{{
info:build ERROR listing git files failed -
pretending there aren't any
}}}
Similar problems are apparent in py310-tkinter.
The installed versions of Tcl are:
{{{
tcl @8.6.17_0+corefoundation+threads
tcl8 @8.6.18_0+corefoundation+threads (active)
}}}
Environment:
{{{
MacPortsVersion: 2.12.5
XcodeVersion: 26.6
XcodeBuild: 17F113
XcodeSDKVersion: 26.5
XcodeCLTVersion: 26.6.0.0.1781586589
XcodePlatformVersion: 26.5
ProductName: macOS
ProductVersion: 26.5.2
BuildVersion: 25F84
PlatformArchitecture: arm64e
}}}
Log attached.
--
Ticket URL: <https://trac.macports.org/ticket/74216>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list