Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-interface.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275053.098394/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-interface.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-Interface-2.11.1-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-interface.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275053.098394/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-interface.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-Interface-2.11.1-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-interface.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275053.098394/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-interface.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.NQLpa3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Interface-2.11.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/Interface-2.11.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Interface-2.11.1 + /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.fX7ysI + umask 022 + cd /builddir/build/BUILD + cd Interface-2.11.1 + 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/Interface copying src/Interface/_Element.py -> build/lib/Interface copying src/Interface/__init__.py -> build/lib/Interface copying src/Interface/Method.py -> build/lib/Interface copying src/Interface/pyskel.py -> build/lib/Interface copying src/Interface/_object.py -> build/lib/Interface copying src/Interface/Mapping.py -> build/lib/Interface copying src/Interface/pprint.py -> build/lib/Interface copying src/Interface/Exceptions.py -> build/lib/Interface copying src/Interface/bridge.py -> build/lib/Interface copying src/Interface/Document.py -> build/lib/Interface copying src/Interface/IElement.py -> build/lib/Interface copying src/Interface/_Interface.py -> build/lib/Interface copying src/Interface/IMethod.py -> build/lib/Interface copying src/Interface/_InterfaceClass.py -> build/lib/Interface copying src/Interface/Attribute.py -> build/lib/Interface copying src/Interface/IAttribute.py -> build/lib/Interface copying src/Interface/IInterface.py -> build/lib/Interface copying src/Interface/iclass.py -> build/lib/Interface copying src/Interface/Verify.py -> build/lib/Interface copying src/Interface/Implements.py -> build/lib/Interface creating build/lib/Interface/Common copying src/Interface/Common/__init__.py -> build/lib/Interface/Common copying src/Interface/Common/Mapping.py -> build/lib/Interface/Common creating build/lib/Interface/tests copying src/Interface/tests/__init__.py -> build/lib/Interface/tests copying src/Interface/tests/testElement.py -> build/lib/Interface/tests copying src/Interface/tests/testInterface.py -> build/lib/Interface/tests copying src/Interface/tests/dummy.py -> build/lib/Interface/tests copying src/Interface/tests/test_bridge.py -> build/lib/Interface/tests copying src/Interface/tests/testDocument.py -> build/lib/Interface/tests copying src/Interface/tests/testVisitImplements.py -> build/lib/Interface/tests copying src/Interface/tests/testVerify.py -> build/lib/Interface/tests copying src/Interface/tests/testImplements.py -> build/lib/Interface/tests copying src/Interface/tests/unitfixtures.py -> build/lib/Interface/tests copying src/Interface/tests/IFoo.py -> build/lib/Interface/tests creating build/lib/Interface/Common/tests copying src/Interface/Common/tests/__init__.py -> build/lib/Interface/Common/tests copying src/Interface/Common/tests/BaseTestMapping.py -> build/lib/Interface/Common/tests running egg_info writing src/Interface.egg-info/PKG-INFO writing dependency_links to src/Interface.egg-info/dependency_links.txt writing requirements to src/Interface.egg-info/requires.txt writing top-level names to src/Interface.egg-info/top_level.txt reading manifest file 'src/Interface.egg-info/SOURCES.txt' writing manifest file 'src/Interface.egg-info/SOURCES.txt' copying src/Interface/tests/bridge.txt -> build/lib/Interface/tests + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SwCkV5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 + cd Interface-2.11.1 + 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-Interface-2.11.1-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-Interface-2.11.1-1.x86_64/usr creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/_Element.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/__init__.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Method.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/pyskel.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common copying build/lib/Interface/Common/__init__.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common copying build/lib/Interface/Common/Mapping.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/tests copying build/lib/Interface/Common/tests/__init__.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/tests copying build/lib/Interface/Common/tests/BaseTestMapping.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/tests copying build/lib/Interface/_object.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Mapping.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/pprint.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Exceptions.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/bridge.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Document.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/IElement.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/_Interface.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface creating /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/__init__.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testElement.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testInterface.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/bridge.txt -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/dummy.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/test_bridge.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testDocument.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testVisitImplements.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testVerify.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/testImplements.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/unitfixtures.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/tests/IFoo.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests copying build/lib/Interface/IMethod.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/_InterfaceClass.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Attribute.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/IAttribute.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/IInterface.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/iclass.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Verify.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface copying build/lib/Interface/Implements.py -> /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/_Element.py to _Element.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Method.py to Method.cpython-39.pyc File "/usr/lib/python3.9/site-packages/Interface/Method.py", line 56 sig = sig + "=%s" % `self.optional[v]` ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/pyskel.py to pyskel.cpython-39.pyc File "/usr/lib/python3.9/site-packages/Interface/pyskel.py", line 57 print " ######################################" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" ######################################")? byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/Mapping.py to Mapping.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Common/tests/BaseTestMapping.py to BaseTestMapping.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/_object.py to _object.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Mapping.py to Mapping.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/pprint.py to pprint.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Exceptions.py to Exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/bridge.py to bridge.cpython-39.pyc File "/usr/lib/python3.9/site-packages/Interface/bridge.py", line 35 raise ValueError, 'Not a Zope 3 interface!' ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Document.py to Document.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/IElement.py to IElement.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/_Interface.py to _Interface.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testElement.py to testElement.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testInterface.py to testInterface.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/dummy.py to dummy.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/test_bridge.py to test_bridge.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testDocument.py to testDocument.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testVisitImplements.py to testVisitImplements.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testVerify.py to testVerify.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/testImplements.py to testImplements.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/unitfixtures.py to unitfixtures.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/tests/IFoo.py to IFoo.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/IMethod.py to IMethod.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/_InterfaceClass.py to _InterfaceClass.cpython-39.pyc File "/usr/lib/python3.9/site-packages/Interface/_InterfaceClass.py", line 57 raise TypeError, 'Expected base interfaces' ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Attribute.py to Attribute.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/IAttribute.py to IAttribute.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/IInterface.py to IInterface.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/iclass.py to iclass.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Verify.py to Verify.cpython-39.pyc /usr/lib/python3.9/site-packages/Interface/Verify.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? byte-compiling /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Implements.py to Implements.cpython-39.pyc writing byte-compilation script '/tmp/tmpvoz6emgp.py' /usr/bin/python3 /tmp/tmpvoz6emgp.py File "/usr/lib/python3.9/site-packages/Interface/Method.py", line 56 sig = sig + "=%s" % `self.optional[v]` ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/Interface/pyskel.py", line 57 print " ######################################" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" ######################################")? File "/usr/lib/python3.9/site-packages/Interface/bridge.py", line 35 raise ValueError, 'Not a Zope 3 interface!' ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/Interface/_InterfaceClass.py", line 57 raise TypeError, 'Expected base interfaces' ^ SyntaxError: invalid syntax /usr/lib/python3.9/site-packages/Interface/Verify.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? removing /tmp/tmpvoz6emgp.py running install_egg_info running egg_info writing src/Interface.egg-info/PKG-INFO writing dependency_links to src/Interface.egg-info/dependency_links.txt writing requirements to src/Interface.egg-info/requires.txt writing top-level names to src/Interface.egg-info/top_level.txt reading manifest file 'src/Interface.egg-info/SOURCES.txt' writing manifest file 'src/Interface.egg-info/SOURCES.txt' Copying src/Interface.egg-info to /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface-2.11.1-py3.9.egg-info running install_scripts + install -d -m755 /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64//usr/share/doc/python-Interface + '[' -d doc ']' + '[' -d docs ']' + '[' -d example ']' + '[' -d examples ']' ~/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 ~/build/BUILD/Interface-2.11.1 + pushd /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64 + '[' -d usr/lib ']' + find usr/lib -type f -printf '/%h/%f\n' + '[' -d usr/lib64 ']' + '[' -d usr/bin ']' + '[' -d usr/sbin ']' + touch doclist.lst + '[' -d usr/share/man ']' ~/build/BUILD/Interface-2.11.1 + popd + mv /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.11.1-1 --unique-debug-suffix -2.11.1-1.x86_64 --unique-debug-src-base python-Interface-2.11.1-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/Interface-2.11.1 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-Interface-2.11.1-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 /usr/lib/python3.9/site-packages/Interface/Verify.py:39: SyntaxWarning: "is" with a literal. Did you mean "=="? *** Error compiling '/builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/Method.py'... File "/usr/lib/python3.9/site-packages/Interface/Method.py", line 56 sig = sig + "=%s" % `self.optional[v]` ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/_InterfaceClass.py'... File "/usr/lib/python3.9/site-packages/Interface/_InterfaceClass.py", line 57 raise TypeError, 'Expected base interfaces' ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/bridge.py'... File "/usr/lib/python3.9/site-packages/Interface/bridge.py", line 35 raise ValueError, 'Not a Zope 3 interface!' ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-Interface-2.11.1-1.x86_64/usr/lib/python3.9/site-packages/Interface/pyskel.py'... File "/usr/lib/python3.9/site-packages/Interface/pyskel.py", line 57 print " ######################################" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" ######################################")? error: Bad exit status from /var/tmp/rpm-tmp.SwCkV5 (%install) Bad exit status from /var/tmp/rpm-tmp.SwCkV5 (%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-interface.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-interface.spec