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.XZPXOU + 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.P3epxi + 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 . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.YQLZCK + 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.YQLZCK (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.YQLZCK (%build) I: [iurt_root_command] ERROR: chroot