D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/baz/rpmbuild/SRPMS/nanovna-saver-0.6.8-1.mga.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.1J8OP9 + umask 022 + cd /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + test -d /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + /usr/bin/rm -rf /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.fwBNBv + umask 022 + cd /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + rm -rf nanovna-saver-0.6.8 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/nanovna-saver-0.6.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nanovna-saver-0.6.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pip install -U setuptools setuptools_scm wheel Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: setuptools in /usr/lib/python3.12/site-packages (69.0.2) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools/ Requirement already satisfied: setuptools_scm in /usr/lib/python3.12/site-packages (8.0.4) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/ Requirement already satisfied: wheel in /usr/lib/python3.12/site-packages (0.43.0) WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/wheel/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/wheel/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/wheel/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/wheel/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/wheel/ Requirement already satisfied: packaging>=20 in /usr/lib/python3.12/site-packages (from setuptools_scm) (24.0) Requirement already satisfied: typing-extensions in /usr/lib/python3.12/site-packages (from setuptools_scm) (4.12.2) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.XodxCF + umask 022 + cd /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build + cd nanovna-saver-0.6.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' /usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py:90: UserWarning: version of None already set warnings.warn(f"version of {dist_name} already set") /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `authors` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `authors = 'Rune B. Broberg'` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `authors` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ To prevent this problem, you can list `authors` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `optional-dependencies` defined outside of `pyproject.toml` is ignored. !! ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `optional-dependencies = {'testing': ['setuptools', 'pytest', 'pytest-cov']}` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `optional-dependencies` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ To prevent this problem, you can list `optional-dependencies` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** !! _handle_missing_dynamic(dist, project_table) /usr/lib/python3.12/site-packages/setuptools/config/expand.py:133: SetuptoolsWarning: File '/home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build/nanovna-saver-0.6.8/LICENSE' cannot be found return '\n'.join( /usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsWarning: `install_requires` overwritten in `pyproject.toml` (dependencies) corresp(dist, value, root_dir) An error occurred while building the project, please ensure you have the most updated version of setuptools, setuptools_scm and wheel with: pip install -U setuptools setuptools_scm wheel Traceback (most recent call last): File "/home/baz/rpmbuild/BUILD/nanovna-saver-0.6.8-build/nanovna-saver-0.6.8/setup.py", line 13, in setup(use_scm_version={"version_scheme": "no-guess-dev"}) File "/usr/lib/python3.12/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 159, in setup dist.parse_config_files() File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 627, in parse_config_files pyprojecttoml.apply_configuration(self, filename, ignore_option_errors) File "/usr/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py", line 67, in apply_configuration return _apply(dist, config, filepath) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 56, in apply _apply_project_table(dist, config, root_dir) File "/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table corresp(dist, value, root_dir) File "/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 223, in _optional_dependencies dist.extras_require = {**existing, **val} ^^^^^^^^^^^^^^^^^^^ TypeError: 'list' object is not a mapping error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.XodxCF (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.XodxCF (%build) I: [iurt_root_command] ERROR: chroot