[package - 134i386-default][databases/py-gdbm] Failed for py312-gdbm-3.12.10_9 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Apr 2025 17:10:31 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/beefy15/data/134i386-default/7a82a8f2ddcc/logs/py312-gdbm-3.12.10_9.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=134i386-default&build=7a82a8f2ddcc
Log:

=>> Building databases/py-gdbm
build started at Tue Apr 22 17:07:04 UTC 2025
port directory: /usr/ports/databases/py-gdbm
package name: py312-gdbm-3.12.10_9
building for: FreeBSD 134i386-default-job-01 13.4-RELEASE-p5 FreeBSD 13.4-RELEASE-p5 i386
maintained by: python@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  1424 Mar 13 01:02 /usr/ports/databases/py-gdbm/Makefile
Ports top last git commit: 7a82a8f2dd
Ports top unclean checkout: no
Port dir last git commit: 7a5f12ca6a
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-9-g05a460dc
Host OSVERSION: 1500035
Jail OSVERSION: 1304000
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1304000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.4-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.4-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-9-g05a460dc
MASTERMNT=/usr/local/poudriere/data/.m/134i386-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/134i386-default/01/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134i386-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/databases/py-gdbm/work-py312  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312/.cache  HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/py-gdbm/work-py312/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/py-gdbm/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/databases/py-gdbm/work-py312  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312/.cache  HOME=/wrkdirs/usr/ports/databases/py-gdbm/work-py312 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/py-gdbm/work-py312/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/py-gdbm/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=freebsd13  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=13.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gdbm"  EXAMPLESDIR="share/examples/gdbm"  DATADIR="share/gdbm"  WWWDIR="www/gdbm"  ETCDIR="etc/gdbm"
--End PLIST_SUB--

--SUB_LIST--
DISTVERSION=3.12.10 PYTHON_INCLUDEDIR=/usr/local/include/python3.12  PYTHON_LIBDIR=/usr/local/lib/python3.12  PYTHON_PLATFORM=freebsd13  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/gdbm DOCSDIR=/usr/local/share/doc/gdbm EXAMPLESDIR=/usr/local/share/examples/gdbm  WWWDIR=/usr/local/www/gdbm ETCDIR=/usr/local/etc/gdbm
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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
--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-gdbm-3.12.10_9 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.1.0.pkg
[134i386-default-job-01] Installing pkg-2.1.0...
[134i386-default-job-01] Extracting pkg-2.1.0: .......... done
===>   py312-gdbm-3.12.10_9 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py312-gdbm-3.12.10_9
===========================================================================
=======================<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-gdbm-3.12.10_9 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-gdbm-3.12.10_9 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-gdbm-3.12.10_9 for building
===>  Extracting for py312-gdbm-3.12.10_9
=> 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-gdbm-3.12.10_9
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py312-gdbm-3.12.10_9 depends on package: py312-setuptools>0 - not found
===>   Installing existing package /packages/All/py312-setuptools-63.1.0_3.pkg
[134i386-default-job-01] Installing py312-setuptools-63.1.0_3...
[134i386-default-job-01] `-- Installing python312-3.12.10...
[134i386-default-job-01] |   `-- Installing gettext-runtime-0.23.1...
[134i386-default-job-01] |   | `-- Installing indexinfo-0.3.1_1...
[134i386-default-job-01] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[134i386-default-job-01] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[134i386-default-job-01] |   `-- Installing libffi-3.4.7...
[134i386-default-job-01] |   `-- Extracting libffi-3.4.7: .......... done
[134i386-default-job-01] |   `-- Installing mpdecimal-4.0.0...
[134i386-default-job-01] |   `-- Extracting mpdecimal-4.0.0: .......... done
[134i386-default-job-01] |   `-- Installing readline-8.2.13_2...
[134i386-default-job-01] |   `-- Extracting readline-8.2.13_2: .......... done
[134i386-default-job-01] `-- Extracting python312-3.12.10: .......... done
[134i386-default-job-01] 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-gdbm-3.12.10_9 depends on package: py312-setuptools>0 - found
===>   Returning to build of py312-gdbm-3.12.10_9
===>   py312-gdbm-3.12.10_9 depends on package: py312-wheel>0 - not found
===>   Installing existing package /packages/All/py312-wheel-0.45.1.pkg
[134i386-default-job-01] Installing py312-wheel-0.45.1...
[134i386-default-job-01] Extracting py312-wheel-0.45.1: .......... done
===>   py312-gdbm-3.12.10_9 depends on package: py312-wheel>0 - found
===>   Returning to build of py312-gdbm-3.12.10_9
===>   py312-gdbm-3.12.10_9 depends on file: /usr/local/bin/python3.12 - found
===>   py312-gdbm-3.12.10_9 depends on package: py312-build>=0 - not found
===>   Installing existing package /packages/All/py312-build-1.2.2_2.pkg
[134i386-default-job-01] Installing py312-build-1.2.2_2...
[134i386-default-job-01] `-- Installing py312-packaging-24.2...
[134i386-default-job-01] `-- Extracting py312-packaging-24.2: .......... done
[134i386-default-job-01] `-- Installing py312-pyproject-hooks-1.2.0...
[134i386-default-job-01] `-- Extracting py312-pyproject-hooks-1.2.0: .......... done
[134i386-default-job-01] Extracting py312-build-1.2.2_2: .......... done
===>   py312-gdbm-3.12.10_9 depends on package: py312-build>=0 - found
===>   Returning to build of py312-gdbm-3.12.10_9
===>   py312-gdbm-3.12.10_9 depends on package: py312-installer>=0 - not found
===>   Installing existing package /packages/All/py312-installer-0.7.0.pkg
[134i386-default-job-01] Installing py312-installer-0.7.0...
[134i386-default-job-01] Extracting py312-installer-0.7.0: .......... done
===>   py312-gdbm-3.12.10_9 depends on package: py312-installer>=0 - found
===>   Returning to build of py312-gdbm-3.12.10_9
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py312-gdbm-3.12.10_9 depends on shared library: libgdbm.so - not found
===>   Installing existing package /packages/All/gdbm-1.24.pkg
[134i386-default-job-01] Installing gdbm-1.24...
[134i386-default-job-01] Extracting gdbm-1.24: .......... done
===>   py312-gdbm-3.12.10_9 depends on shared library: libgdbm.so - found (/usr/local/lib/libgdbm.so)
===>   Returning to build of py312-gdbm-3.12.10_9
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py312-gdbm-3.12.10_9
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py312-gdbm-3.12.10_9
* 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 gdbm.egg-info
writing gdbm.egg-info/PKG-INFO
writing dependency_links to gdbm.egg-info/dependency_links.txt
writing top-level names to gdbm.egg-info/top_level.txt
writing manifest file 'gdbm.egg-info/SOURCES.txt'
reading manifest file 'gdbm.egg-info/SOURCES.txt'
writing manifest file 'gdbm.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 '_gdbm' extension
creating build
creating build/temp.freebsd-13.4-RELEASE-p5-i386-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 -I/usr/local/include -I/usr/local/include/python3.12 -c _gdbmmodule.c -o build/temp.freebsd-13.4-RELEASE-p5-i386-cpython-312/_gdbmmodule.o
_gdbmmodule.c:13:10: fatal error: 'pycore_pyerrors.h' file not found
   13 | #include "pycore_pyerrors.h"        // _PyErr_SetLocaleString()
      |          ^~~~~~~~~~~~~~~~~~~
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/databases/py-gdbm