[package - 135i386-default][security/py-m2crypto] Failed for py311-m2crypto-0.47.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 10 Mar 2026 19:04:47 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:     sunpoet@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/135i386-default/7db22f508e75/logs/py311-m2crypto-0.47.0.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=135i386-default&build=7db22f508e75
Log:

=>> Building security/py-m2crypto
build started at Tue Mar 10 19:04:37 UTC 2026
port directory: /usr/ports/security/py-m2crypto
package name: py311-m2crypto-0.47.0
building for: FreeBSD 135i386-default-job-02 13.5-RELEASE-p10 FreeBSD 13.5-RELEASE-p10 i386
maintained by: sunpoet@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  833 Mar 10 01:04 /usr/ports/security/py-m2crypto/Makefile
Ports top last git commit: 7db22f508e754c67b1cf1932bc77a708dce453d4
Ports top unclean checkout: no
Port dir last git commit: fcc92a7f59540baae775bf35069a63ab787b4151
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.6
Host OSVERSION: 1600007
Jail OSVERSION: 1305000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1305000
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.5-RELEASE-p10
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.5-RELEASE-p10
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.6
MASTERMNT=/usr/local/poudriere/data/.m/135i386-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/135i386-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=135i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/135i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.6
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

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

--MAINTAINER--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.cache  HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.cache  HOME=/wrkdirs/usr/ports/security/py-m2crypto/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/py-m2crypto/work-py311/.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="  " 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.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/py311-m2crypto"  EXAMPLESDIR="share/examples/py311-m2crypto"  DATADIR="share/py311-m2crypto"  WWWDIR="www/py311-m2crypto"  ETCDIR="etc/py311-m2crypto"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_BASESUFFIX=311  PYTHON_TAG=.cpython-311  PYTHON_SOABI=.cpython-311  PYTHON_VER=3.11  PYTHON_BASEVER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/py311-m2crypto DOCSDIR=/usr/local/share/doc/py311-m2crypto EXAMPLESDIR=/usr/local/share/examples/py311-m2crypto  WWWDIR=/usr/local/www/py311-m2crypto ETCDIR=/usr/local/etc/py311-m2crypto
--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 BSD2CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-m2crypto-0.47.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.6.2.pkg
[135i386-default-job-02] Installing pkg-2.6.2...
[135i386-default-job-02] Extracting pkg-2.6.2: .......... done
===>   py311-m2crypto-0.47.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-m2crypto-0.47.0
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
=> m2crypto-0.47.0.tar.gz doesn't seem to exist in /portdistfiles.
=> Attempting to fetch https://files.pythonhosted.org/packages/source/m/m2crypto/m2crypto-0.47.0.tar.gz
m2crypto-0.47.0.tar.gz                                 647 kB   16 MBps    00s
===> Fetching all distfiles required by py311-m2crypto-0.47.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: FETCH_REGET=0 NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-m2crypto-0.47.0 for building
=> SHA256 Checksum OK for m2crypto-0.47.0.tar.gz.
===========================================================================
=======================<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 BSD2CLAUSE accepted by the user
===> Fetching all distfiles required by py311-m2crypto-0.47.0 for building
===>  Extracting for py311-m2crypto-0.47.0
=> SHA256 Checksum OK for m2crypto-0.47.0.tar.gz.
===========================================================================
=======================<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 py311-m2crypto-0.47.0
===>  Applying FreeBSD patches for py311-m2crypto-0.47.0 from /usr/ports/security/py-m2crypto/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-m2crypto-0.47.0 depends on package: py311-setuptools>=61.0.0 - not found
===>   Installing existing package /packages/All/py311-setuptools-63.1.0_3.pkg
[135i386-default-job-02] Installing py311-setuptools-63.1.0_3...
[135i386-default-job-02] `-- Installing python311-3.11.15...
[135i386-default-job-02] |   `-- Installing gettext-runtime-0.26...
[135i386-default-job-02] |   | `-- Installing indexinfo-0.3.1_1...
[135i386-default-job-02] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[135i386-default-job-02] |   `-- Extracting gettext-runtime-0.26: .......... done
[135i386-default-job-02] |   `-- Installing libffi-3.5.1...
[135i386-default-job-02] |   `-- Extracting libffi-3.5.1: .......... done
[135i386-default-job-02] |   `-- Installing mpdecimal-4.0.1...
[135i386-default-job-02] |   `-- Extracting mpdecimal-4.0.1: .......... done
[135i386-default-job-02] |   `-- Installing readline-8.3.3...
[135i386-default-job-02] |   `-- Extracting readline-8.3.3: .......... done
[135i386-default-job-02] `-- Extracting python311-3.11.15: .......... done
[135i386-default-job-02] Extracting py311-setuptools-63.1.0_3: .......... done
=====
Message from python311-3.11.15:

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

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   py311-m2crypto-0.47.0 depends on package: py311-setuptools>=61.0.0 - found
===>   Returning to build of py311-m2crypto-0.47.0
===>   py311-m2crypto-0.47.0 depends on package: py311-wheel>=0 - not found
===>   Installing existing package /packages/All/py311-wheel-0.46.3_1.pkg
[135i386-default-job-02] Installing py311-wheel-0.46.3_1...
[135i386-default-job-02] `-- Installing py311-packaging-26.0...
[135i386-default-job-02] `-- Extracting py311-packaging-26.0: .......... done
[135i386-default-job-02] Extracting py311-wheel-0.46.3_1: .......... done
===>   py311-m2crypto-0.47.0 depends on package: py311-wheel>=0 - found
===>   Returning to build of py311-m2crypto-0.47.0
===>   py311-m2crypto-0.47.0 depends on package: swig>=4.0 - not found
===>   Installing existing package /packages/All/swig-4.4.1.pkg
[135i386-default-job-02] Installing swig-4.4.1...
[135i386-default-job-02] `-- Installing pcre2-10.47_1...
[135i386-default-job-02] `-- Extracting pcre2-10.47_1: .......... done
[135i386-default-job-02] Extracting swig-4.4.1: .......... done
===>   py311-m2crypto-0.47.0 depends on package: swig>=4.0 - found
===>   Returning to build of py311-m2crypto-0.47.0
===>   py311-m2crypto-0.47.0 depends on file: /usr/local/bin/python3.11 - found
===>   py311-m2crypto-0.47.0 depends on package: py311-build>=0 - not found
===>   Installing existing package /packages/All/py311-build-1.4.0.pkg
[135i386-default-job-02] Installing py311-build-1.4.0...
[135i386-default-job-02] `-- Installing py311-pyproject-hooks-1.2.0...
[135i386-default-job-02] `-- Extracting py311-pyproject-hooks-1.2.0: .......... done
[135i386-default-job-02] Extracting py311-build-1.4.0: .......... done
===>   py311-m2crypto-0.47.0 depends on package: py311-build>=0 - found
===>   Returning to build of py311-m2crypto-0.47.0
===>   py311-m2crypto-0.47.0 depends on package: py311-installer>=0 - not found
===>   Installing existing package /packages/All/py311-installer-0.7.0.pkg
[135i386-default-job-02] Installing py311-installer-0.7.0...
[135i386-default-job-02] Extracting py311-installer-0.7.0: .......... done
===>   py311-m2crypto-0.47.0 depends on package: py311-installer>=0 - found
===>   Returning to build of py311-m2crypto-0.47.0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for py311-m2crypto-0.47.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-m2crypto-0.47.0
* Getting build dependencies for wheel...
/usr/local/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
running egg_info
creating src/m2crypto.egg-info
writing src/m2crypto.egg-info/PKG-INFO
writing dependency_links to src/m2crypto.egg-info/dependency_links.txt
writing requirements to src/m2crypto.egg-info/requires.txt
writing top-level names to src/m2crypto.egg-info/top_level.txt
writing manifest file 'src/m2crypto.egg-info/SOURCES.txt'
reading manifest file 'src/m2crypto.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt' under directory 'tests'
warning: no previously-included files matching '*' found under directory '.keys'
adding license file 'LICENSES/BSD-2-Clause.txt'
writing manifest file 'src/m2crypto.egg-info/SOURCES.txt'
* Building wheel...
/usr/local/lib/python3.11/site-packages/setuptools/config/setupcfg.py:463: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
  warnings.warn(msg, warning_class)
/usr/local/lib/python3.11/site-packages/wheel/bdist_wheel.py:4: FutureWarning: The 'wheel' package is no longer the canonical location of the 'bdist_wheel' command, and will be removed in a future release. Please update to setuptools v70.1 or later which contains an integrated version of this command.
  warn(
running bdist_wheel
running build
running build_py
copying src/M2Crypto/Engine.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/types.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/Rand.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/EC.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/RSA.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/__init__.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/ftpslib.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/callback.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/ASN1.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/DH.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/RC4.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/m2.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/Err.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/m2xmlrpclib.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/DSA.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/util.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/m2urllib.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/Provider.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/X509.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/AuthCookie.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/m2crypto.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/EVP.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/threading.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/httpslib.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/BIO.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/SMIME.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/BN.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/m2urllib2.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
creating build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/SSLError.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/Checker.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/cb.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/__init__.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/Session.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/Cipher.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/SSLServer.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/timeout.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/Connection.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
copying src/M2Crypto/SSL/Context.py -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto/SSL
running egg_info
writing src/m2crypto.egg-info/PKG-INFO
writing dependency_links to src/m2crypto.egg-info/dependency_links.txt
writing requirements to src/m2crypto.egg-info/requires.txt
writing top-level names to src/m2crypto.egg-info/top_level.txt
reading manifest file 'src/m2crypto.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.txt' under directory 'tests'
warning: no previously-included files matching '*' found under directory '.keys'
adding license file 'LICENSES/BSD-2-Clause.txt'
writing manifest file 'src/m2crypto.egg-info/SOURCES.txt'
copying src/M2Crypto/_m2crypto.pyi -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
copying src/M2Crypto/py.typed -> build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto
running build_ext
building 'M2Crypto._m2crypto' extension
swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c
swig -python -Isystem_shadowing -I/usr/local/include/python3.11 -I/usr/lib/clang/19/include -I/usr/include -I/usr/include/openssl -builtin -outdir build/lib.freebsd-13.5-RELEASE-p10-i386-cpython-311/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i
creating build/temp.freebsd-13.5-RELEASE-p10-i386-cpython-311
creating build/temp.freebsd-13.5-RELEASE-p10-i386-cpython-311/src
creating build/temp.freebsd-13.5-RELEASE-p10-i386-cpython-311/src/SWIG
cc -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/python3.11 -I/wrkdirs/usr/ports/security/py-m2crypto/work-py311/m2crypto-0.47.0/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.freebsd-13.5-RELEASE-p10-i386-cpython-311/src/SWIG/_m2crypto_wrap.o -DTHREADING -Wno-deprecated-declarations
src/SWIG/_m2crypto_wrap.c:694:37: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
  694 |     for (cast = head; (cast - head) <= head->value; cast++) {
      |                        ~~~~~~~~~~~  ^  ~~~~~~~~~~~
src/SWIG/_m2crypto_wrap.c:10011:37: error: incompatible function pointer types passing 'X509 *(X509 *)' (aka 'struct x509_st *(struct x509_st *)') to parameter of type 'sk_X509_copyfunc' (aka 'struct x509_st *(*)(const struct x509_st *)') [-Wincompatible-function-pointer-types]
 10011 |     return sk_X509_deep_copy(certs, X509_dup, X509_free);
       |                                     ^~~~~~~~
/usr/include/openssl/x509.h:99:1: note: passing argument to parameter 'copyfunc' here
   99 | DEFINE_STACK_OF(X509)
      | ^
/usr/include/openssl/safestack.h:130:29: note: expanded from macro 'DEFINE_STACK_OF'
  130 | # define DEFINE_STACK_OF(t) SKM_DEFINE_STACK_OF(t, t, t)
      |                             ^
/usr/include/openssl/safestack.h:117:72: note: expanded from macro 'SKM_DEFINE_STACK_OF'
  117 |                                                     sk_##t1##_copyfunc copyfunc, \
      |                                                                        ^
src/SWIG/_m2crypto_wrap.c:10540:10: fatal error: 'openssl/provider.h' file not found
 10540 | #include <openssl/provider.h>
       |          ^~~~~~~~~~~~~~~~~~~~
1 warning and 2 errors 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/security/py-m2crypto