<86>Jul 29 06:42:53 userdel[1060227]: delete user 'rooter' <86>Jul 29 06:42:53 userdel[1060227]: removed group 'rooter' owned by 'rooter' <86>Jul 29 06:42:53 userdel[1060227]: removed shadow group 'rooter' owned by 'rooter' <86>Jul 29 06:42:53 groupadd[1060260]: group added to /etc/group: name=rooter, GID=1817 <86>Jul 29 06:42:53 groupadd[1060260]: group added to /etc/gshadow: name=rooter <86>Jul 29 06:42:53 groupadd[1060260]: new group: name=rooter, GID=1817 <86>Jul 29 06:42:53 useradd[1060281]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Jul 29 06:42:53 userdel[1060332]: delete user 'builder' <86>Jul 29 06:42:53 userdel[1060332]: removed group 'builder' owned by 'builder' <86>Jul 29 06:42:53 userdel[1060332]: removed shadow group 'builder' owned by 'builder' <86>Jul 29 06:42:53 groupadd[1060367]: group added to /etc/group: name=builder, GID=1818 <86>Jul 29 06:42:53 groupadd[1060367]: group added to /etc/gshadow: name=builder <86>Jul 29 06:42:53 groupadd[1060367]: new group: name=builder, GID=1818 <86>Jul 29 06:42:53 useradd[1060395]: new user: name=builder, UID=1818, GID=1818, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1-alt4.src.rpm: license not found in '/usr/share/license' directory: BSD-style <13>Jul 29 06:42:56 rpmi: rpm-macros-cmake-3.27.1-alt1 sisyphus+325653.100.4.1 1690490984 installed <13>Jul 29 06:42:57 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Jul 29 06:42:57 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jul 29 06:42:57 rpmi: libuv-1.45.0-alt1 sisyphus+322120.40.2.1 1685405027 installed <13>Jul 29 06:42:57 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Jul 29 06:42:57 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Jul 29 06:42:57 rpmi: libp11-kit-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083450 installed <13>Jul 29 06:42:57 rpmi: libtasn1-4.19.0-alt2 sisyphus+323514.100.1.1 1687445898 installed <13>Jul 29 06:42:57 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Jul 29 06:42:57 rpmi: libgnutls30-3.7.9-alt1 sisyphus+315353.100.1.1 1676639387 installed <13>Jul 29 06:42:57 rpmi: libngtcp2.13-0.16.0-alt1 sisyphus+323677.40.3.1 1687690560 installed <13>Jul 29 06:42:57 rpmi: libngtcp2_crypto_gnutls5-0.16.0-alt1 sisyphus+323677.40.3.1 1687690560 installed <13>Jul 29 06:42:57 rpmi: perl-TermReadKey-2.38-alt1.1 sisyphus+279723.1000.1.1 1626649050 installed <13>Jul 29 06:42:57 rpmi: perl-Term-Size-Perl-0.031-alt1_6 sisyphus+241327.100.1.1 1574288839 installed <13>Jul 29 06:42:57 rpmi: perl-Term-Size-Any-0.002-alt2_29 sisyphus+241326.100.1.1 1574288724 installed <13>Jul 29 06:42:57 rpmi: perl-Module-Pluggable-5.2-alt1 1444625395 installed <13>Jul 29 06:42:57 rpmi: perl-Importer-0.026-alt1 sisyphus+257144.100.1.3 1598997893 installed <13>Jul 29 06:42:57 rpmi: perl-Filter-1.64-alt1 sisyphus+305464.100.1.1 1660815328 installed <13>Jul 29 06:42:57 rpmi: perl-Encode-3.19-alt1 sisyphus+304776.100.1.1 1659623414 installed <13>Jul 29 06:42:57 rpmi: perl-MIME-Charset-1.013.1-alt1 sisyphus+305467.100.1.3 1660819106 installed <13>Jul 29 06:42:57 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jul 29 06:42:57 rpmi: libgdbm-devel-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jul 29 06:42:58 rpmi: perl-devel-1:5.34.1-alt1 sisyphus+303178.100.1.1 1656953649 installed <13>Jul 29 06:42:58 rpmi: libdatrie-0.2.13-alt1_2 sisyphus+285649.100.1.1 1632260805 installed <13>Jul 29 06:42:58 rpmi: libthai-0.1.29-alt1_1 sisyphus+292947.100.1.1 1641111918 installed <13>Jul 29 06:42:58 rpmi: libsombok-2.4.0-alt4_14 sisyphus+279701.100.1.1 1626647209 installed <13>Jul 29 06:42:58 rpmi: perl-Unicode-LineBreak-2019.001-alt1.1 sisyphus+279723.1200.1.3 1626681772 installed <13>Jul 29 06:42:58 rpmi: perl-Term-Table-0.016-alt1 sisyphus+293132.100.1.1 1641619608 installed <13>Jul 29 06:42:58 rpmi: cmake-modules-3.27.1-alt1 sisyphus+325653.100.4.1 1690490967 installed <13>Jul 29 06:42:58 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Jul 29 06:42:58 rpmi: publicsuffix-list-dafsa-20230701-alt1 sisyphus+324303.100.1.1 1688561153 installed <13>Jul 29 06:42:58 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Jul 29 06:42:58 rpmi: libnghttp3.7-0.12.0-alt1 sisyphus+323677.20.3.1 1687690509 installed <13>Jul 29 06:42:58 rpmi: libnghttp2-1.54.0-alt1 sisyphus+324359.10000.11.1 1689368796 installed <13>Jul 29 06:42:58 rpmi: openldap-common-2.6.4-alt1 sisyphus+324359.600.5.1 1689262595 installed <13>Jul 29 06:42:58 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Jul 29 06:42:58 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Jul 29 06:42:58 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Jul 29 06:42:58 rpmi: liblmdb-0.9.29-alt1.1 sisyphus+306630.100.1.1 1663072361 installed <13>Jul 29 06:42:58 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Jul 29 06:42:58 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Jul 29 06:42:58 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jul 29 06:42:58 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+278430.100.1.2 1626213212 installed <13>Jul 29 06:42:58 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 29 06:42:58 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jul 29 06:42:58 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jul 29 06:42:58 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jul 29 06:42:58 rpmi: p11-kit-trust-1:0.24.1-alt2 sisyphus+324666.100.1.1 1689083450 installed <13>Jul 29 06:42:58 rpmi: libcrypto3-3.1.1-alt3 sisyphus+325072.200.2.1 1689603123 installed <13>Jul 29 06:42:58 rpmi: libssl3-3.1.1-alt3 sisyphus+325072.200.2.1 1689603123 installed <86>Jul 29 06:42:58 groupadd[1071178]: group added to /etc/group: name=_keytab, GID=999 <86>Jul 29 06:42:58 groupadd[1071178]: group added to /etc/gshadow: name=_keytab <86>Jul 29 06:42:58 groupadd[1071178]: new group: name=_keytab, GID=999 <13>Jul 29 06:42:58 rpmi: libkrb5-1.21.1-alt1 sisyphus+325006.1000.1.1 1689497592 installed <13>Jul 29 06:42:58 rpmi: libgsasl-1.8.0-alt3 sisyphus+275307.100.1.2 1624478553 installed <86>Jul 29 06:42:58 groupadd[1071577]: group added to /etc/group: name=sasl, GID=998 <86>Jul 29 06:42:58 groupadd[1071577]: group added to /etc/gshadow: name=sasl <86>Jul 29 06:42:58 groupadd[1071577]: new group: name=sasl, GID=998 <13>Jul 29 06:42:58 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392231 installed <13>Jul 29 06:42:58 rpmi: libldap2-2.6.4-alt1 sisyphus+324359.600.5.1 1689262623 installed <13>Jul 29 06:42:58 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326414 installed <13>Jul 29 06:42:58 rpmi: libssh2-1.10.0-alt1 sisyphus+324359.1600.6.1 1689326497 installed <13>Jul 29 06:42:58 rpmi: libcurl-8.2.0-alt1 sisyphus+325152.100.2.1 1689763552 installed <13>Jul 29 06:42:58 rpmi: cmake-3.27.1-alt1 sisyphus+325653.100.4.1 1690490984 installed <13>Jul 29 06:42:59 rpmi: ctest-3.27.1-alt1 sisyphus+325653.100.4.1 1690490984 installed <13>Jul 29 06:42:59 rpmi: libssl-devel-3.1.1-alt3 sisyphus+325072.200.2.1 1689603123 installed <13>Jul 29 06:42:59 rpmi: openssl-3.1.1-alt3 sisyphus+325072.200.2.1 1689603123 installed <13>Jul 29 06:42:59 rpmi: perl-Test2-Suite-0.000155-alt1 sisyphus+319545.100.1.1 1682734203 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1-alt4.nosrc.rpm (w1.gzdio) Installing openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1-alt4.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.96902 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 + echo 'Source #0 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1.tar):' Source #0 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1.tar + cd openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d-mac-iv.patch):' Patch #0 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d-mac-iv.patch): + /usr/bin/patch -p1 patching file gost_crypt.c patching file gost_lcl.h + echo 'Patch #1 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d-gost89-ecb.patch):' Patch #1 (openssl-gost-engine-1.1.0.3.0.255.ge3af41d-gost89-ecb.patch): + /usr/bin/patch -p1 patching file gost_crypt.c patching file gost_eng.c patching file gost_lcl.h patching file test/00-engine.t + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.96902 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux CMake Deprecation Warning at 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. -- The C compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found OpenSSL: /usr/lib/libcrypto.so (found suitable version "3.1.1", minimum required is "1.1") -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- LITTLE_ENDIAN -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Configuring done (0.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS CMAKE_Fortran_FLAGS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 -B/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f CMakeFiles/gost_core.dir/build.make CMakeFiles/gost_core.dir/depend /usr/bin/gmake -f CMakeFiles/test_tlstree.dir/build.make CMakeFiles/test_tlstree.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' cd /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux/CMakeFiles/test_tlstree.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' cd /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1 /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux/CMakeFiles/gost_core.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/test_tlstree.dir/build.make CMakeFiles/test_tlstree.dir/build /usr/bin/gmake -f CMakeFiles/gost_core.dir/build.make CMakeFiles/gost_core.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 3%] Building C object CMakeFiles/gost_core.dir/gost89.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost89.c.o -MF CMakeFiles/gost_core.dir/gost89.c.o.d -o CMakeFiles/gost_core.dir/gost89.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost89.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 9%] Building C object CMakeFiles/gost_core.dir/gost_grasshopper_defines.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_grasshopper_defines.c.o -MF CMakeFiles/gost_core.dir/gost_grasshopper_defines.c.o.d -o CMakeFiles/gost_core.dir/gost_grasshopper_defines.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_defines.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 13%] Building C object CMakeFiles/gost_core.dir/gost_grasshopper_galois_precompiled.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_grasshopper_galois_precompiled.c.o -MF CMakeFiles/gost_core.dir/gost_grasshopper_galois_precompiled.c.o.d -o CMakeFiles/gost_core.dir/gost_grasshopper_galois_precompiled.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_galois_precompiled.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 7%] Building C object CMakeFiles/gost_core.dir/gosthash2012.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gosthash2012.c.o -MF CMakeFiles/gost_core.dir/gosthash2012.c.o.d -o CMakeFiles/gost_core.dir/gosthash2012.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gosthash2012.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 13%] Building C object CMakeFiles/gost_core.dir/gost_grasshopper_core.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_grasshopper_core.c.o -MF CMakeFiles/gost_core.dir/gost_grasshopper_core.c.o.d -o CMakeFiles/gost_core.dir/gost_grasshopper_core.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_core.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 5%] Building C object CMakeFiles/gost_core.dir/gosthash.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gosthash.c.o -MF CMakeFiles/gost_core.dir/gosthash.c.o.d -o CMakeFiles/gost_core.dir/gosthash.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gosthash.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 1%] Building C object CMakeFiles/test_tlstree.dir/test_tlstree.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/test_tlstree.dir/test_tlstree.c.o -MF CMakeFiles/test_tlstree.dir/test_tlstree.c.o.d -o CMakeFiles/test_tlstree.dir/test_tlstree.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/test_tlstree.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/test_tlstree.c: In function 'main': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/test_tlstree.c:130:34: error: 'EVP_CTRL_TLS1_2_TLSTREE' undeclared (first use in this function); did you mean 'EVP_CTRL_TLSTREE'? 130 | EVP_CIPHER_CTX_ctrl(enc, EVP_CTRL_TLS1_2_TLSTREE, 0, seq0); | ^~~~~~~~~~~~~~~~~~~~~~~ | EVP_CTRL_TLSTREE /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/test_tlstree.c:130:34: note: each undeclared identifier is reported only once for each function it appears in gmake[2]: *** [CMakeFiles/test_tlstree.dir/build.make:76: CMakeFiles/test_tlstree.dir/test_tlstree.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:483: CMakeFiles/test_tlstree.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 21%] Building C object CMakeFiles/gost_core.dir/gost_ec_sign.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_ec_sign.c.o -MF CMakeFiles/gost_core.dir/gost_ec_sign.c.o.d -o CMakeFiles/gost_core.dir/gost_ec_sign.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c: In function 'fill_GOST_EC_params': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:150:5: error: 'EC_KEY_set_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 150 | if (!EC_KEY_set_group(eckey, grp)) { | ^~ In file included from /usr/include/openssl/x509.h:33, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_lcl.h:15, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:9: /usr/include/openssl/ec.h:1045:27: note: declared here 1045 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_group(EC_KEY *key, const EC_GROUP *group); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c: In function 'gost_ec_sign': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:199:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 199 | group = EC_KEY_get0_group(eckey); | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:209:5: error: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 209 | priv_key = EC_KEY_get0_private_key(eckey); | ^~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c: In function 'gost_ec_verify': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:324:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 324 | const EC_GROUP *group = (ec) ? EC_KEY_get0_group(ec) : NULL; | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:354:5: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 354 | pub_key = EC_KEY_get0_public_key(ec); | ^~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c: In function 'gost_ec_compute_public': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:446:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 446 | const EC_GROUP *group = (ec) ? EC_KEY_get0_group(ec) : NULL; | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:464:5: error: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 464 | priv_key = EC_KEY_get0_private_key(ec); | ^~~~~~~~ /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:480:5: error: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 480 | if (!EC_KEY_set_public_key(ec, pub_key)) { | ^~ /usr/include/openssl/ec.h:1073:27: note: declared here 1073 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c: In function 'gost_ec_keygen': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:502:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 502 | const EC_GROUP *group = (ec) ? EC_KEY_get0_group(ec) : NULL; | ^~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_sign.c:530:5: error: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 530 | if (!EC_KEY_set_private_key(ec, d)) { | ^~ /usr/include/openssl/ec.h:1059:27: note: declared here 1059 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/gost_core.dir/build.make:202: CMakeFiles/gost_core.dir/gost_ec_sign.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 25%] Building C object CMakeFiles/gost_core.dir/gost_omac_acpkm.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_omac_acpkm.c.o -MF CMakeFiles/gost_core.dir/gost_omac_acpkm.c.o.d -o CMakeFiles/gost_core.dir/gost_omac_acpkm.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c: In function 'CMAC_ACPKM_Mesh': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:203:13: error: 'EVP_CIPHER_CTX_iv' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 203 | EVP_CIPHER_CTX_iv(ctx->cctx))) | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/cmac.h:25, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:9: /usr/include/openssl/evp.h:624:44: note: declared here 624 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_iv(const EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c: In function 'omac_acpkm_imit_ctrl': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:422:13: error: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 422 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:437:13: error: 'EVP_MD_meth_get_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 437 | if (EVP_MD_meth_get_init(EVP_MD_CTX_md(ctx)) (ctx) <= 0) { | ^~ /usr/include/openssl/evp.h:141:7: note: declared here 141 | int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:437:13: error: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 437 | if (EVP_MD_meth_get_init(EVP_MD_CTX_md(ctx)) (ctx) <= 0) { | ^~ /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:458:13: error: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 458 | if (!arg || (arg % EVP_MD_block_size(EVP_MD_CTX_md(ctx)))) | ^~ /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c: In function 'grasshopper_omac_acpkm': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:505:14: error: 'EVP_MD_meth_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 505 | EVP_MD_meth_new(NID_id_tc26_cipher_gostr3412_2015_kuznyechik_ctracpkm_omac, | ^~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:108:31: note: declared here 108 | OSSL_DEPRECATEDIN_3_0 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:507:13: error: 'EVP_MD_meth_set_result_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 507 | || !EVP_MD_meth_set_result_size(md, MAX_GOST_OMAC_ACPKM_SIZE) | ^~ /usr/include/openssl/evp.h:114:5: note: declared here 114 | int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:508:13: error: 'EVP_MD_meth_set_input_blocksize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 508 | || !EVP_MD_meth_set_input_blocksize(md, GRASSHOPPER_BLOCK_SIZE) | ^~ /usr/include/openssl/evp.h:112:5: note: declared here 112 | int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:509:13: error: 'EVP_MD_meth_set_app_datasize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 509 | || !EVP_MD_meth_set_app_datasize(md, sizeof(OMAC_ACPKM_CTX)) | ^~ /usr/include/openssl/evp.h:116:5: note: declared here 116 | int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:510:13: error: 'EVP_MD_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 510 | || !EVP_MD_meth_set_flags(md, 0) | ^~ /usr/include/openssl/evp.h:118:5: note: declared here 118 | int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:511:13: error: 'EVP_MD_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 511 | || !EVP_MD_meth_set_init(md, grasshopper_omac_acpkm_init) | ^~ /usr/include/openssl/evp.h:120:5: note: declared here 120 | int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:512:13: error: 'EVP_MD_meth_set_update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 512 | || !EVP_MD_meth_set_update(md, omac_acpkm_imit_update) | ^~ /usr/include/openssl/evp.h:122:5: note: declared here 122 | int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:513:13: error: 'EVP_MD_meth_set_final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 513 | || !EVP_MD_meth_set_final(md, omac_acpkm_imit_final) | ^~ /usr/include/openssl/evp.h:126:5: note: declared here 126 | int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:514:13: error: 'EVP_MD_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 514 | || !EVP_MD_meth_set_copy(md, omac_acpkm_imit_copy) | ^~ /usr/include/openssl/evp.h:129:5: note: declared here 129 | int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:515:13: error: 'EVP_MD_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 515 | || !EVP_MD_meth_set_cleanup(md, omac_acpkm_imit_cleanup) | ^~ /usr/include/openssl/evp.h:132:5: note: declared here 132 | int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:516:13: error: 'EVP_MD_meth_set_ctrl' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 516 | || !EVP_MD_meth_set_ctrl(md, omac_acpkm_imit_ctrl)) { | ^~ /usr/include/openssl/evp.h:134:5: note: declared here 134 | int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:517:13: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 517 | EVP_MD_meth_free(md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c: In function 'grasshopper_omac_acpkm_destroy': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac_acpkm.c:527:5: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 527 | EVP_MD_meth_free(_hidden_grasshopper_omac_acpkm_md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/gost_core.dir/build.make:230: CMakeFiles/gost_core.dir/gost_omac_acpkm.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 15%] Building C object CMakeFiles/gost_core.dir/gost_ec_keyx.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_ec_keyx.c.o -MF CMakeFiles/gost_core.dir/gost_ec_keyx.c.o.d -o CMakeFiles/gost_core.dir/gost_ec_keyx.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'VKO_compute_key': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:28:5: error: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 28 | const BIGNUM *key = EC_KEY_get0_private_key(priv_key); | ^~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_lcl.h:15, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:18: /usr/include/openssl/ec.h:1051:37: note: declared here 1051 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:29:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 29 | EC_POINT *pnt = EC_POINT_new(EC_KEY_get0_group(priv_key)); | ^~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:53:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 53 | EC_GROUP_get_order(EC_KEY_get0_group(priv_key), order, ctx); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:55:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 55 | if (!EC_POINT_mul(EC_KEY_get0_group(priv_key), pnt, NULL, pub_key, p, ctx)) { | ^~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:59:5: error: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 59 | EC_POINT_get_affine_coordinates(EC_KEY_get0_group(priv_key), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1037:39: note: declared here 1037 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'pkey_gost_ec_derive': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:199:33: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 199 | EC_KEY_get0_public_key(EVP_PKEY_get0(peer_key)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:199:33: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 199 | EC_KEY_get0_public_key(EVP_PKEY_get0(peer_key)), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:10: /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:200:33: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 200 | (EC_KEY *)EVP_PKEY_get0(my_key), | ^ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:213:32: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 213 | EC_KEY_get0_public_key(EVP_PKEY_get0(peer_key)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:213:32: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 213 | EC_KEY_get0_public_key(EVP_PKEY_get0(peer_key)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:214:32: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 214 | (EC_KEY *)EVP_PKEY_get0(my_key), key); | ^ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'pkey_GOST_ECcp_encrypt': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:272:13: error: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 272 | if (!EVP_PKEY_assign(sec_key, EVP_PKEY_base_id(pubk), EC_KEY_new()) | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:272:13: error: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 272 | if (!EVP_PKEY_assign(sec_key, EVP_PKEY_base_id(pubk), EC_KEY_new()) | ^~ /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:274:17: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 274 | || !gost_ec_keygen(EVP_PKEY_get0(sec_key))) { | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:292:30: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 292 | EC_KEY_get0_public_key(EVP_PKEY_get0(pubk)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:292:30: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 292 | EC_KEY_get0_public_key(EVP_PKEY_get0(pubk)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:293:30: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 293 | EVP_PKEY_get0(sec_key), ukm, 8, dgst_nid)) { | ^~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'pkey_gost2018_encrypt': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:399:7: error: 'EVP_PKEY_assign' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 399 | if (!EVP_PKEY_assign(sec_key, EVP_PKEY_base_id(pubk), EC_KEY_new()) | ^~ /usr/include/openssl/evp.h:1331:5: note: declared here 1331 | int EVP_PKEY_assign(EVP_PKEY *pkey, int type, void *key); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:399:7: error: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 399 | if (!EVP_PKEY_assign(sec_key, EVP_PKEY_base_id(pubk), EC_KEY_new()) | ^~ /usr/include/openssl/ec.h:971:31: note: declared here 971 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:401:11: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 401 | || !gost_ec_keygen(EVP_PKEY_get0(sec_key))) { | ^~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:410:18: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 410 | EC_KEY_get0_public_key(EVP_PKEY_get0(pubk)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:410:18: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 410 | EC_KEY_get0_public_key(EVP_PKEY_get0(pubk)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:411:18: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 411 | EVP_PKEY_get0(sec_key), expkeys) <= 0) { | ^~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'pkey_GOST_ECcp_decrypt': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:535:26: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 535 | EC_KEY_get0_public_key(EVP_PKEY_get0(peerkey)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:535:26: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 535 | EC_KEY_get0_public_key(EVP_PKEY_get0(peerkey)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:536:26: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 536 | EVP_PKEY_get0(priv), wrappedKey, 8, dgst_nid)) { | ^~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c: In function 'pkey_gost2018_decrypt': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:612:18: error: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 612 | EC_KEY_get0_public_key(EVP_PKEY_get0(eph_key)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1065:39: note: declared here 1065 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:612:18: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 612 | EC_KEY_get0_public_key(EVP_PKEY_get0(eph_key)), | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_ec_keyx.c:613:18: error: 'EVP_PKEY_get0' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 613 | EVP_PKEY_get0(priv), expkeys) <= 0) { | ^~~~~~~~~~~~~ /usr/include/openssl/evp.h:1333:7: note: declared here 1333 | void *EVP_PKEY_get0(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/gost_core.dir/build.make:188: CMakeFiles/gost_core.dir/gost_ec_keyx.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 21%] Building C object CMakeFiles/gost_core.dir/gost_grasshopper_cipher.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_grasshopper_cipher.c.o -MF CMakeFiles/gost_core.dir/gost_grasshopper_cipher.c.o.d -o CMakeFiles/gost_core.dir/gost_grasshopper_cipher.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_init': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:222:9: error: 'EVP_CIPHER_CTX_original_iv' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 222 | memcpy((unsigned char *)EVP_CIPHER_CTX_original_iv(ctx), iv, | ^~~~~~ In file included from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.h:15, from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:6: /usr/include/openssl/evp.h:625:44: note: declared here 625 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:226:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 226 | memcpy(EVP_CIPHER_CTX_iv_noconst(ctx), | ^~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:227:12: error: 'EVP_CIPHER_CTX_original_iv' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 227 | EVP_CIPHER_CTX_original_iv(ctx), EVP_CIPHER_CTX_iv_length(ctx)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:625:44: note: declared here 625 | OSSL_DEPRECATEDIN_3_0 const unsigned char *EVP_CIPHER_CTX_original_iv(const EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_do_cbc': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:350:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 350 | unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_do_ctr': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:413:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 413 | unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_do_ctracpkm': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:481:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 481 | unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_do_ofb': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:546:5: error: 'EVP_CIPHER_CTX_buf_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 546 | unsigned char *buf = EVP_CIPHER_CTX_buf_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:632:16: note: declared here 632 | unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:547:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 547 | unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'gost_grasshopper_cipher_do_cfb': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:610:5: error: 'EVP_CIPHER_CTX_buf_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 610 | unsigned char *buf = EVP_CIPHER_CTX_buf_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:632:16: note: declared here 632 | unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:611:5: error: 'EVP_CIPHER_CTX_iv_noconst' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 611 | unsigned char *iv = EVP_CIPHER_CTX_iv_noconst(ctx); | ^~~~~~~~ /usr/include/openssl/evp.h:626:38: note: declared here 626 | OSSL_DEPRECATEDIN_3_0 unsigned char *EVP_CIPHER_CTX_iv_noconst(EVP_CIPHER_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'cipher_gost_grasshopper_create': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:830:5: error: 'EVP_CIPHER_meth_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 830 | return EVP_CIPHER_meth_new(cipher_type, block_size /* block_size */ , | ^~~~~~ /usr/include/openssl/evp.h:232:13: note: declared here 232 | EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); | ^~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'cipher_gost_grasshopper_setup': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:837:5: error: 'EVP_CIPHER_meth_set_iv_length' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 837 | return EVP_CIPHER_meth_set_iv_length(cipher, iv_size) | ^~~~~~ /usr/include/openssl/evp.h:238:5: note: declared here 238 | int EVP_CIPHER_meth_set_iv_length(EVP_CIPHER *cipher, int iv_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:838:9: error: 'EVP_CIPHER_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 838 | && EVP_CIPHER_meth_set_flags(cipher, | ^~ /usr/include/openssl/evp.h:240:5: note: declared here 240 | int EVP_CIPHER_meth_set_flags(EVP_CIPHER *cipher, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:849:9: error: 'EVP_CIPHER_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 849 | && EVP_CIPHER_meth_set_cleanup(cipher, gost_grasshopper_cipher_cleanup) | ^~ /usr/include/openssl/evp.h:256:5: note: declared here 256 | int EVP_CIPHER_meth_set_cleanup(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:850:9: error: 'EVP_CIPHER_meth_set_set_asn1_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 850 | && EVP_CIPHER_meth_set_set_asn1_params(cipher, | ^~ /usr/include/openssl/evp.h:259:5: note: declared here 259 | int EVP_CIPHER_meth_set_set_asn1_params(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:852:9: error: 'EVP_CIPHER_meth_set_get_asn1_params' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 852 | && EVP_CIPHER_meth_set_get_asn1_params(cipher, | ^~ /usr/include/openssl/evp.h:263:5: note: declared here 263 | int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:854:9: error: 'EVP_CIPHER_meth_set_ctrl' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 854 | && EVP_CIPHER_meth_set_ctrl(cipher, gost_grasshopper_cipher_ctl) | ^~ /usr/include/openssl/evp.h:267:5: note: declared here 267 | int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:855:9: error: 'EVP_CIPHER_meth_set_do_cipher' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 855 | && EVP_CIPHER_meth_set_do_cipher(cipher, gost_grasshopper_cipher_do); | ^~ /usr/include/openssl/evp.h:250:5: note: declared here 250 | int EVP_CIPHER_meth_set_do_cipher(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'cipher_gost_grasshopper': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:882:13: error: 'EVP_CIPHER_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 882 | || !EVP_CIPHER_meth_set_init(*cipher, init_cipher) | ^~ /usr/include/openssl/evp.h:244:5: note: declared here 244 | int EVP_CIPHER_meth_set_init(EVP_CIPHER *cipher, | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:883:13: error: 'EVP_CIPHER_meth_set_impl_ctx_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 883 | || !EVP_CIPHER_meth_set_impl_ctx_size(*cipher, ctx_size)) { | ^~ /usr/include/openssl/evp.h:242:5: note: declared here 242 | int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:884:13: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 884 | EVP_CIPHER_meth_free(*cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c: In function 'cipher_gost_grasshopper_destroy': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:925:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 925 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_ECB]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:927:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 927 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_CBC]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:929:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 929 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_OFB]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:931:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 931 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_CFB]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:933:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 933 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_CTR]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_cipher.c:935:5: error: 'EVP_CIPHER_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 935 | EVP_CIPHER_meth_free(gost_grasshopper_ciphers[GRASSHOPPER_CIPHER_CTRACPKM]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:236:6: note: declared here 236 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/gost_core.dir/build.make:174: CMakeFiles/gost_core.dir/gost_grasshopper_cipher.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 23%] Building C object CMakeFiles/gost_core.dir/gost_omac.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_omac.c.o -MF CMakeFiles/gost_core.dir/gost_omac.c.o.d -o CMakeFiles/gost_core.dir/gost_omac.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_imit_update': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:72:5: error: 'CMAC_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 72 | return CMAC_Update(c->cmac_ctx, data, count); | ^~~~~~ In file included from /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:2: /usr/include/openssl/cmac.h:40:27: note: declared here 40 | OSSL_DEPRECATEDIN_3_0 int CMAC_Update(CMAC_CTX *ctx, | ^~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_imit_final': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:86:5: error: 'CMAC_Final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 86 | CMAC_Final(c->cmac_ctx, mac, &mac_size); | ^~~~~~~~~~ /usr/include/openssl/cmac.h:42:27: note: declared here 42 | OSSL_DEPRECATEDIN_3_0 int CMAC_Final(CMAC_CTX *ctx, | ^~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_imit_copy': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:107:13: error: 'CMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 107 | CMAC_CTX_free(c_to->cmac_ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:113:9: error: 'CMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 113 | c_to->cmac_ctx = CMAC_CTX_new(); | ^~~~ /usr/include/openssl/cmac.h:32:33: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:115:5: error: 'CMAC_CTX_copy' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 115 | return CMAC_CTX_copy(c_to->cmac_ctx, c_from->cmac_ctx); | ^~~~~~ /usr/include/openssl/cmac.h:36:27: note: declared here 36 | OSSL_DEPRECATEDIN_3_0 int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_imit_cleanup': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:124:9: error: 'CMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 124 | CMAC_CTX_free(c->cmac_ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_key': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:135:5: error: 'CMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 135 | CMAC_CTX_free(c->cmac_ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/cmac.h:34:28: note: declared here 34 | OSSL_DEPRECATEDIN_3_0 void CMAC_CTX_free(CMAC_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:136:5: error: 'CMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 136 | c->cmac_ctx = CMAC_CTX_new(); | ^ /usr/include/openssl/cmac.h:32:33: note: declared here 32 | OSSL_DEPRECATEDIN_3_0 CMAC_CTX *CMAC_CTX_new(void); | ^~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:142:5: error: 'CMAC_Init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 142 | ret = CMAC_Init(c->cmac_ctx, key, key_size, cipher, NULL); | ^~~ /usr/include/openssl/cmac.h:37:27: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 int CMAC_Init(CMAC_CTX *ctx, | ^~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'omac_imit_ctrl': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:158:13: error: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 158 | const EVP_MD *md = EVP_MD_CTX_md(ctx); | ^~~~~ In file included from /usr/include/openssl/cmac.h:25: /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:179:13: error: 'EVP_MD_meth_get_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 179 | if (EVP_MD_meth_get_init(EVP_MD_CTX_md(ctx)) (ctx) <= 0) { | ^~ /usr/include/openssl/evp.h:141:7: note: declared here 141 | int (*EVP_MD_meth_get_init(const EVP_MD *md))(EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:179:13: error: 'EVP_MD_CTX_md' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 179 | if (EVP_MD_meth_get_init(EVP_MD_CTX_md(ctx)) (ctx) <= 0) { | ^~ /usr/include/openssl/evp.h:555:15: note: declared here 555 | const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'magma_omac': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:256:9: error: 'EVP_MD_meth_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 256 | if ((md = EVP_MD_meth_new(NID_magma_mac, NID_undef)) == NULL | ^~ /usr/include/openssl/evp.h:108:31: note: declared here 108 | OSSL_DEPRECATEDIN_3_0 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:257:13: error: 'EVP_MD_meth_set_result_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 257 | || !EVP_MD_meth_set_result_size(md, 8) | ^~ /usr/include/openssl/evp.h:114:5: note: declared here 114 | int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:258:13: error: 'EVP_MD_meth_set_input_blocksize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 258 | || !EVP_MD_meth_set_input_blocksize(md, 8) | ^~ /usr/include/openssl/evp.h:112:5: note: declared here 112 | int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:259:13: error: 'EVP_MD_meth_set_app_datasize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 259 | || !EVP_MD_meth_set_app_datasize(md, sizeof(OMAC_CTX)) | ^~ /usr/include/openssl/evp.h:116:5: note: declared here 116 | int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:260:13: error: 'EVP_MD_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 260 | || !EVP_MD_meth_set_flags(md, 0) | ^~ /usr/include/openssl/evp.h:118:5: note: declared here 118 | int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:261:13: error: 'EVP_MD_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 261 | || !EVP_MD_meth_set_init(md, magma_imit_init) | ^~ /usr/include/openssl/evp.h:120:5: note: declared here 120 | int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:262:13: error: 'EVP_MD_meth_set_update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 262 | || !EVP_MD_meth_set_update(md, omac_imit_update) | ^~ /usr/include/openssl/evp.h:122:5: note: declared here 122 | int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:263:13: error: 'EVP_MD_meth_set_final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 263 | || !EVP_MD_meth_set_final(md, omac_imit_final) | ^~ /usr/include/openssl/evp.h:126:5: note: declared here 126 | int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:264:13: error: 'EVP_MD_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 264 | || !EVP_MD_meth_set_copy(md, omac_imit_copy) | ^~ /usr/include/openssl/evp.h:129:5: note: declared here 129 | int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:265:13: error: 'EVP_MD_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 265 | || !EVP_MD_meth_set_cleanup(md, omac_imit_cleanup) | ^~ /usr/include/openssl/evp.h:132:5: note: declared here 132 | int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:266:13: error: 'EVP_MD_meth_set_ctrl' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 266 | || !EVP_MD_meth_set_ctrl(md, omac_imit_ctrl)) { | ^~ /usr/include/openssl/evp.h:134:5: note: declared here 134 | int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:267:13: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 267 | EVP_MD_meth_free(md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'magma_omac_destroy': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:277:5: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 277 | EVP_MD_meth_free(_hidden_magma_mac_md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'grasshopper_omac': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:288:9: error: 'EVP_MD_meth_new' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 288 | if ((md = EVP_MD_meth_new(NID_grasshopper_mac, NID_undef)) == NULL | ^~ /usr/include/openssl/evp.h:108:31: note: declared here 108 | OSSL_DEPRECATEDIN_3_0 EVP_MD *EVP_MD_meth_new(int md_type, int pkey_type); | ^~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:289:13: error: 'EVP_MD_meth_set_result_size' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 289 | || !EVP_MD_meth_set_result_size(md, 16) | ^~ /usr/include/openssl/evp.h:114:5: note: declared here 114 | int EVP_MD_meth_set_result_size(EVP_MD *md, int resultsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:290:13: error: 'EVP_MD_meth_set_input_blocksize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 290 | || !EVP_MD_meth_set_input_blocksize(md, 8) | ^~ /usr/include/openssl/evp.h:112:5: note: declared here 112 | int EVP_MD_meth_set_input_blocksize(EVP_MD *md, int blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:291:13: error: 'EVP_MD_meth_set_app_datasize' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 291 | || !EVP_MD_meth_set_app_datasize(md, sizeof(OMAC_CTX)) | ^~ /usr/include/openssl/evp.h:116:5: note: declared here 116 | int EVP_MD_meth_set_app_datasize(EVP_MD *md, int datasize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:292:13: error: 'EVP_MD_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 292 | || !EVP_MD_meth_set_flags(md, 0) | ^~ /usr/include/openssl/evp.h:118:5: note: declared here 118 | int EVP_MD_meth_set_flags(EVP_MD *md, unsigned long flags); | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:293:13: error: 'EVP_MD_meth_set_init' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 293 | || !EVP_MD_meth_set_init(md, grasshopper_imit_init) | ^~ /usr/include/openssl/evp.h:120:5: note: declared here 120 | int EVP_MD_meth_set_init(EVP_MD *md, int (*init)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:294:13: error: 'EVP_MD_meth_set_update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 294 | || !EVP_MD_meth_set_update(md, omac_imit_update) | ^~ /usr/include/openssl/evp.h:122:5: note: declared here 122 | int EVP_MD_meth_set_update(EVP_MD *md, int (*update)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:295:13: error: 'EVP_MD_meth_set_final' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 295 | || !EVP_MD_meth_set_final(md, omac_imit_final) | ^~ /usr/include/openssl/evp.h:126:5: note: declared here 126 | int EVP_MD_meth_set_final(EVP_MD *md, int (*final)(EVP_MD_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:296:13: error: 'EVP_MD_meth_set_copy' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 296 | || !EVP_MD_meth_set_copy(md, omac_imit_copy) | ^~ /usr/include/openssl/evp.h:129:5: note: declared here 129 | int EVP_MD_meth_set_copy(EVP_MD *md, int (*copy)(EVP_MD_CTX *to, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:297:13: error: 'EVP_MD_meth_set_cleanup' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 297 | || !EVP_MD_meth_set_cleanup(md, omac_imit_cleanup) | ^~ /usr/include/openssl/evp.h:132:5: note: declared here 132 | int EVP_MD_meth_set_cleanup(EVP_MD *md, int (*cleanup)(EVP_MD_CTX *ctx)); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:298:13: error: 'EVP_MD_meth_set_ctrl' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 298 | || !EVP_MD_meth_set_ctrl(md, omac_imit_ctrl)) { | ^~ /usr/include/openssl/evp.h:134:5: note: declared here 134 | int EVP_MD_meth_set_ctrl(EVP_MD *md, int (*ctrl)(EVP_MD_CTX *ctx, int cmd, | ^~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:299:13: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 299 | EVP_MD_meth_free(md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c: In function 'grasshopper_omac_destroy': /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_omac.c:309:5: error: 'EVP_MD_meth_free' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 309 | EVP_MD_meth_free(_hidden_grasshopper_mac_md); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:110:28: note: declared here 110 | OSSL_DEPRECATEDIN_3_0 void EVP_MD_meth_free(EVP_MD *md); | ^~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors gmake[2]: *** [CMakeFiles/gost_core.dir/build.make:216: CMakeFiles/gost_core.dir/gost_omac.c.o] Error 1 gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' [ 17%] Building C object CMakeFiles/gost_core.dir/gost_grasshopper_precompiled.c.o /usr/bin/cc -DL_ENDIAN -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -std=gnu90 -fPIC -O2 -Werror -Wall -Wno-unused-parameter -Wno-unused-function -Wno-missing-braces -ggdb -MD -MT CMakeFiles/gost_core.dir/gost_grasshopper_precompiled.c.o -MF CMakeFiles/gost_core.dir/gost_grasshopper_precompiled.c.o.d -o CMakeFiles/gost_core.dir/gost_grasshopper_precompiled.c.o -c /usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/gost_grasshopper_precompiled.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1/i586-alt-linux' gmake[1]: *** [CMakeFiles/Makefile2:353: CMakeFiles/gost_core.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 error: Bad exit status from /usr/src/tmp/rpm-tmp.96902 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.96902 (%build) Command exited with non-zero status 1 1.28user 1.09system 0:00.98elapsed 242%CPU (0avgtext+0avgdata 30180maxresident)k 0inputs+0outputs (0major+135219minor)pagefaults 0swaps hsh-rebuild: rebuild of `openssl-gost-engine-1.1.0.3.0.255.ge3af41d.p1-alt4.src.rpm' failed. Command exited with non-zero status 1 3.45user 1.73system 0:10.15elapsed 51%CPU (0avgtext+0avgdata 124764maxresident)k 7472inputs+0outputs (0major+290563minor)pagefaults 0swaps