Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cronq.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683748109.960807/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cronq.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cronq-0.27.0-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/python-cronq.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683748109.960807/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-cronq.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-cronq-0.27.0-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/python-cronq.spec'], chrootPath='/var/lib/mock/openeuler-22.03_LTS_SP1-x86_64-1683748109.960807/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=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-cronq.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 /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GJNyRz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cronq-0.27.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/cronq-0.27.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cronq-0.27.0 + /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.TXDXel + umask 022 + cd /builddir/build/BUILD + cd cronq-0.27.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -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/cronq copying cronq/interval_parser.py -> build/lib/cronq copying cronq/queue_connection.py -> build/lib/cronq copying cronq/utils.py -> build/lib/cronq copying cronq/__init__.py -> build/lib/cronq copying cronq/config.py -> build/lib/cronq copying cronq/validator.py -> build/lib/cronq copying cronq/injector.py -> build/lib/cronq copying cronq/runner.py -> build/lib/cronq copying cronq/web.py -> build/lib/cronq copying cronq/rabbit_connection.py -> build/lib/cronq copying cronq/pruner.py -> build/lib/cronq copying cronq/logsetup.py -> build/lib/cronq copying cronq/result_aggregator.py -> build/lib/cronq creating build/lib/cronq/backends copying cronq/backends/__init__.py -> build/lib/cronq/backends copying cronq/backends/mysql.py -> build/lib/cronq/backends creating build/lib/cronq/logger copying cronq/logger/__init__.py -> build/lib/cronq/logger copying cronq/logger/handlers.py -> build/lib/cronq/logger creating build/lib/cronq/models copying cronq/models/job.py -> build/lib/cronq/models copying cronq/models/base.py -> build/lib/cronq/models copying cronq/models/__init__.py -> build/lib/cronq/models copying cronq/models/event.py -> build/lib/cronq/models copying cronq/models/category.py -> build/lib/cronq/models running egg_info writing cronq.egg-info/PKG-INFO writing dependency_links to cronq.egg-info/dependency_links.txt writing entry points to cronq.egg-info/entry_points.txt writing requirements to cronq.egg-info/requires.txt writing top-level names to cronq.egg-info/top_level.txt reading manifest file 'cronq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'cronq.egg-info/SOURCES.txt' creating build/lib/cronq/static creating build/lib/cronq/static/css copying cronq/static/css/app.css -> build/lib/cronq/static/css copying cronq/static/css/bootstrap-responsive.css -> build/lib/cronq/static/css copying cronq/static/css/bootstrap-responsive.min.css -> build/lib/cronq/static/css copying cronq/static/css/bootstrap.css -> build/lib/cronq/static/css copying cronq/static/css/bootstrap.min.css -> build/lib/cronq/static/css creating build/lib/cronq/static/img copying cronq/static/img/glyphicons-halflings-white.png -> build/lib/cronq/static/img copying cronq/static/img/glyphicons-halflings.png -> build/lib/cronq/static/img creating build/lib/cronq/static/js copying cronq/static/js/bootstrap.js -> build/lib/cronq/static/js copying cronq/static/js/bootstrap.min.js -> build/lib/cronq/static/js copying cronq/static/js/jquery.js -> build/lib/cronq/static/js copying cronq/static/js/moment.min.js -> build/lib/cronq/static/js copying cronq/static/js/prism.js -> build/lib/cronq/static/js creating build/lib/cronq/templates copying cronq/templates/base.html -> build/lib/cronq/templates copying cronq/templates/failures.html -> build/lib/cronq/templates copying cronq/templates/index.html -> build/lib/cronq/templates copying cronq/templates/job.html -> build/lib/cronq/templates copying cronq/templates/run_id.html -> build/lib/cronq/templates + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.IbDV4F + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 + cd cronq-0.27.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -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/python-cronq-0.27.0-1.x86_64 running install /usr/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/models/job.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/models/base.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/models/__init__.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/models/event.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/models/category.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models copying build/lib/cronq/interval_parser.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/queue_connection.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/utils.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/__init__.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logger copying build/lib/cronq/logger/__init__.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logger copying build/lib/cronq/logger/handlers.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logger creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates copying build/lib/cronq/templates/job.html -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates copying build/lib/cronq/templates/index.html -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates copying build/lib/cronq/templates/base.html -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates copying build/lib/cronq/templates/run_id.html -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates copying build/lib/cronq/templates/failures.html -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/templates creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js copying build/lib/cronq/static/js/prism.js -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js copying build/lib/cronq/static/js/moment.min.js -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js copying build/lib/cronq/static/js/bootstrap.min.js -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js copying build/lib/cronq/static/js/bootstrap.js -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js copying build/lib/cronq/static/js/jquery.js -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/js creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css copying build/lib/cronq/static/css/bootstrap.css -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css copying build/lib/cronq/static/css/bootstrap.min.css -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css copying build/lib/cronq/static/css/bootstrap-responsive.css -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css copying build/lib/cronq/static/css/bootstrap-responsive.min.css -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css copying build/lib/cronq/static/css/app.css -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/css creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/img copying build/lib/cronq/static/img/glyphicons-halflings.png -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/img copying build/lib/cronq/static/img/glyphicons-halflings-white.png -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/static/img copying build/lib/cronq/config.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/validator.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/injector.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/runner.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/web.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/rabbit_connection.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/pruner.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq copying build/lib/cronq/logsetup.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq creating /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends copying build/lib/cronq/backends/__init__.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends copying build/lib/cronq/backends/mysql.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends copying build/lib/cronq/result_aggregator.py -> /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models/job.py to job.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models/base.py to base.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models/event.py to event.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/models/category.py to category.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/interval_parser.py to interval_parser.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/queue_connection.py to queue_connection.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/utils.py to utils.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logger/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logger/handlers.py to handlers.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/config.py to config.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/validator.py to validator.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/injector.py to injector.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/runner.py to runner.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/web.py to web.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/rabbit_connection.py to rabbit_connection.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/pruner.py to pruner.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/logsetup.py to logsetup.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends/mysql.py to mysql.cpython-39.pyc File "/usr/lib/python3.9/site-packages/cronq/backends/mysql.py", line 353 except InternalError, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/result_aggregator.py to result_aggregator.cpython-39.pyc writing byte-compilation script '/tmp/tmpz695tblm.py' /usr/bin/python3 /tmp/tmpz695tblm.py File "/usr/lib/python3.9/site-packages/cronq/backends/mysql.py", line 353 except InternalError, e: ^ SyntaxError: invalid syntax removing /tmp/tmpz695tblm.py running install_egg_info running egg_info writing cronq.egg-info/PKG-INFO writing dependency_links to cronq.egg-info/dependency_links.txt writing entry points to cronq.egg-info/entry_points.txt writing requirements to cronq.egg-info/requires.txt writing top-level names to cronq.egg-info/top_level.txt reading manifest file 'cronq.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'cronq.egg-info/SOURCES.txt' Copying cronq.egg-info to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq-0.27.0-py3.9.egg-info running install_scripts Installing cronq-injector script to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/bin Installing cronq-pruner script to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/bin Installing cronq-results script to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/bin Installing cronq-runner script to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/bin Installing cronq-validator script to /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/bin + install -d -m755 /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64//usr/share/doc/python-cronq + '[' -d doc ']' ~/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 ~/build/BUILD/cronq-0.27.0 + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + find usr/bin -type f -printf '/%h/%f\n' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' + popd ~/build/BUILD/cronq-0.27.0 + mv /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.27.0-1 --unique-debug-suffix -0.27.0-1.x86_64 --unique-debug-src-base python-cronq-0.27.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/cronq-0.27.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-cronq-0.27.0-1.x86_64/usr/lib/python3.9/site-packages/cronq/backends/mysql.py'... File "/usr/lib/python3.9/site-packages/cronq/backends/mysql.py", line 353 except InternalError, e: ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.IbDV4F (%install) Bad exit status from /var/tmp/rpm-tmp.IbDV4F (%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/python-cronq.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 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/python-cronq.spec