Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-nose.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682119258.938382/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-nose.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-nose-1.3.7-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-nose.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682119258.938382/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-nose.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-nose-1.3.7-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-nose.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682119258.938382/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-nose.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.jniE2C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nose-1.3.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/nose-1.3.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nose-1.3.7 + /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.eTxMbZ + umask 022 + cd /builddir/build/BUILD + cd nose-1.3.7 + 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/nose copying nose/failure.py -> build/lib/nose copying nose/__init__.py -> build/lib/nose copying nose/importer.py -> build/lib/nose copying nose/core.py -> build/lib/nose copying nose/loader.py -> build/lib/nose copying nose/result.py -> build/lib/nose copying nose/pyversion.py -> build/lib/nose copying nose/selector.py -> build/lib/nose copying nose/commands.py -> build/lib/nose copying nose/__main__.py -> build/lib/nose copying nose/twistedtools.py -> build/lib/nose copying nose/util.py -> build/lib/nose copying nose/suite.py -> build/lib/nose copying nose/proxy.py -> build/lib/nose copying nose/config.py -> build/lib/nose copying nose/exc.py -> build/lib/nose copying nose/case.py -> build/lib/nose copying nose/inspector.py -> build/lib/nose creating build/lib/nose/ext copying nose/ext/__init__.py -> build/lib/nose/ext copying nose/ext/dtcompat.py -> build/lib/nose/ext creating build/lib/nose/plugins copying nose/plugins/__init__.py -> build/lib/nose/plugins copying nose/plugins/allmodules.py -> build/lib/nose/plugins copying nose/plugins/doctests.py -> build/lib/nose/plugins copying nose/plugins/deprecated.py -> build/lib/nose/plugins copying nose/plugins/skip.py -> build/lib/nose/plugins copying nose/plugins/debug.py -> build/lib/nose/plugins copying nose/plugins/prof.py -> build/lib/nose/plugins copying nose/plugins/collect.py -> build/lib/nose/plugins copying nose/plugins/xunit.py -> build/lib/nose/plugins copying nose/plugins/failuredetail.py -> build/lib/nose/plugins copying nose/plugins/testid.py -> build/lib/nose/plugins copying nose/plugins/errorclass.py -> build/lib/nose/plugins copying nose/plugins/isolate.py -> build/lib/nose/plugins copying nose/plugins/attrib.py -> build/lib/nose/plugins copying nose/plugins/base.py -> build/lib/nose/plugins copying nose/plugins/capture.py -> build/lib/nose/plugins copying nose/plugins/cover.py -> build/lib/nose/plugins copying nose/plugins/logcapture.py -> build/lib/nose/plugins copying nose/plugins/manager.py -> build/lib/nose/plugins copying nose/plugins/multiprocess.py -> build/lib/nose/plugins copying nose/plugins/builtin.py -> build/lib/nose/plugins copying nose/plugins/plugintest.py -> build/lib/nose/plugins creating build/lib/nose/sphinx copying nose/sphinx/__init__.py -> build/lib/nose/sphinx copying nose/sphinx/pluginopts.py -> build/lib/nose/sphinx creating build/lib/nose/tools copying nose/tools/__init__.py -> build/lib/nose/tools copying nose/tools/trivial.py -> build/lib/nose/tools copying nose/tools/nontrivial.py -> build/lib/nose/tools copying nose/usage.txt -> build/lib/nose running build_scripts creating build/scripts-3.9 copying and adjusting bin/nosetests -> build/scripts-3.9 changing mode of build/scripts-3.9/nosetests from 644 to 755 + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DQSBrT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64 + cd nose-1.3.7 + 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-nose-1.3.7-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-nose-1.3.7-1.x86_64/usr creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/failure.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/__init__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/__init__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/allmodules.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/doctests.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/deprecated.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/skip.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/debug.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/prof.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/collect.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/xunit.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/failuredetail.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/testid.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/errorclass.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/isolate.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/attrib.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/base.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/capture.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/cover.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/logcapture.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/manager.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/multiprocess.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/builtin.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/plugins/plugintest.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins copying build/lib/nose/importer.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/core.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools copying build/lib/nose/tools/__init__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools copying build/lib/nose/tools/trivial.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools copying build/lib/nose/tools/nontrivial.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools copying build/lib/nose/loader.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/result.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/pyversion.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/selector.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/commands.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext copying build/lib/nose/ext/__init__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext copying build/lib/nose/ext/dtcompat.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext copying build/lib/nose/__main__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/twistedtools.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/util.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/suite.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/proxy.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/sphinx copying build/lib/nose/sphinx/__init__.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/sphinx copying build/lib/nose/sphinx/pluginopts.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/sphinx copying build/lib/nose/config.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/exc.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/case.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/usage.txt -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose copying build/lib/nose/inspector.py -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/failure.py to failure.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/failure.py", line 39 raise self.exc_val, None, self.tb ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/allmodules.py to allmodules.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/doctests.py to doctests.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/doctests.py", line 278 except ImportError, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/deprecated.py to deprecated.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/skip.py to skip.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/debug.py to debug.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/prof.py to prof.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/collect.py to collect.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/xunit.py to xunit.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/failuredetail.py to failuredetail.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/testid.py to testid.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/testid.py", line 201 except ValueError, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/errorclass.py to errorclass.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/isolate.py to isolate.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/attrib.py to attrib.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/base.py to base.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/base.py", line 70 except OptionConflictError, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/capture.py to capture.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/cover.py to cover.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/cover.py", line 197 except coverage.misc.CoverageException, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/logcapture.py to logcapture.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/manager.py to manager.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/manager.py", line 390 except Exception, e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/multiprocess.py to multiprocess.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/multiprocess.py", line 481 except (KeyboardInterrupt, SystemExit), e: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/builtin.py to builtin.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/plugintest.py to plugintest.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/plugins/plugintest.py", line 407 print munge_nose_output_for_doctest(out) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/importer.py to importer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/core.py to core.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/core.py", line 153 print "%s version %s" % (os.path.basename(sys.argv[0]), __version__) ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools/trivial.py to trivial.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/tools/nontrivial.py to nontrivial.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/loader.py to loader.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/result.py to result.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/pyversion.py to pyversion.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/selector.py to selector.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/commands.py to commands.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext/dtcompat.py to dtcompat.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/ext/dtcompat.py", line 344 raise TypeError, 'Expected a module: %r' % module ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/__main__.py to __main__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/twistedtools.py to twistedtools.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/twistedtools.py", line 169 raise exc_type, exc_value, tb ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/util.py to util.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/suite.py to suite.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/proxy.py to proxy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/sphinx/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/sphinx/pluginopts.py to pluginopts.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/config.py to config.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/config.py", line 68 except ConfigParser.Error, exc: ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/exc.py to exc.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/case.py to case.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/inspector.py to inspector.cpython-39.pyc File "/usr/lib/python3.9/site-packages/nose/inspector.py", line 41 except tokenize.TokenError, e: ^ SyntaxError: invalid syntax writing byte-compilation script '/tmp/tmpc9lcdegm.py' /usr/bin/python3 /tmp/tmpc9lcdegm.py File "/usr/lib/python3.9/site-packages/nose/failure.py", line 39 raise self.exc_val, None, self.tb ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/doctests.py", line 278 except ImportError, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/testid.py", line 201 except ValueError, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/base.py", line 70 except OptionConflictError, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/cover.py", line 197 except coverage.misc.CoverageException, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/manager.py", line 390 except Exception, e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/multiprocess.py", line 481 except (KeyboardInterrupt, SystemExit), e: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/plugins/plugintest.py", line 407 print munge_nose_output_for_doctest(out) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/core.py", line 153 print "%s version %s" % (os.path.basename(sys.argv[0]), __version__) ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/ext/dtcompat.py", line 344 raise TypeError, 'Expected a module: %r' % module ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/twistedtools.py", line 169 raise exc_type, exc_value, tb ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/config.py", line 68 except ConfigParser.Error, exc: ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/nose/inspector.py", line 41 except tokenize.TokenError, e: ^ SyntaxError: invalid syntax removing /tmp/tmpc9lcdegm.py running install_data creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/man creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/man/man1 copying nosetests.1 -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/man/man1 running install_egg_info running egg_info writing nose.egg-info/PKG-INFO writing dependency_links to nose.egg-info/dependency_links.txt deleting nose.egg-info/entry_points.txt writing top-level names to nose.egg-info/top_level.txt reading manifest file 'nose.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'doc/.build' adding license file 'AUTHORS' writing manifest file 'nose.egg-info/SOURCES.txt' Copying nose.egg-info to /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose-1.3.7-py3.9.egg-info running install_scripts creating /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/bin copying build/scripts-3.9/nosetests -> /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/bin/nosetests to 755 + install -d -m755 /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64//usr/share/doc/python-nose + '[' -d doc ']' + cp -arf doc /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64//usr/share/doc/python-nose + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' + cp -arf examples /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64//usr/share/doc/python-nose + pushd /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64 ~/build/BUILDROOT/python-nose-1.3.7-1.x86_64 ~/build/BUILD/nose-1.3.7 + '[' -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 ']' ~/build/BUILD/nose-1.3.7 + popd + mv /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 1.3.7-1 --unique-debug-suffix -1.3.7-1.x86_64 --unique-debug-src-base python-nose-1.3.7-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/nose-1.3.7 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-nose-1.3.7-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/config.py'... File "/usr/lib/python3.9/site-packages/nose/config.py", line 68 except ConfigParser.Error, exc: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/core.py'... File "/usr/lib/python3.9/site-packages/nose/core.py", line 153 print "%s version %s" % (os.path.basename(sys.argv[0]), __version__) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/ext/dtcompat.py'... File "/usr/lib/python3.9/site-packages/nose/ext/dtcompat.py", line 344 raise TypeError, 'Expected a module: %r' % module ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/failure.py'... File "/usr/lib/python3.9/site-packages/nose/failure.py", line 39 raise self.exc_val, None, self.tb ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/inspector.py'... File "/usr/lib/python3.9/site-packages/nose/inspector.py", line 41 except tokenize.TokenError, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/base.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/base.py", line 70 except OptionConflictError, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/cover.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/cover.py", line 197 except coverage.misc.CoverageException, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/doctests.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/doctests.py", line 278 except ImportError, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/manager.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/manager.py", line 390 except Exception, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/multiprocess.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/multiprocess.py", line 481 except (KeyboardInterrupt, SystemExit), e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/plugintest.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/plugintest.py", line 407 print munge_nose_output_for_doctest(out) ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/plugins/testid.py'... File "/usr/lib/python3.9/site-packages/nose/plugins/testid.py", line 201 except ValueError, e: ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-nose-1.3.7-1.x86_64/usr/lib/python3.9/site-packages/nose/twistedtools.py'... File "/usr/lib/python3.9/site-packages/nose/twistedtools.py", line 169 raise exc_type, exc_value, tb ^ SyntaxError: invalid syntax RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.DQSBrT (%install) Bad exit status from /var/tmp/rpm-tmp.DQSBrT (%install) 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-nose.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-nose.spec