Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-xeddsa.spec'], chrootPath='/var/lib/mock/f37-build-647412-72676/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-xeddsa.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=1658448000 Wrote: /builddir/build/SRPMS/python-xeddsa-0.6.0~beta-8.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-xeddsa.spec'], chrootPath='/var/lib/mock/f37-build-647412-72676/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-xeddsa.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=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lNvMfU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-xeddsa-0.6.0-beta + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.6.0-beta.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd python-xeddsa-0.6.0-beta + /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.zaTe2H + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 python-xeddsa-0.6.0-beta + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + 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' -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for getentropy -- Looking for getentropy - found -- Looking for getentropy -- Looking for getentropy - found -- Looking for getrandom -- Looking for getrandom - found -- Looking for getrandom -- Looking for getrandom - not found -- Looking for SYS_getrandom -- Looking for SYS_getrandom - found -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/build [ 1%] Building C object CMakeFiles/crypto_core_objects.dir/crypto_core/core.c.o [ 1%] Built target crypto_core_objects [ 2%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_core_static.a [ 2%] Built target crypto_core_static [ 3%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_core_dynamic.so [ 3%] Built target crypto_core_dynamic [ 4%] Building C object CMakeFiles/crypto_hash_objects.dir/crypto_hash/hash.c.o [ 4%] Built target crypto_hash_objects [ 5%] Building C object CMakeFiles/crypto_hashblocks_objects.dir/crypto_hashblocks/blocks.c.o [ 5%] Built target crypto_hashblocks_objects [ 7%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_hashblocks_static.a [ 7%] Built target crypto_hashblocks_static [ 8%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_hash_static.a [ 8%] Built target crypto_hash_static [ 9%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_hashblocks_dynamic.so [ 9%] Built target crypto_hashblocks_dynamic [ 10%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_hash_dynamic.so [ 10%] Built target crypto_hash_dynamic [ 11%] Building C object CMakeFiles/crypto_rng_objects.dir/crypto_rng/rng.c.o [ 11%] Built target crypto_rng_objects [ 12%] Building C object CMakeFiles/crypto_stream_objects.dir/crypto_stream/stream.c.o [ 14%] Building C object CMakeFiles/crypto_stream_objects.dir/crypto_stream/xor.c.o [ 14%] Built target crypto_stream_objects [ 15%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_stream_static.a [ 15%] Built target crypto_stream_static [ 16%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_rng_static.a [ 16%] Built target crypto_rng_static [ 17%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_stream_dynamic.so [ 17%] Built target crypto_stream_dynamic [ 18%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_rng_dynamic.so [ 18%] Built target crypto_rng_dynamic [ 20%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/base.c.o [ 21%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_0.c.o [ 22%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_1.c.o [ 23%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_add.c.o [ 24%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_copy.c.o [ 25%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_cswap.c.o [ 27%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_frombytes.c.o [ 28%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_invert.c.o [ 29%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_mul121666.c.o [ 30%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_mul.c.o [ 31%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_sq.c.o [ 32%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_sub.c.o [ 34%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/fe_tobytes.c.o [ 35%] Building C object CMakeFiles/crypto_scalarmult_objects.dir/crypto_scalarmult/scalarmult.c.o [ 35%] Built target crypto_scalarmult_objects [ 36%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_scalarmult_static.a [ 36%] Built target crypto_scalarmult_static [ 37%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_scalarmult_dynamic.so [ 37%] Built target crypto_scalarmult_dynamic [ 38%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_0.c.o [ 40%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_1.c.o [ 41%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_add.c.o [ 42%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_cmov.c.o [ 43%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_copy.c.o [ 44%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_frombytes.c.o [ 45%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_invert.c.o [ 47%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_isnegative.c.o [ 48%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_isnonzero.c.o [ 49%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_mul.c.o [ 50%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_neg.c.o [ 51%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_pow22523.c.o [ 52%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_sq2.c.o [ 54%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_sq.c.o [ 55%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_sub.c.o [ 56%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/fe_tobytes.c.o [ 57%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_add.c.o [ 58%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_double_scalarmult.c.o [ 60%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_frombytes.c.o [ 61%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_madd.c.o [ 62%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_msub.c.o [ 63%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p1p1_to_p2.c.o [ 64%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p1p1_to_p3.c.o [ 65%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p2_0.c.o [ 67%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p2_dbl.c.o [ 68%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p3_0.c.o [ 69%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p3_dbl.c.o [ 70%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p3_tobytes.c.o [ 71%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p3_to_cached.c.o [ 72%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_p3_to_p2.c.o [ 74%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_precomp_0.c.o [ 75%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_scalarmult_base.c.o [ 76%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_sub.c.o [ 77%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/ge_tobytes.c.o [ 78%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/keypair.c.o [ 80%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/open.c.o [ 81%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/sc_muladd.c.o [ 82%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/sc_reduce.c.o [ 83%] Building C object CMakeFiles/crypto_sign_objects.dir/crypto_sign/sign.c.o [ 83%] Built target crypto_sign_objects [ 84%] Building C object CMakeFiles/crypto_verify_objects.dir/crypto_verify/verify.c.o [ 84%] Built target crypto_verify_objects [ 85%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_verify_static.a [ 85%] Built target crypto_verify_static [ 87%] Building C object CMakeFiles/fastrandombytes_objects.dir/fastrandombytes/fastrandombytes.c.o [ 87%] Built target fastrandombytes_objects [ 88%] Building C object CMakeFiles/kernelrandombytes_objects.dir/kernelrandombytes/getentropy.c.o /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/kernelrandombytes/getentropy.c: In function ‘kernelrandombytes’: /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/kernelrandombytes/getentropy.c:10:5: warning: ignoring return value of ‘getentropy’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | getentropy(x,i); | ^~~~~~~~~~~~~~~ [ 88%] Built target kernelrandombytes_objects [ 89%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libkernelrandombytes_static.a [ 89%] Built target kernelrandombytes_static [ 90%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libfastrandombytes_static.a [ 90%] Built target fastrandombytes_static [ 91%] Linking C static library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_sign_static.a [ 91%] Built target crypto_sign_static [ 92%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_verify_dynamic.so [ 92%] Built target crypto_verify_dynamic [ 94%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libkernelrandombytes_dynamic.so [ 94%] Built target kernelrandombytes_dynamic [ 95%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libfastrandombytes_dynamic.so [ 95%] Built target fastrandombytes_dynamic [ 96%] Linking C shared library /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/libcrypto_sign_dynamic.so [ 96%] Built target crypto_sign_dynamic [ 97%] Building C object CMakeFiles/kernelrandombytes_test_objects.dir/kernelrandombytes/test.c.o [ 97%] Built target kernelrandombytes_test_objects [ 98%] Linking C executable /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/kernelrandombytes_test_static [ 98%] Built target kernelrandombytes_test_static [100%] Linking C executable /builddir/build/BUILD/python-xeddsa-0.6.0-beta/ref10/bin/kernelrandombytes_test_dynamic [100%] Built target kernelrandombytes_test_dynamic Attempting to compile the ref10 library... The compilation requires CMake and the "make" tool. The "cmake" and "make" commands are used. Library built successfully! Traceback (most recent call last): File "/builddir/build/BUILD/python-xeddsa-0.6.0-beta/setup.py", line 51, in setup( File "/usr/lib/python3.11/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 139, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 477, in __init__ _Distribution.__init__( File "/usr/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 275, in __init__ self.finalize_options() File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 901, in finalize_options ep(self) File "/usr/lib/python3.11/site-packages/setuptools/dist.py", line 922, in _finalize_setup_keywords ep.load()(self, ep.name, value) File "/usr/lib64/python3.11/site-packages/cffi/setuptools_ext.py", line 219, in cffi_modules add_cffi_module(dist, cffi_module) File "/usr/lib64/python3.11/site-packages/cffi/setuptools_ext.py", line 49, in add_cffi_module execfile(build_file_name, mod_vars) File "/usr/lib64/python3.11/site-packages/cffi/setuptools_ext.py", line 25, in execfile exec(code, glob, glob) File "ref10/build.py", line 142, in ffibuilder = cffi.FFI() ^^^^^^^^^^ File "/usr/lib64/python3.11/site-packages/cffi/api.py", line 48, in __init__ import _cffi_backend as backend ImportError: /usr/lib64/python3.11/site-packages/_cffi_backend.cpython-311-riscv64-linux-gnu.so: undefined symbol: ffi_type_longdouble error: Bad exit status from /var/tmp/rpm-tmp.zaTe2H (%build) Bad exit status from /var/tmp/rpm-tmp.zaTe2H (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 riscv64 --nodeps /builddir/build/SPECS/python-xeddsa.spec