Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739947739.496142/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/copr-dist-git-0.66-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739947739.496142/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.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 :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead :1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/copr-dist-git-0.66-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP1-x86_64-1739947739.496142/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.k0AMZi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf copr-dist-git-0.66 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/copr-dist-git-0.66.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd copr-dist-git-0.66 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1Pe41E + umask 022 + cd /builddir/build/BUILD + cd copr-dist-git-0.66 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/copr_dist_git copying copr_dist_git/__init__.py -> build/lib/copr_dist_git copying copr_dist_git/exceptions.py -> build/lib/copr_dist_git copying copr_dist_git/helpers.py -> build/lib/copr_dist_git copying copr_dist_git/import_dispatcher.py -> build/lib/copr_dist_git copying copr_dist_git/import_task.py -> build/lib/copr_dist_git copying copr_dist_git/importer.py -> build/lib/copr_dist_git copying copr_dist_git/package_import.py -> build/lib/copr_dist_git copying copr_dist_git/process_pool.py -> build/lib/copr_dist_git running egg_info creating copr_dist_git.egg-info writing copr_dist_git.egg-info/PKG-INFO writing dependency_links to copr_dist_git.egg-info/dependency_links.txt writing top-level names to copr_dist_git.egg-info/top_level.txt writing manifest file 'copr_dist_git.egg-info/SOURCES.txt' reading manifest file 'copr_dist_git.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'copr_dist_git.egg-info/SOURCES.txt' running build_scripts creating build/scripts-3.11 copying and adjusting run/clear_lookaside_cache.py -> build/scripts-3.11 copying and adjusting run/copr-dist-git-config -> build/scripts-3.11 copying run/copr-dist-git-refresh-cgit -> build/scripts-3.11 copying and adjusting run/copr-distgit-process-import -> build/scripts-3.11 copying and adjusting run/copr-run-dispatcher -> build/scripts-3.11 copying and adjusting run/dist-git-clear-tarballs.py -> build/scripts-3.11 copying and adjusting run/prune-dist-git.py -> build/scripts-3.11 copying run/remove_unused_sources -> build/scripts-3.11 changing mode of build/scripts-3.11/clear_lookaside_cache.py from 644 to 755 changing mode of build/scripts-3.11/copr-dist-git-config from 644 to 755 changing mode of build/scripts-3.11/copr-distgit-process-import from 644 to 755 changing mode of build/scripts-3.11/copr-run-dispatcher from 644 to 755 changing mode of build/scripts-3.11/dist-git-clear-tarballs.py from 644 to 755 changing mode of build/scripts-3.11/prune-dist-git.py from 644 to 755 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WgHckS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64 ++ dirname /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64 + cd copr-dist-git-0.66 + CFLAGS='-O2 -g -grecord-gcc-switches -pipe -fstack-protector-strong -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64 running install /usr/lib/python3.11/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11 creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/__init__.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/exceptions.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/helpers.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/import_dispatcher.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/import_task.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/importer.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/package_import.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git copying build/lib/copr_dist_git/process_pool.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/exceptions.py to exceptions.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/helpers.py to helpers.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/import_dispatcher.py to import_dispatcher.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/import_task.py to import_task.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/importer.py to importer.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/package_import.py to package_import.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git/process_pool.py to process_pool.cpython-311.pyc writing byte-compilation script '/tmp/tmpeszp1o37.py' /usr/bin/python3 /tmp/tmpeszp1o37.py removing /tmp/tmpeszp1o37.py running install_egg_info running egg_info writing copr_dist_git.egg-info/PKG-INFO writing dependency_links to copr_dist_git.egg-info/dependency_links.txt writing top-level names to copr_dist_git.egg-info/top_level.txt reading manifest file 'copr_dist_git.egg-info/SOURCES.txt' adding license file 'LICENSE' writing manifest file 'copr_dist_git.egg-info/SOURCES.txt' Copying copr_dist_git.egg-info to /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/python3.11/site-packages/copr_dist_git-0.66-py3.11.egg-info running install_scripts creating /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/clear_lookaside_cache.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/copr-dist-git-config -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/copr-dist-git-refresh-cgit -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/copr-distgit-process-import -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/copr-run-dispatcher -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/dist-git-clear-tarballs.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/prune-dist-git.py -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin copying build/scripts-3.11/remove_unused_sources -> /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/clear_lookaside_cache.py to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/copr-dist-git-config to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/copr-dist-git-refresh-cgit to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/copr-distgit-process-import to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/copr-run-dispatcher to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/dist-git-clear-tarballs.py to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/prune-dist-git.py to 755 changing mode of /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/remove_unused_sources to 755 + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/share/copr/dist_git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/copr + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/logrotate.d/ + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/httpd/conf.d/ + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/systemd/system + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/var/log/copr-dist-git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/tmpfiles.d + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/var/lib/copr-dist-git + install -d /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/cron.monthly + install -p -m 755 conf/cron.monthly/copr-dist-git /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/cron.monthly/copr-dist-git + cp -a conf/copr-dist-git.conf.example /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/copr/copr-dist-git.conf + cp -a conf/httpd/copr-dist-git.conf /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/httpd/conf.d/copr-dist-git.conf + cp -a conf/tmpfiles.d/copr-dist-git.conf /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64//usr/lib/tmpfiles.d + cp -a copr-dist-git.service /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/lib/systemd/system/ + cp -a conf/logrotate /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/etc/logrotate.d/copr-dist-git + mv /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/remove_unused_sources /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/bin/copr-prune-dist-git-sources + touch /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/var/log/copr-dist-git/main.log + python_binary=/usr/bin/python3 + bytecode_compilation_path=/builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/share/copr/dist_git + find /builddir/build/BUILDROOT/copr-dist-git-0.66-1.x86_64/usr/share/copr/dist_git -type f -a -name '*.py' -print0 + xargs -0 /usr/bin/python3 -O -m py_compile usage: py_compile.py [-h] [-q] filenames [filenames ...] py_compile.py: error: the following arguments are required: filenames error: Bad exit status from /var/tmp/rpm-tmp.WgHckS (%install) Bad exit status from /var/tmp/rpm-tmp.WgHckS (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 598, 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 --target x86_64 --nodeps /builddir/build/SPECS/copr-dist-git.spec