Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-haigha.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683370974.747569/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-haigha.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-haigha-0.9.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-haigha.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683370974.747569/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-haigha.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-haigha-0.9.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-haigha.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1683370974.747569/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-haigha.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.ka6jDo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf haigha-0.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/haigha-0.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd haigha-0.9.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.j88q6q + umask 022 + cd /builddir/build/BUILD + cd haigha-0.9.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/haigha copying haigha/__init__.py -> build/lib/haigha copying haigha/exceptions.py -> build/lib/haigha copying haigha/message.py -> build/lib/haigha copying haigha/reader.py -> build/lib/haigha copying haigha/writer.py -> build/lib/haigha copying haigha/channel.py -> build/lib/haigha copying haigha/channel_pool.py -> build/lib/haigha copying haigha/connection.py -> build/lib/haigha creating build/lib/haigha/frames copying haigha/frames/content_frame.py -> build/lib/haigha/frames copying haigha/frames/__init__.py -> build/lib/haigha/frames copying haigha/frames/header_frame.py -> build/lib/haigha/frames copying haigha/frames/method_frame.py -> build/lib/haigha/frames copying haigha/frames/frame.py -> build/lib/haigha/frames copying haigha/frames/heartbeat_frame.py -> build/lib/haigha/frames creating build/lib/haigha/classes copying haigha/classes/__init__.py -> build/lib/haigha/classes copying haigha/classes/protocol_class.py -> build/lib/haigha/classes copying haigha/classes/transaction_class.py -> build/lib/haigha/classes copying haigha/classes/basic_class.py -> build/lib/haigha/classes copying haigha/classes/channel_class.py -> build/lib/haigha/classes copying haigha/classes/queue_class.py -> build/lib/haigha/classes copying haigha/classes/exchange_class.py -> build/lib/haigha/classes creating build/lib/haigha/transports copying haigha/transports/__init__.py -> build/lib/haigha/transports copying haigha/transports/transport.py -> build/lib/haigha/transports copying haigha/transports/socket_transport.py -> build/lib/haigha/transports copying haigha/transports/event_transport.py -> build/lib/haigha/transports copying haigha/transports/gevent_transport.py -> build/lib/haigha/transports creating build/lib/haigha/connections copying haigha/connections/__init__.py -> build/lib/haigha/connections copying haigha/connections/rabbit_connection.py -> build/lib/haigha/connections + sleep 1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.iCNWVh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64 ++ dirname /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64 + cd haigha-0.9.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-haigha-0.9.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-haigha-0.9.0-1.x86_64/usr creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9 creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha copying build/lib/haigha/__init__.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha copying build/lib/haigha/exceptions.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha copying build/lib/haigha/message.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/content_frame.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/__init__.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/header_frame.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/method_frame.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/frame.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/frames/heartbeat_frame.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames copying build/lib/haigha/reader.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/__init__.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/protocol_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/transaction_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/basic_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/channel_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/queue_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/classes/exchange_class.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes copying build/lib/haigha/writer.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/transports/__init__.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/transports/transport.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/transports/socket_transport.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/transports/event_transport.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/transports/gevent_transport.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports copying build/lib/haigha/channel.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha copying build/lib/haigha/channel_pool.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha creating /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connections copying build/lib/haigha/connections/__init__.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connections copying build/lib/haigha/connections/rabbit_connection.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connections copying build/lib/haigha/connection.py -> /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/exceptions.py to exceptions.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/message.py to message.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/content_frame.py to content_frame.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/header_frame.py to header_frame.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/method_frame.py to method_frame.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/frame.py to frame.cpython-39.pyc File "/usr/lib/python3.9/site-packages/haigha/frames/frame.py", line 74 raise Frame.FormatError, str(e), sys.exc_info()[-1] ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/heartbeat_frame.py to heartbeat_frame.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/reader.py to reader.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/protocol_class.py to protocol_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/transaction_class.py to transaction_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/basic_class.py to basic_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/channel_class.py to channel_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/queue_class.py to queue_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/classes/exchange_class.py to exchange_class.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/writer.py to writer.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/transport.py to transport.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/socket_transport.py to socket_transport.cpython-39.pyc File "/usr/lib/python3.9/site-packages/haigha/transports/socket_transport.py", line 27 def connect(self, (host, port), klass=socket.socket): ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/event_transport.py to event_transport.cpython-39.pyc File "/usr/lib/python3.9/site-packages/haigha/transports/event_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/gevent_transport.py to gevent_transport.cpython-39.pyc File "/usr/lib/python3.9/site-packages/haigha/transports/gevent_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/channel.py to channel.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/channel_pool.py to channel_pool.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connections/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connections/rabbit_connection.py to rabbit_connection.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/connection.py to connection.cpython-39.pyc writing byte-compilation script '/tmp/tmpi9b6gcnz.py' /usr/bin/python3 /tmp/tmpi9b6gcnz.py File "/usr/lib/python3.9/site-packages/haigha/frames/frame.py", line 74 raise Frame.FormatError, str(e), sys.exc_info()[-1] ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/haigha/transports/socket_transport.py", line 27 def connect(self, (host, port), klass=socket.socket): ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/haigha/transports/event_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax File "/usr/lib/python3.9/site-packages/haigha/transports/gevent_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax removing /tmp/tmpi9b6gcnz.py running install_egg_info running egg_info writing haigha.egg-info/PKG-INFO writing dependency_links to haigha.egg-info/dependency_links.txt writing top-level names to haigha.egg-info/top_level.txt reading manifest file 'haigha.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE.txt' writing manifest file 'haigha.egg-info/SOURCES.txt' Copying haigha.egg-info to /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha-0.9.0-py3.9.egg-info running install_scripts no previously-included directories found matching '*.pyc' + install -d -m755 /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64//usr/share/doc/python-haigha + '[' -d doc ']' + '[' -d docs ']' + cp -arf docs /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64//usr/share/doc/python-haigha + '[' -d example ']' ~/build/BUILDROOT/python-haigha-0.9.0-1.x86_64 ~/build/BUILD/haigha-0.9.0 + '[' -d examples ']' + pushd /builddir/build/BUILDROOT/python-haigha-0.9.0-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/haigha-0.9.0 + popd + mv /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/filelist.lst . + mv /builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/doclist.lst . + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 0.9.0-1 --unique-debug-suffix -0.9.0-1.x86_64 --unique-debug-src-base python-haigha-0.9.0-1.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/haigha-0.9.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-haigha-0.9.0-1.x86_64/usr/lib/python3.9 using /usr/bin/python3.9 *** Error compiling '/builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/frames/frame.py'... File "/usr/lib/python3.9/site-packages/haigha/frames/frame.py", line 74 raise Frame.FormatError, str(e), sys.exc_info()[-1] ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/event_transport.py'... File "/usr/lib/python3.9/site-packages/haigha/transports/event_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/gevent_transport.py'... File "/usr/lib/python3.9/site-packages/haigha/transports/gevent_transport.py", line 49 def connect(self, (host, port)): ^ SyntaxError: invalid syntax *** Error compiling '/builddir/build/BUILDROOT/python-haigha-0.9.0-1.x86_64/usr/lib/python3.9/site-packages/haigha/transports/socket_transport.py'... File "/usr/lib/python3.9/site-packages/haigha/transports/socket_transport.py", line 27 def connect(self, (host, port), klass=socket.socket): ^ SyntaxError: invalid syntax error: Bad exit status from /var/tmp/rpm-tmp.iCNWVh (%install) Bad exit status from /var/tmp/rpm-tmp.iCNWVh (%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-haigha.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-haigha.spec