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/openssl-gost-engine.spec'], chrootPath='/var/lib/mock/f41-build-838801-159747/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/openssl-gost-engine.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=1706140800 Wrote: /builddir/build/SRPMS/openssl-gost-engine-3.0.3-3.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/openssl-gost-engine.spec'], chrootPath='/var/lib/mock/f41-build-838801-159747/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/openssl-gost-engine.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=1706140800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JRBg72 + umask 022 + cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + test -d /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + /usr/bin/rm -rf /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tWdvpX + umask 022 + cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build + rm -rf engine-3.0.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openssl-gost-engine-3.0.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd engine-3.0.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/01-engine-nowerror.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hx6lp9 + umask 022 + cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-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 engine-3.0.3 + 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 + /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 -B redhat-linux-build -- The C compiler identification is GNU 14.1.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 -- Found OpenSSL: /usr/lib64/libcrypto.so (found suitable version "3.2.2", minimum required is "3.0") -- Setting build type to 'RelWithDebInfo' as none was specified. -- Setting OpenSSL root: /usr -- Found OpenSSL application: /usr/bin/openssl -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- LITTLE_ENDIAN -- Performing Test ADDCARRY_U64 -- Performing Test ADDCARRY_U64 - Failed -- Performing Test RELAXED_ALIGNMENT -- Performing Test RELAXED_ALIGNMENT - Success -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- No Test2::V0 perl module (engine and provider tests skipped) CMake Deprecation Warning at libprov/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning (dev) at CMakeLists.txt:438 (install): Target lib_gost_engine has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION. This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done (6.2s) -- Generating done (0.3s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build + /usr/bin/make -O -j4 V=1 VERBOSE=1 -C redhat-linux-build make: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /usr/bin/cmake -S/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 -B/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 make: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/CMakeFiles /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build//CMakeFiles/progress.marks make: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f CMakeFiles/test_digest.dir/build.make CMakeFiles/test_digest.dir/depend /usr/bin/make -f CMakeFiles/test_ciphers.dir/build.make CMakeFiles/test_ciphers.dir/depend /usr/bin/make -f CMakeFiles/gost_err.dir/build.make CMakeFiles/gost_err.dir/depend /usr/bin/make -f CMakeFiles/gost_core.dir/build.make CMakeFiles/gost_core.dir/depend make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/CMakeFiles/gost_err.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/CMakeFiles/test_digest.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/CMakeFiles/test_ciphers.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /usr/bin/make -f CMakeFiles/test_digest.dir/build.make CMakeFiles/test_digest.dir/build /usr/bin/make -f CMakeFiles/test_ciphers.dir/build.make CMakeFiles/test_ciphers.dir/build /usr/bin/make -f CMakeFiles/gost_err.dir/build.make CMakeFiles/gost_err.dir/build make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' cd /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3 /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/CMakeFiles/gost_core.dir/DependInfo.cmake "--color=" make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /usr/bin/make -f CMakeFiles/gost_core.dir/build.make CMakeFiles/gost_core.dir/build make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 3%] Building C object CMakeFiles/test_ciphers.dir/test_ciphers.c.o /usr/bin/gcc -DENGINE_DIR=\"/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/bin\" -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/test_ciphers.dir/test_ciphers.c.o -MF CMakeFiles/test_ciphers.dir/test_ciphers.c.o.d -o CMakeFiles/test_ciphers.dir/test_ciphers.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/test_ciphers.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/test_ciphers.c:13:10: fatal error: openssl/engine.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/test_ciphers.dir/build.make:79: CMakeFiles/test_ciphers.dir/test_ciphers.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:171: CMakeFiles/test_ciphers.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 3%] Building C object CMakeFiles/test_digest.dir/test_digest.c.o /usr/bin/gcc -DENGINE_DIR=\"/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build/bin\" -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/test_digest.dir/test_digest.c.o -MF CMakeFiles/test_digest.dir/test_digest.c.o.d -o CMakeFiles/test_digest.dir/test_digest.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/test_digest.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/test_digest.c:16:10: fatal error: openssl/engine.h: No such file or directory 16 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/test_digest.dir/build.make:79: CMakeFiles/test_digest.dir/test_digest.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:145: CMakeFiles/test_digest.dir/all] Error 2 make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 4%] Building C object CMakeFiles/gost_core.dir/gost_ameth.c.o /usr/bin/gcc -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -fPIC -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/gost_core.dir/gost_ameth.c.o -MF CMakeFiles/gost_core.dir/gost_ameth.c.o.d -o CMakeFiles/gost_core.dir/gost_ameth.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_ameth.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_ameth.c:13:10: fatal error: openssl/engine.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/gost_core.dir/build.make:79: CMakeFiles/gost_core.dir/gost_ameth.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 3%] Building C object CMakeFiles/gost_err.dir/e_gost_err.c.o /usr/bin/gcc -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -fPIC -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/gost_err.dir/e_gost_err.c.o -MF CMakeFiles/gost_err.dir/e_gost_err.c.o.d -o CMakeFiles/gost_err.dir/e_gost_err.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/e_gost_err.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 7%] Building C object CMakeFiles/gost_core.dir/gost_ctl.c.o /usr/bin/gcc -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -fPIC -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/gost_core.dir/gost_ctl.c.o -MF CMakeFiles/gost_core.dir/gost_ctl.c.o.d -o CMakeFiles/gost_core.dir/gost_ctl.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_ctl.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_ctl.c:13:10: fatal error: openssl/engine.h: No such file or directory 13 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/gost_core.dir/build.make:107: CMakeFiles/gost_core.dir/gost_ctl.c.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 8%] Linking C static library libgost_err.a /usr/bin/cmake -P CMakeFiles/gost_err.dir/cmake_clean_target.cmake /usr/bin/cmake -E cmake_link_script CMakeFiles/gost_err.dir/link.txt --verbose=1 /usr/bin/ar qc libgost_err.a CMakeFiles/gost_err.dir/e_gost_err.c.o /usr/bin/ranlib libgost_err.a make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make[1]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 8%] Built target gost_err make[1]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' make[2]: Entering directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' [ 6%] Building C object CMakeFiles/gost_core.dir/gost_pmeth.c.o /usr/bin/gcc -DL_ENDIAN -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 -O2 -ggdb -std=gnu90 -fPIC -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -Wno-error=unknown-pragmas -Wno-error=pragmas -Wno-deprecated-declarations -MD -MT CMakeFiles/gost_core.dir/gost_pmeth.c.o -MF CMakeFiles/gost_core.dir/gost_pmeth.c.o.d -o CMakeFiles/gost_core.dir/gost_pmeth.c.o -c /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_pmeth.c make[2]: Leaving directory '/builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/redhat-linux-build' In file included from /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_pmeth.c:19: /builddir/build/BUILD/openssl-gost-engine-3.0.3-build/engine-3.0.3/gost_lcl.h:18:11: fatal error: openssl/engine.h: No such file or directory 18 | # include | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [CMakeFiles/gost_core.dir/build.make:93: CMakeFiles/gost_core.dir/gost_pmeth.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:461: CMakeFiles/gost_core.dir/all] Error 2 make: *** [Makefile:149: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.hx6lp9 (%build) Bad exit status from /var/tmp/rpm-tmp.hx6lp9 (%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/openssl-gost-engine.spec