Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/f41-build-829848-156188/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1718928000 Wrote: /builddir/build/SRPMS/m2crypto-0.41.0^git20240613.3156614-1.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.spec'], chrootPath='/var/lib/mock/f41-build-829848-156188/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1718928000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Zi66Rz + umask 022 + cd /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + test -d /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + /usr/bin/rm -rf /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + /usr/bin/mkdir -p /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + /usr/bin/mkdir -p /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tyZHLu + umask 022 + cd /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + cd /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + rm -rf m2crypto-3156614a94a4767ee563530983cba87cf2aad193 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/m2crypto-3156614a94a4767ee563530983cba87cf2aad193.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd m2crypto-3156614a94a4767ee563530983cba87cf2aad193 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Don-t-expect-test_mkcert-to-fail-on-32-bit-Fedora-sp.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -f src/M2Crypto/m2crypto.py src/SWIG/_m2crypto_wrap.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qKulwD + umask 022 + cd /builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd m2crypto-3156614a94a4767ee563530983cba87cf2aad193 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + pkg-config openssl ++ pkg-config --cflags openssl + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS ++ pkg-config --libs-only-L openssl + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' INFO:run_command:running build INFO:run_command:running build_py INFO:mkpath:creating build INFO:mkpath:creating build/lib.linux-riscv64-cpython-313 INFO:mkpath:creating build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/X509.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/DSA.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Rand.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/__init__.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2xmlrpclib.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Err.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/ftpslib.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/AuthCookie.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/callback.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/BN.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib2.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/m2urllib.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/RSA.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/RC4.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/DH.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/Engine.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/EVP.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/util.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/httpslib.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/SMIME.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/threading.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/ASN1.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/BIO.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:copy_file:copying src/M2Crypto/EC.py -> build/lib.linux-riscv64-cpython-313/M2Crypto INFO:mkpath:creating build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/cb.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/TwistedProtocolWrapper.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/__init__.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Cipher.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/SSLServer.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Session.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Connection.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Context.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/timeout.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:copy_file:copying src/M2Crypto/SSL/Checker.py -> build/lib.linux-riscv64-cpython-313/M2Crypto/SSL INFO:run_command:running egg_info INFO:mkpath:creating src/M2Crypto.egg-info INFO:write_pkg_info:writing src/M2Crypto.egg-info/PKG-INFO INFO:write_file:writing dependency_links to src/M2Crypto.egg-info/dependency_links.txt INFO:write_file:writing requirements to src/M2Crypto.egg-info/requires.txt INFO:write_file:writing top-level names to src/M2Crypto.egg-info/top_level.txt INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_manifest:reading manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:read_template:reading manifest template 'MANIFEST.in' WARNING:process_template_line:warning: no files found matching '*.dat' under directory 'tests' WARNING:process_template_line:warning: no files found matching '*.p7*' under directory 'tests' WARNING:process_template_line:warning: no previously-included files matching '*' found under directory '.keys' WARNING:process_template_line:warning: no files found matching 'src/SWIG/_m2crypto_wrap.c' WARNING:process_template_line:warning: no files found matching 'src/M2Crypto/m2crypto.py' INFO:add_license_files:adding license file 'LICENCE' INFO:execute:writing manifest file 'src/M2Crypto.egg-info/SOURCES.txt' INFO:run_command:running build_ext INFO:build_extension:building 'M2Crypto._m2crypto' extension INFO:swig_sources:swigging src/SWIG/_m2crypto.i to src/SWIG/_m2crypto_wrap.c INFO:spawn:swig -python -I/usr/lib/gcc/riscv64-redhat-linux/14/include -I/usr/local/include -I/usr/include -D__riscv64__ -I/usr/include/python3.13 -I/usr/include/openssl -includeall -builtin -outdir build/lib.linux-riscv64-cpython-313/M2Crypto -o src/SWIG/_m2crypto_wrap.c src/SWIG/_m2crypto.i INFO:mkpath:creating build/temp.linux-riscv64-cpython-313 INFO:mkpath:creating build/temp.linux-riscv64-cpython-313/src INFO:mkpath:creating build/temp.linux-riscv64-cpython-313/src/SWIG INFO:spawn:gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -I/usr/include/python3.13 -I/builddir/build/BUILD/m2crypto-0.41.0_git20240613.3156614-build/m2crypto-3156614a94a4767ee563530983cba87cf2aad193/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o build/temp.linux-riscv64-cpython-313/src/SWIG/_m2crypto_wrap.o -DTHREADING -Wno-deprecated-declarations src/SWIG/_m2crypto_wrap.c:10167:10: fatal error: openssl/engine.h: No such file or directory 10167 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.qKulwD (%build) Bad exit status from /var/tmp/rpm-tmp.qKulwD (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/m2crypto.spec