[package - 142amd64-default][devel/py-pytest-pycodestyle] Failed for py311-pytest-pycodestyle-2.5.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 24 Jul 2025 03:13:02 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:     yuri@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy22/data/142amd64-default/0cd2c078c1e4/logs/py311-pytest-pycodestyle-2.5.0.log
Build URL:      https://pkg-status.freebsd.org/beefy22/build.html?mastername=142amd64-default&build=0cd2c078c1e4
Log:

=>> Building devel/py-pytest-pycodestyle
build started at Thu Jul 24 03:12:34 UTC 2025
port directory: /usr/ports/devel/py-pytest-pycodestyle
package name: py311-pytest-pycodestyle-2.5.0
building for: FreeBSD 142amd64-default-job-14 14.2-RELEASE-p4 FreeBSD 14.2-RELEASE-p4 amd64
maintained by: yuri@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 851 Jul 22 01:01 /usr/ports/devel/py-pytest-pycodestyle/Makefile
Ports top last git commit: 0cd2c078c1
Ports top unclean checkout: no
Port dir last git commit: 3954c39a81
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500052
Jail OSVERSION: 1402000
Job Id: 14

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1402000
UNAME_v=FreeBSD 14.2-RELEASE-p4
UNAME_r=14.2-RELEASE-p4
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-12-g74a54a88
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/14/.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-12-g74a54a88
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--
yuri@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311/.cache  HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311/.cache  HOME=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/work-py311/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/py-pytest-pycodestyle/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=freebsd14  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=14.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pytest-pycodestyle"  EXAMPLESDIR="share/examples/pytest-pycodestyle"  DATADIR="share/pytest-pycodestyle"  WWWDIR="www/pytest-pycodestyle"  ETCDIR="etc/pytest-pycodestyle"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14  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/pytest-pycodestyle DOCSDIR=/usr/local/share/doc/pytest-pycodestyle EXAMPLESDIR=/usr/local/share/examples/pytest-pycodestyle  WWWDIR=/usr/local/www/pytest-pycodestyle ETCDIR=/usr/local/etc/pytest-pycodestyle
--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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-pytest-pycodestyle-2.5.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.2.1.pkg
[142amd64-default-job-14] Installing pkg-2.2.1...
[142amd64-default-job-14] Extracting pkg-2.2.1: .......... done
===>   py311-pytest-pycodestyle-2.5.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py311-pytest-pycodestyle-2.5.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 MIT accepted by the user
===> Fetching all distfiles required by py311-pytest-pycodestyle-2.5.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by py311-pytest-pycodestyle-2.5.0 for building
=> SHA256 Checksum OK for pytest_pycodestyle-2.5.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 MIT accepted by the user
===> Fetching all distfiles required by py311-pytest-pycodestyle-2.5.0 for building
===>  Extracting for py311-pytest-pycodestyle-2.5.0
=> SHA256 Checksum OK for pytest_pycodestyle-2.5.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-pytest-pycodestyle-2.5.0
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-setuptools>0 - not found
===>   Installing existing package /packages/All/py311-setuptools-63.1.0_3.pkg
[142amd64-default-job-14] Installing py311-setuptools-63.1.0_3...
[142amd64-default-job-14] `-- Installing python311-3.11.13...
[142amd64-default-job-14] |   `-- Installing gettext-runtime-0.23.1...
[142amd64-default-job-14] |   | `-- Installing indexinfo-0.3.1_1...
[142amd64-default-job-14] |   | `-- Extracting indexinfo-0.3.1_1: .... done
[142amd64-default-job-14] |   `-- Extracting gettext-runtime-0.23.1: .......... done
[142amd64-default-job-14] |   `-- Installing libffi-3.5.1...
[142amd64-default-job-14] |   `-- Extracting libffi-3.5.1: .......... done
[142amd64-default-job-14] |   `-- Installing mpdecimal-4.0.1...
[142amd64-default-job-14] |   `-- Extracting mpdecimal-4.0.1: .......... done
[142amd64-default-job-14] |   `-- Installing readline-8.2.13_2...
[142amd64-default-job-14] |   `-- Extracting readline-8.2.13_2: .......... done
[142amd64-default-job-14] `-- Extracting python311-3.11.13: .......... done
[142amd64-default-job-14] Extracting py311-setuptools-63.1.0_3: .......... done
=====
Message from python311-3.11.13:

--
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-pytest-pycodestyle-2.5.0 depends on package: py311-setuptools>0 - found
===>   Returning to build of py311-pytest-pycodestyle-2.5.0
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-wheel>0 - not found
===>   Installing existing package /packages/All/py311-wheel-0.45.1.pkg
[142amd64-default-job-14] Installing py311-wheel-0.45.1...
[142amd64-default-job-14] Extracting py311-wheel-0.45.1: .......... done
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-wheel>0 - found
===>   Returning to build of py311-pytest-pycodestyle-2.5.0
===>   py311-pytest-pycodestyle-2.5.0 depends on file: /usr/local/bin/python3.11 - found
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-build>=0 - not found
===>   Installing existing package /packages/All/py311-build-1.2.2_2.pkg
[142amd64-default-job-14] Installing py311-build-1.2.2_2...
[142amd64-default-job-14] `-- Installing py311-packaging-25.0...
[142amd64-default-job-14] `-- Extracting py311-packaging-25.0: .......... done
[142amd64-default-job-14] `-- Installing py311-pyproject-hooks-1.2.0...
[142amd64-default-job-14] `-- Extracting py311-pyproject-hooks-1.2.0: .......... done
[142amd64-default-job-14] Extracting py311-build-1.2.2_2: .......... done
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-build>=0 - found
===>   Returning to build of py311-pytest-pycodestyle-2.5.0
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-installer>=0 - not found
===>   Installing existing package /packages/All/py311-installer-0.7.0.pkg
[142amd64-default-job-14] Installing py311-installer-0.7.0...
[142amd64-default-job-14] Extracting py311-installer-0.7.0: .......... done
===>   py311-pytest-pycodestyle-2.5.0 depends on package: py311-installer>=0 - found
===>   Returning to build of py311-pytest-pycodestyle-2.5.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-pytest-pycodestyle-2.5.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for py311-pytest-pycodestyle-2.5.0
* Getting build dependencies for wheel...
/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py:104: _BetaConfiguration: Support for `[tool.setuptools]` in `pyproject.toml` is still *beta*.
  warnings.warn(msg, _BetaConfiguration)
configuration error: `project.license` must be valid exactly by one definition (2 matches found):

    - keys:
        'file': {type: string}
      required: ['file']
    - keys:
        'text': {type: string}
      required: ['text']

DESCRIPTION:
    `Project license <https://www.python.org/dev/peps/pep-0621/#license>`_.

GIVEN VALUE:
    "MIT"

OFFENDING RULE: 'oneOf'

DEFINITION:
    {
        "oneOf": [
            {
                "properties": {
                    "file": {
                        "type": "string",
                        "$$description": [
                            "Relative path to the file (UTF-8) which contains the license for the",
                            "project."
                        ]
                    }
                },
                "required": [
                    "file"
                ]
            },
            {
                "properties": {
                    "text": {
                        "type": "string",
                        "$$description": [
                            "The license of the project whose meaning is that of the",
                            "`License field from the core metadata",
                            "<https://packaging.python.org/specifications/core-metadata/#license>`_."
                        ]
                    }
                },
                "required": [
                    "text"
                ]
            }
        ]
    }
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 389, in <module>
    main()
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main
    json_out["return_val"] = hook(**hook_input["kwargs"])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel
    return hook(config_settings)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel
    return self._get_build_requires(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires
    self.run_setup()
  File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 1, in <module>
  File "/usr/local/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 151, in setup
    dist.parse_config_files()
  File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 868, in parse_config_files
    pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
  File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 58, in apply_configuration
    config = read_configuration(filepath, True, ignore_option_errors, dist)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 122, in read_configuration
    validate(subset, filepath)
  File "/usr/local/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 47, in validate
    raise error from None
ValueError: invalid pyproject.toml config: `project.license`

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

Stop.
make: stopped in /usr/ports/devel/py-pytest-pycodestyle