Re: git: 9e573ff0934a - main - security/libpwquality: fix poudriere build failures
Date: Sat, 10 Dec 2022 16:04:24 UTC
Am 10.12.22 um 17:00 schrieb Matthias Andree: > The branch main has been updated by mandree: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=9e573ff0934a56d8eadd2c75be876b9392aae5b2 > > commit 9e573ff0934a56d8eadd2c75be876b9392aae5b2 > Author: Matthias Andree <mandree@FreeBSD.org> > AuthorDate: 2022-12-10 15:58:03 +0000 > Commit: Matthias Andree <mandree@FreeBSD.org> > CommitDate: 2022-12-10 16:00:23 +0000 > > security/libpwquality: fix poudriere build failures > > libpwquality adds --single-version-externally-managed via > files/patch-python_Makefile.in, which in turn requires > up-to-date setuptools. Add this as PYTHON_BUILD_DEPENDS. > > Approved by: desktop@ (implicit, just-fix-it blanket) > --- > security/libpwquality/Makefile | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > ... > +PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} ... The Poudriere error log that prompted me was (from my poudriere log) was as shown below, in context with https://stackoverflow.com/questions/14296531/what-does-error-option-single-version-externally-managed-not-recognized-ind : > [00:00:52] Making install in python > [00:00:52] gmake[3]: Entering directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5/python' > [00:00:52] CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fno-strict-aliasing" /usr/local/bin/python3.9 setup.py build --build-base py3.9 > [00:00:52] running build > [00:00:52] running build_ext > [00:00:52] gmake[4]: Entering directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5/python' > [00:00:52] CFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fno-strict-aliasing" /usr/local/bin/python3.9 setup.py build --build-base py3.9 install --root=/wrkdirs/usr/ports/security/libpwquality/work/stage --single-version-externally-managed > [00:00:52] usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] > [00:00:52] or: setup.py --help [cmd1 cmd2 ...] > [00:00:52] or: setup.py --help-commands > [00:00:52] or: setup.py cmd --help > [00:00:52] > [00:00:52] error: option --single-version-externally-managed not recognized > [00:00:52] gmake[4]: *** [Makefile:486: install-exec-local] Error 1 > [00:00:52] gmake[4]: Leaving directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5/python' > [00:00:52] gmake[3]: *** [Makefile:373: install-am] Error 2 > [00:00:52] gmake[3]: Leaving directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5/python' > [00:00:52] gmake[2]: *** [Makefile:442: install-recursive] Error 1 > [00:00:52] gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5' > [00:00:52] gmake[1]: *** [Makefile:757: install-strip] Error 2 > [00:00:52] gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/libpwquality/work/libpwquality-1.4.5' > [00:00:52] *** Error code 2 > [00:00:52] > [00:00:52] Stop. > [00:00:52] make: stopped in /usr/ports/security/libpwquality > [00:00:55] =>> Cleaning up wrkdir > [00:00:55] ===> Cleaning for libpwquality-1.4.5 > [00:00:55] build of security/libpwquality | libpwquality-1.4.5 ended at Sat Dec 10 14:18:02 CET 2022 > [00:00:55] build time: 00:00:55 > [00:00:55] !!! build failure encountered !!!