When updating a Python port, please check for pyproject.toml to see if the build backend listed in MODPY_PYBUULD in the port Makefile is still correct.
If there's no such file, or the file exists but doesn't have a build-backend line in the [build-system] section, the default is setuptools, otherwise update the MODPY_PYBUILD line in the port so that dependencies are setup correctly. Generally if this changes it will usually be from setuptools to some newer backend. On 2023/06/11 07:04, Theo Buehler wrote: > On Wed, Jun 07, 2023 at 04:48:05AM -0600, Sebastian Reitenbach wrote: > > CVSROOT: /cvs > > Module name: ports > > Changes by: [email protected] 2023/06/07 04:48:05 > > > > Modified files: > > security/py-fickling: Makefile distinfo > > security/py-fickling/pkg: PLIST > > > > Log message: > > update to 0.0.6 > > > > Did not build here: > > >>> Building on localhost under security/py-fickling,python3 > BDEPENDS = > [devel/py-build,python3;lang/python/3.10;devel/py-installer,python3;devel/py-wheel,python3;devel/py-setuptools,python3] > DIST = [security/py-fickling,python3:fickling-0.0.6.tar.gz] > FULLPKGNAME = py3-fickling-0.0.6 > RDEPENDS = [lang/python/3.10;devel/py-astunparse,python3] > (Junk lock obtained for localhost at 1686437523.47) > >>> Running depends in security/py-fickling,python3 at 1686437523.49 > last junk was in devel/py-matrix-common,python3 > /usr/sbin/pkg_add -aI -Drepair py3-build-0.10.0 py3-installer-0.7.0 > py3-wheel-0.40.0 > was: /usr/sbin/pkg_add -aI -Drepair py3-build-0.10.0 py3-installer-0.7.0 > py3-setuptools-67.6.1v0 py3-wheel-0.40.0 python-3.10.11p0 > /usr/sbin/pkg_add -aI -Drepair py3-build-0.10.0 py3-installer-0.7.0 > py3-wheel-0.40.0 > >>> Running show-prepare-results in security/py-fickling,python3 at > >>> 1686437523.78 > ===> security/py-fickling,python3 > ===> py3-fickling-0.0.6 depends on: python->=3.10,<3.11 -> python-3.10.11p0 > ===> py3-fickling-0.0.6 depends on: py3-build-* -> py3-build-0.10.0 > ===> py3-fickling-0.0.6 depends on: py3-installer-* -> py3-installer-0.7.0 > ===> py3-fickling-0.0.6 depends on: py3-setuptools-* -> > py3-setuptools-67.6.1v0 > ===> py3-fickling-0.0.6 depends on: py3-wheel-* -> py3-wheel-0.40.0 > py3-build-0.10.0 > py3-installer-0.7.0 > py3-setuptools-67.6.1v0 > py3-wheel-0.40.0 > python-3.10.11p0 > (Junk lock released for localhost at 1686437524.68) > distfiles size=20946 > >>> Running build in security/py-fickling,python3 at 1686437524.69 > ===> security/py-fickling,python3 > ===> Checking files for py3-fickling-0.0.6 > `/data/distfiles/fickling-0.0.6.tar.gz' is up to date. > >> (SHA256) fickling-0.0.6.tar.gz: OK > ===> Extracting for py3-fickling-0.0.6 > ===> Patching for py3-fickling-0.0.6 > ===> Compiler link: clang -> /usr/bin/clang > ===> Compiler link: clang++ -> /usr/bin/clang++ > ===> Compiler link: cc -> /usr/bin/cc > ===> Compiler link: c++ -> /usr/bin/c++ > ===> Generating configure for py3-fickling-0.0.6 > ===> Configuring for py3-fickling-0.0.6 > ===> Building for py3-fickling-0.0.6 > * Getting build dependencies for wheel... > > Traceback (most recent call last): > File "/usr/local/lib/python3.10/site-packages/pyproject_hooks/_impl.py", > line 321, in _call_hook > raise BackendUnavailable(data.get('traceback', '')) > pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last): > File > "/usr/local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py", > line 77, in _build_backend > obj = import_module(mod_path) > File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in > import_module > return _bootstrap._gcd_import(name[level:], package, level) > File "<frozen importlib._bootstrap>", line 1050, in _gcd_import > File "<frozen importlib._bootstrap>", line 1027, in _find_and_load > File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked > File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed > File "<frozen importlib._bootstrap>", line 1050, in _gcd_import > File "<frozen importlib._bootstrap>", line 1027, in _find_and_load > File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked > ModuleNotFoundError: No module named 'flit_core' > > ERROR Backend 'flit_core.buildapi' is not available. > *** Error 1 in security/py-fickling > (/usr/ports/lang/python/python.port.mk:361 'do-build': @: ; if [ -e > /tmp/pobj/py-fickling-0.0.6-python3/...) > *** Error 2 in security/py-fickling > (/usr/ports/infrastructure/mk/bsd.port.mk:2957 > '/tmp/pobj/py-fickling-0.0.6-python3/.build_done': @cd /u...) > *** Error 2 in security/py-fickling > (/usr/ports/infrastructure/mk/bsd.port.mk:2601 'build': > @lock=py3-fickling-0.0.6; export _LOCKS_HELD=" ...) > ===> Exiting security/py-fickling,python3 with an error > *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': > @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) > >>> Ended at 1686437526.20 > max_stuck=0.27/depends=0.29/show-prepare-results=0.92/build=1.52 > Error: job failed with 512 on localhost at 1686437526 >
