Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-aioquic.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682286619.319693/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 aarch64 --nodeps /builddir/build/SPECS/python-aioquic.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-aioquic-0.9.20-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/python-aioquic.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682286619.319693/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 aarch64 --nodeps /builddir/build/SPECS/python-aioquic.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/python-aioquic-0.9.20-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-aioquic.spec'], chrootPath='/var/lib/mock/openeuler-22.03-aarch64-1682286619.319693/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 aarch64 --nodeps /builddir/build/SPECS/python-aioquic.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OE8dW8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf aioquic-0.9.20 + /usr/bin/gzip -dc /builddir/build/SOURCES/aioquic-0.9.20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd aioquic-0.9.20 + /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.8tEBQ5 + umask 022 + cd /builddir/build/BUILD + cd aioquic-0.9.20 + 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 -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.linux-aarch64-3.9 creating build/lib.linux-aarch64-3.9/aioquic copying src/aioquic/about.py -> build/lib.linux-aarch64-3.9/aioquic copying src/aioquic/buffer.py -> build/lib.linux-aarch64-3.9/aioquic copying src/aioquic/tls.py -> build/lib.linux-aarch64-3.9/aioquic copying src/aioquic/__init__.py -> build/lib.linux-aarch64-3.9/aioquic creating build/lib.linux-aarch64-3.9/aioquic/asyncio copying src/aioquic/asyncio/protocol.py -> build/lib.linux-aarch64-3.9/aioquic/asyncio copying src/aioquic/asyncio/__init__.py -> build/lib.linux-aarch64-3.9/aioquic/asyncio copying src/aioquic/asyncio/client.py -> build/lib.linux-aarch64-3.9/aioquic/asyncio copying src/aioquic/asyncio/server.py -> build/lib.linux-aarch64-3.9/aioquic/asyncio creating build/lib.linux-aarch64-3.9/aioquic/h0 copying src/aioquic/h0/connection.py -> build/lib.linux-aarch64-3.9/aioquic/h0 copying src/aioquic/h0/__init__.py -> build/lib.linux-aarch64-3.9/aioquic/h0 creating build/lib.linux-aarch64-3.9/aioquic/h3 copying src/aioquic/h3/exceptions.py -> build/lib.linux-aarch64-3.9/aioquic/h3 copying src/aioquic/h3/events.py -> build/lib.linux-aarch64-3.9/aioquic/h3 copying src/aioquic/h3/connection.py -> build/lib.linux-aarch64-3.9/aioquic/h3 copying src/aioquic/h3/__init__.py -> build/lib.linux-aarch64-3.9/aioquic/h3 creating build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/recovery.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/crypto.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/events.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/connection.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/retry.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/packet.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/logger.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/stream.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/__init__.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/packet_builder.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/configuration.py -> build/lib.linux-aarch64-3.9/aioquic/quic copying src/aioquic/quic/rangeset.py -> build/lib.linux-aarch64-3.9/aioquic/quic running egg_info writing src/aioquic.egg-info/PKG-INFO writing dependency_links to src/aioquic.egg-info/dependency_links.txt writing requirements to src/aioquic.egg-info/requires.txt writing top-level names to src/aioquic.egg-info/top_level.txt reading manifest file 'src/aioquic.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'src/aioquic.egg-info/SOURCES.txt' copying src/aioquic/_buffer.c -> build/lib.linux-aarch64-3.9/aioquic copying src/aioquic/_crypto.c -> build/lib.linux-aarch64-3.9/aioquic running build_ext building 'aioquic._buffer' extension creating build/temp.linux-aarch64-3.9 creating build/temp.linux-aarch64-3.9/src creating build/temp.linux-aarch64-3.9/src/aioquic gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c src/aioquic/_buffer.c -o build/temp.linux-aarch64-3.9/src/aioquic/_buffer.o -std=c99 gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-aarch64-3.9/src/aioquic/_buffer.o -L/usr/lib64 -o build/lib.linux-aarch64-3.9/aioquic/_buffer.cpython-39-aarch64-linux-gnu.so building 'aioquic._crypto' extension gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -funsigned-char -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 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c src/aioquic/_crypto.c -o build/temp.linux-aarch64-3.9/src/aioquic/_crypto.o -std=c99 src/aioquic/_crypto.c:4:10: fatal error: openssl/err.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.8tEBQ5 (%build) Bad exit status from /var/tmp/rpm-tmp.8tEBQ5 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/python-aioquic.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 aarch64 --nodeps /builddir/build/SPECS/python-aioquic.spec