[package - 142amd64-default][x11-toolkits/py-tkinter] Failed for py312-tkinter-3.12.10_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 14 Apr 2025 00:19:09 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     python@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy22/data/142amd64-default/0aaaecafbdaf/logs/py312-tkinter-3.12.10_10.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=142amd64-default&build=0aaaecafbdaf
Log:

=>> Building x11-toolkits/py-tkinter
build started at Mon Apr 14 00:16:15 UTC 2025
port directory: /usr/ports/x11-toolkits/py-tkinter
package name: py312-tkinter-3.12.10_10
building for: FreeBSD 142amd64-default-job-32 14.2-RELEASE-p3 FreeBSD 14.2-RELEASE-p3 amd64
maintained by: python@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1440 Mar 13 01:01 /usr/ports/x11-toolkits/py-tkinter/Makefile
Ports top last git commit: 0aaaecafbd
Ports top unclean checkout: no
Port dir last git commit: b4529dc744
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-9-g05a460dc
Host OSVERSION: 1500035
Jail OSVERSION: 1402000
Job Id: 32

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1402000
UNAME_v=FreeBSD 14.2-RELEASE-p3
UNAME_r=14.2-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-9-g05a460dc
MASTERMNT=/usr/local/poudriere/data/.m/142amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/142amd64-default/32/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=142amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/142amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-9-g05a460dc
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py312
MAKE_ARGS= FLAVOR=py312
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
python@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.12" XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/py-tkinter/work-py312/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -
m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.12  PYTHON_LIBDIR=lib/python3.12  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.12/site-packages  PYTHON_SUFFIX=312  PYTHON_EXT_SUFFIX=.cpython-312  PYTHON_VER=3.12  PYTHON_VERSION=python3.12 PYTHON2="@comment " PYTHON3="" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tkinter"  EXAMPLESDIR="share/examples/tkinter"  DATADIR="share/tkinter"  WWWDIR="www/tkinter"  ETCDIR="etc/tkinter"
--End PLIST_SUB--

--SUB_LIST--
DISTVERSION=3.12.10  TK_VER=8.6 PYTHON_INCLUDEDIR=/usr/local/include/python3.12  PYTHON_LIBDIR=/usr/local/lib/python3.12  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.12/site-packages  PYTHON_SUFFIX=312  PYTHON_EXT_SUFFIX=.cpython-312  PYTHON_VER=3.12  PYTHON_VERSION=python3.12 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/tkinter DOCSDIR=/usr/local/share/doc/tkinter EXAMPLESDIR=/usr/local/share/examples/tkinter  WWWDIR=/usr/local/www/tkinter ETCDIR=/usr/local/etc/tkinter
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
####  ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  8192
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
pipebuf                         (-y)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PSFL accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py312-tkinter-3.12.10_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.1.0.pkg
[142amd64-default-job-32] Installing pkg-2.1.0...
[142amd64-default-job-32] Extracting pkg-2.1.0: .......... done
===>   py312-tkinter-3.12.10_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py312-tkinter-3.12.10_10
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py312-tkinter-3.12.10_10 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py312-tkinter-3.12.10_10 for building
=> SHA256 Checksum OK for python/Python-3.12.10.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License PSFL accepted by the user
===> Fetching all distfiles required by py312-tkinter-3.12.10_10 for building
===>  Extracting for py312-tkinter-3.12.10_10
=> SHA256 Checksum OK for python/Python-3.12.10.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for py312-tkinter-3.12.10_10
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py312-tkinter-3.12.10_10 depends on package: py312-setuptools>0 - not found
===>   Installing existing package /packages/All/py312-setuptools-63.1.0_3.pkg
[142amd64-default-job-32] Installing py312-setuptools-63.1.0_3...
[142amd64-default-job-32] `-- Installing python312-3.12.10...
[142amd64-default-job-32] |   `-- Installing gettext-runtime-0.23.1...
[142amd64-default-job-32] |   | `-- Installing indexinfo-0.3.1_1...
[142amd64-default-job-32] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[142amd64-default-job-32] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[142amd64-default-job-32] |   `-- Installing libffi-3.4.7...
[142amd64-default-job-32] |   `-- Extracting libffi-3.4.7: .......... done
[142amd64-default-job-32] |   `-- Installing mpdecimal-4.0.0...
[142amd64-default-job-32] |   `-- Extracting mpdecimal-4.0.0: .......... done
[142amd64-default-job-32] |   `-- Installing readline-8.2.13_2...
[142amd64-default-job-32] |   `-- Extracting readline-8.2.13_2: .......... done
[142amd64-default-job-32] `-- Extracting python312-3.12.10: .......... done
[142amd64-default-job-32] Extracting py312-setuptools-63.1.0_3: .......... done
=====
Message from python312-3.12.10:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py312-gdbm       databases/py-gdbm@py312
py312-sqlite3    databases/py-sqlite3@py312
py312-tkinter    x11-toolkits/py-tkinter@py312
===>   py312-tkinter-3.12.10_10 depends on package: py312-setuptools>0 - found
===>   Returning to build of py312-tkinter-3.12.10_10
===>   py312-tkinter-3.12.10_10 depends on package: py312-wheel>0 - not found
===>   Installing existing package /packages/All/py312-wheel-0.45.1.pkg
[142amd64-default-job-32] Installing py312-wheel-0.45.1...
[142amd64-default-job-32] Extracting py312-wheel-0.45.1: .......... done
===>   py312-tkinter-3.12.10_10 depends on package: py312-wheel>0 - found
===>   Returning to build of py312-tkinter-3.12.10_10
===>   py312-tkinter-3.12.10_10 depends on file: /usr/local/bin/python3.12 - found
===>   py312-tkinter-3.12.10_10 depends on package: py312-build>=0 - not found
===>   Installing existing package /packages/All/py312-build-1.2.2_2.pkg
[142amd64-default-job-32] Installing py312-build-1.2.2_2...
[142amd64-default-job-32] `-- Installing py312-packaging-24.2...
[142amd64-default-job-32] `-- Extracting py312-packaging-24.2: .......... done
[142amd64-default-job-32] `-- Installing py312-pyproject-hooks-1.2.0...
[142amd64-default-job-32] `-- Extracting py312-pyproject-hooks-1.2.0: .......... done
[142amd64-default-job-32] Extracting py312-build-1.2.2_2: .......... done
===>   py312-tkinter-3.12.10_10 depends on package: py312-build>=0 - found
===>   Returning to build of py312-tkinter-3.12.10_10
===>   py312-tkinter-3.12.10_10 depends on package: py312-installer>=0 - not found
===>   Installing existing package /packages/All/py312-installer-0.7.0.pkg
[142amd64-default-job-32] Installing py312-installer-0.7.0...
[142amd64-default-job-32] Extracting py312-installer-0.7.0: .......... done
===>   py312-tkinter-3.12.10_10 depends on package: py312-installer>=0 - found
===>   Returning to build of py312-tkinter-3.12.10_10
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py312-tkinter-3.12.10_10 depends on shared library: libtk86.so - not found
===>   Installing existing package /packages/All/tk86-8.6.16.pkg
[142amd64-default-job-32] Installing tk86-8.6.16...
[142amd64-default-job-32] `-- Installing fontconfig-2.15.0_3,1...
[142amd64-default-job-32] |   `-- Installing expat-2.7.1...
[142amd64-default-job-32] |   `-- Extracting expat-2.7.1: .......... done
[142amd64-default-job-32] |   `-- Installing freetype2-2.13.3...
[142amd64-default-job-32] |   | `-- Installing brotli-1.1.0,1...
[142amd64-default-job-32] |   | `-- Extracting brotli-1.1.0,1: .......... done
[142amd64-default-job-32] |   | `-- Installing png-1.6.47...
[142amd64-default-job-32] |   | `-- Extracting png-1.6.47: .......... done
[142amd64-default-job-32] |   `-- Extracting freetype2-2.13.3: .......... done
[142amd64-default-job-32] `-- Extracting fontconfig-2.15.0_3,1: .......... done
[142amd64-default-job-32] `-- Installing libX11-1.8.12,1...
[142amd64-default-job-32] |   `-- Installing libxcb-1.17.0...
[142amd64-default-job-32] |   | `-- Installing libXau-1.0.11...
[142amd64-default-job-32] |   | `-- Extracting libXau-1.0.11: .......... done
[142amd64-default-job-32] |   | `-- Installing libXdmcp-1.1.5...
[142amd64-default-job-32] |   |   `-- Installing xorgproto-2024.1...
[142amd64-default-job-32] |   |   `-- Extracting xorgproto-2024.1: .......... done
[142amd64-default-job-32] |   | `-- Extracting libXdmcp-1.1.5: ......... done
[142amd64-default-job-32] |   `-- Extracting libxcb-1.17.0: .......... done
[142amd64-default-job-32] `-- Extracting libX11-1.8.12,1: .......... done
[142amd64-default-job-32] `-- Installing libXScrnSaver-1.2.4_1...
[142amd64-default-job-32] |   `-- Installing libXext-1.3.6,1...
[142amd64-default-job-32] |   `-- Extracting libXext-1.3.6,1: .......... done
[142amd64-default-job-32] `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[142amd64-default-job-32] `-- Installing libXft-2.3.8...
[142amd64-default-job-32] |   `-- Installing libXrender-0.9.12...
[142amd64-default-job-32] |   `-- Extracting libXrender-0.9.12: .......... done
[142amd64-default-job-32] `-- Extracting libXft-2.3.8: .......... done
[142amd64-default-job-32] `-- Installing tcl86-8.6.16_2...
[142amd64-default-job-32] `-- Extracting tcl86-8.6.16_2: .......... done
[142amd64-default-job-32] Extracting tk86-8.6.16: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
=====
Message from freetype2-2.13.3:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
===>   py312-tkinter-3.12.10_10 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so)
===>   Returning to build of py312-tkinter-3.12.10_10
===>   py312-tkinter-3.12.10_10 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py312-tkinter-3.12.10_10
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py312-tkinter-3.12.10_10
* Getting build dependencies for wheel...
/usr/local/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running egg_info
creating tkinter.egg-info
writing tkinter.egg-info/PKG-INFO
writing dependency_links to tkinter.egg-info/dependency_links.txt
writing top-level names to tkinter.egg-info/top_level.txt
writing manifest file 'tkinter.egg-info/SOURCES.txt'
reading manifest file 'tkinter.egg-info/SOURCES.txt'
writing manifest file 'tkinter.egg-info/SOURCES.txt'
* Building wheel...
/usr/local/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
running bdist_wheel
running build
running build_ext
building '_tkinter' extension
creating build
creating build/temp.freebsd-14.2-RELEASE-p3-amd64-cpython-312
cc -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DWITH_APPINIT=1 -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/include -I/usr/local/include/python3.12 -c _tkinter.c -o build/temp.freebsd-14.2-RELEASE-p3-amd64-cpython-312/_tkinter.o
_tkinter.c:35:10: fatal error: 'pycore_long.h' file not found
   35 | #include "pycore_long.h"
      |          ^~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/cc' failed with exit code 1

ERROR Backend subprocess exited when trying to invoke build_wheel
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-toolkits/py-tkinter