I have python3.12 as the default python in poudriere. It worked fine at first, but the first build with errors was on 2026-04-24_19h05m02s. I have a cron job that runs every hour that builds all the packages I use and the last build without errors was on 2026-04-24_18h05m01s. -- ===> qemu-guest-agent-11.0.0_1 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> Returning to build of qemu-guest-agent-11.0.0_1 ===> qemu-guest-agent-11.0.0_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =======================<phase: configure >============================ ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for qemu-guest-agent-11.0.0_1 Using './build' as the directory for build output python determined to be '/usr/local/bin/python3.12' python version: Python 3.12.13 mkvenv: Creating non-isolated virtual environment at 'pyvenv' mkvenv: checking for meson>=1.5.0 mkvenv: checking for pycotap>=1.1.0 mkvenv: installing meson==1.10.0, pycotap==1.3.1 mkvenv: checking for qemu.qmp>=0.0.5 mkvenv: checking for setuptools>=44.1.1 mkvenv: checking for wheel>=0.34.2 mkvenv: checking for pip>=20.3.4 mkvenv: installing setuptools>=44.1.1, pip>=20.3.4 WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3cb9179f6ab0>: Failed to establish a new connection: [Errno 49] Can't assign requested address")': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3cb918cbfc20>: Failed to establish a new connection: [Errno 49] Can't assign requested address")': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3cb9193714f0>: Failed to establish a new connection: [Errno 49] Can't assign requested address")': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3cb919371700>: Failed to establish a new connection: [Errno 49] Can't assign requested address")': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError("<pip._vendor.urllib3.connection.HTTPSConnection object at 0x3cb9193718e0>: Failed to establish a new connection: [Errno 49] Can't assign requested address")': /simple/setuptools/ ERROR: Could not find a version that satisfies the requirement setuptools>=44.1.1 (from versions: none) ERROR: No matching distribution found for setuptools>=44.1.1 *** Ouch! *** Could not provide build dependency 'setuptools>=44.1.1': • Python package 'setuptools' was not found nor installed. • No suitable version found in, or failed to install from '/wrkdirs/usr/ports/emulators/qemu/work-guestagent/qemu-11.0.0/python/wheels'. • A suitable version could not be obtained from PyPI.
I assume https://cgit.freebsd.org/ports/commit/?id=19d5033f041ae46b7e28aff8e73dd9bd788eca5e is the cause
The latest version seems to fail with python >= 3.12. Python 3.14 throws a different error. Can we modify the port to use USES=python:build for qemu@guestagent USES=python for the other flavors?
Created attachment 270366 [details] USES=python:build for guestagent and USES=python for the other flavors As a workaround I build qemu@guestagent with poudriere and use the attached patch.
(In reply to Herbert J. Skuhra from comment #3) The suggested patch was rejected by the maintainer: "No. python:build simply does not load all required variables and also the test fails by removing from the USES." I can't even build qemu@guestagent with default Python version (3.11) outside of poudriere. :-(
Can we replace 3.12 with 3.1X in the summary?