D: [iurt_root_command] chroot Installing /home/baz/rpmbuild/SRPMS/nanovna-saver-0.6.3-1.mga.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.1uoSz1 + umask 022 + cd /home/baz/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/baz/rpmbuild/BUILD + rm -rf nanovna-saver-0.6.3 + /usr/lib/rpm/rpmuncompress -x /home/baz/rpmbuild/SOURCES/nanovna-saver-0.6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd nanovna-saver-0.6.3 + rm -rf /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.3-SPECPARTS + /usr/bin/mkdir -p /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's:"CHANGELOG.md",::' setup.py + 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.42.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) (23.1) Requirement already satisfied: typing-extensions in /usr/lib/python3.12/site-packages (from setuptools_scm) (4.8.0) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.NCqawM + umask 022 + cd /home/baz/rpmbuild/BUILD + cd nanovna-saver-0.6.3 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' 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.3/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 147, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 303, in __init__ _Distribution.__init__(self, dist_attrs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 283, in __init__ self.finalize_options() File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 654, in finalize_options ep(self) File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 121, in infer_version _assign_version(dist, config) File "/usr/lib/python3.12/site-packages/setuptools_scm/_integration/setuptools.py", line 56, in _assign_version _version_missing(config) File "/usr/lib/python3.12/site-packages/setuptools_scm/_get_version_impl.py", line 112, in _version_missing raise LookupError( LookupError: setuptools-scm was unable to detect version for /home/baz/rpmbuild/BUILD/nanovna-saver-0.6.3. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work. For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.NCqawM (%build) RPM build errors: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.NCqawM (%build) I: [iurt_root_command] ERROR: chroot