Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-332139-36191/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-kdcproxy-1.0.0-8.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-332139-36191/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Mn5k26 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kdcproxy-1.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kdcproxy-1.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kdcproxy-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-kdcproxy-1.0.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Drop-coverage-from-tests.patch + /usr/bin/git apply --index --reject - Checking patch .coveragerc... Checking patch MANIFEST.in... Checking patch setup.py... Checking patch tox.ini... Applied patch .coveragerc cleanly. Applied patch MANIFEST.in cleanly. Applied patch setup.py cleanly. Applied patch tox.ini cleanly. + /usr/bin/git commit -q -m Drop-coverage-from-tests.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Fix-DoS-vulnerability-based-on-unbounded-TCP-bufferi.patch + /usr/bin/git apply --index --reject - Checking patch kdcproxy/__init__.py... Hunk #1 succeeded at 114 (offset -35 lines). Hunk #2 succeeded at 125 (offset -50 lines). Hunk #3 succeeded at 137 (offset -50 lines). Checking patch tests.py... Applied patch kdcproxy/__init__.py cleanly. Applied patch tests.py cleanly. + /usr/bin/git commit -q -m Fix-DoS-vulnerability-based-on-unbounded-TCP-bufferi.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/Use-DNS-discovery-for-declared-realms-only.patch + /usr/bin/git apply --index --reject - Checking patch README... Checking patch kdcproxy/config/__init__.py... error: while searching for: logging.basicConfig() logger = logging.getLogger('kdcproxy') class IResolver(object): def lookup(self, realm, kpasswd=False): "Returns an iterable of remote server URIs." raise NotImplementedError() class IConfig(IResolver): def use_dns(self): "Returns whether or not DNS should be used. Returns None if not set." raise NotImplementedError() error: patch failed: kdcproxy/config/__init__.py:35 error: while searching for: GLOBAL = "global" default_filenames = ["/usr/local/etc/kdcproxy.conf", "/etc/kdcproxy.conf"] def __init__(self, filenames=None): self.__cp = configparser.ConfigParser() if filenames is None: filenames = os.environ.get("KDCPROXY_CONFIG", None) if filenames is None: filenames = self.default_filenames try: self.__cp.read(filenames) except configparser.Error: logger.error("Unable to read config file(s): %s", filenames) try: mod = self.__cp.get(self.GLOBAL, "configs") try: importlib.import_module("kdcproxy.config." + mod) except ImportError as e: error: patch failed: kdcproxy/config/__init__.py:54 Hunk #4 succeeded at 70 (offset -41 lines). Hunk #5 succeeded at 180 (offset -41 lines). Hunk #6 succeeded at 222 (offset -41 lines). Checking patch kdcproxy/config/mit.py... Checking patch tests.py... Applied patch README cleanly. Applying patch kdcproxy/config/__init__.py with 2 rejects... Hunk #1 applied cleanly. Rejected hunk #2. Rejected hunk #3. Hunk #4 applied cleanly. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Applied patch kdcproxy/config/mit.py cleanly. Applied patch tests.py cleanly. error: Bad exit status from /var/tmp/rpm-tmp.Mn5k26 (%prep) Bad exit status from /var/tmp/rpm-tmp.Mn5k26 (%prep) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/python-kdcproxy.spec