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/liboqs.spec'], chrootPath='/var/lib/mock/f40-build-772733-126616/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/liboqs.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=1704672000 Wrote: /builddir/build/SRPMS/liboqs-0.9.0-2.0.riscv64.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liboqs.spec'], chrootPath='/var/lib/mock/f40-build-772733-126616/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/liboqs.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=1704672000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jnNmPV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf liboqs-0.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/0.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liboqs-0.9.0 + rm -rf /builddir/build/BUILD/liboqs-0.9.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/liboqs-0.9.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf src/kem/bike + rm -rf src/kem/bike/additional_r4 + rm -rf src/kem/classic_mceliece + rm -rf src/kem/frodokem + rm -rf src/kem/hqc + rm -rf src/kem/ntruprime + sed -e '/COMMAND.*pytest/s|$| --ignore tests/test_code_conventions.py|' -i tests/CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jH44gO + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 liboqs-0.9.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + 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 ' + 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 -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 -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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=STD -DOQS_USE_SHA3_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH .. CMake Warning: Ignoring extra path from command line: ".." -- The C compiler identification is GNU 13.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- 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 CMake Error at CMakeLists.txt:93 (message): Unknown or unsupported processor: riscv64. Override by setting OQS_PERMIT_UNSUPPORTED_ARCHITECTURE=ON -- Configuring incomplete, errors occurred! -- Cache values // Path to a program. CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line // Path to a program. CMAKE_AR:FILEPATH=/usr/bin/ar // ASM compiler CMAKE_ASM_COMPILER:FILEPATH=/usr/bin/gcc // A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler CMAKE_ASM_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar // A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler CMAKE_ASM_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib // Flags used by the ASM compiler during all build types. CMAKE_ASM_FLAGS:STRING= // Flags used by the ASM compiler during DEBUG builds. CMAKE_ASM_FLAGS_DEBUG:STRING=-g // Flags used by the ASM compiler during MINSIZEREL builds. CMAKE_ASM_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG // Flags used by the ASM compiler during RELEASE builds. CMAKE_ASM_FLAGS_RELEASE:STRING=-O3 -DNDEBUG // Flags used by the ASM compiler during RELWITHDEBINFO builds. CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG // Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ... CMAKE_BUILD_TYPE:STRING=Debug // No help, variable specified on the command line. CMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG // C compiler CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc // A wrapper around 'ar' adding the appropriate '--plugin' option for the GCC compiler CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar // A wrapper around 'ranlib' adding the appropriate '--plugin' option for the GCC compiler CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib // Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 // Flags used by the C compiler during DEBUG builds. CMAKE_C_FLAGS_DEBUG:STRING=-g // Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG // No help, variable specified on the command line. CMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG // Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG // Path to a program. CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND // Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=-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 // Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= // Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= // Flags used by the linker during RELEASE builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= // Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= // Enable/Disable output of compile commands during generation. CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= // No help, variable specified on the command line. CMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG // No help, variable specified on the command line. CMAKE_INSTALL_DO_STRIP:BOOL=OFF // No help, variable specified on the command line. CMAKE_INSTALL_PREFIX:PATH=/usr // Path to a program. CMAKE_LINKER:FILEPATH=/usr/bin/ld // Program used to build from build.ninja files. CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/ninja-build // Flags used by the linker during the creation of modules during all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=-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 // Flags used by the linker during the creation of modules during DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= // Flags used by the linker during the creation of modules during MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= // Flags used by the linker during the creation of modules during RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= // Flags used by the linker during the creation of modules during RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= // Path to a program. CMAKE_NM:FILEPATH=/usr/bin/nm // Path to a program. CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy // Path to a program. CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump // Path to a program. CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib // Path to a program. CMAKE_READELF:FILEPATH=/usr/bin/readelf // Flags used by the linker during the creation of shared libraries during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=-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 // Flags used by the linker during the creation of shared libraries during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= // Flags used by the linker during the creation of shared libraries during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= // Flags used by the linker during the creation of shared libraries during RELEASE builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= // Flags used by the linker during the creation of shared libraries during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= // If set, runtime paths are not added when installing shared libraries, but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO // If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO // Flags used by the linker during the creation of static libraries during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING= // Flags used by the linker during the creation of static libraries during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= // Flags used by the linker during the creation of static libraries during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= // Flags used by the linker during the creation of static libraries during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= // Flags used by the linker during the creation of static libraries during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= // Path to a program. CMAKE_STRIP:FILEPATH=/usr/bin/strip // Path to a program. CMAKE_TAPI:FILEPATH=CMAKE_TAPI-NOTFOUND // No help, variable specified on the command line. CMAKE_VERBOSE_MAKEFILE:BOOL=ON // No help, variable specified on the command line. INCLUDE_INSTALL_DIR:PATH=/usr/include // No help, variable specified on the command line. LIB_INSTALL_DIR:PATH=/usr/lib64 // Build only liboqs and do not expose build targets for tests, documentation, and pretty-printing available. OQS_BUILD_ONLY_LIB:BOOL=OFF // Build distributable library with optimized code for several CPU microarchitectures. Enables run-time CPU feature detection. OQS_DIST_BUILD:BOOL=ON // Only build specifically listed algorithms. OQS_MINIMAL_BUILD:STRING= // The target microarchitecture for optimization. OQS_OPT_TARGET:STRING=auto // Permit compilation on an an unsupported architecture. OQS_PERMIT_UNSUPPORTED_ARCHITECTURE:BOOL=OFF // Enable all compiler warnings. OQS_STRICT_WARNINGS:BOOL=OFF // No help, variable specified on the command line. SHARE_INSTALL_PREFIX:PATH=/usr/share // No help, variable specified on the command line. SYSCONF_INSTALL_DIR:PATH=/etc RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.jH44gO (%build) Bad exit status from /var/tmp/rpm-tmp.jH44gO (%build) 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/liboqs.spec