Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libssh2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42611-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/libssh2.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libssh2-1.10.0-4.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libssh2.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42611-14591/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/libssh2.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ViePio + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libssh2-1.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/libssh2-1.10.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libssh2-1.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #3000 (libssh2-1.10.0-ssh-rsa-test.patch):' Patch #3000 (libssh2-1.10.0-ssh-rsa-test.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file tests/ssh2.sh Patch #5000 (5000-Disable-testcase-ssh2.sh.patch): + echo 'Patch #5000 (5000-Disable-testcase-ssh2.sh.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/Makefile.am patching file tests/Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KBbtTo + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.10.0 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=x86_64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules --disable-static --enable-shared checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for sed... /usr/bin/sed checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking libssh2 version... 1.10.0 checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu configure: autobuild project... libssh2 configure: autobuild revision... 1.10.0 ./configure: line 3965: hostname: command not found configure: autobuild timestamp... 20230918-183603 checking whether make supports the include directive... yes (GNU style) checking for x86_64-opencloudos-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for long long... yes checking if _REENTRANT is already defined... no checking if _REENTRANT is actually needed... no checking if _REENTRANT is onwards defined... no checking for library containing socket... none required checking for library containing inet_addr... none required checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for x86_64-opencloudos-linux-gnu-g++... no checking for x86_64-opencloudos-linux-gnu-c++... no checking for x86_64-opencloudos-linux-gnu-gpp... no checking for x86_64-opencloudos-linux-gnu-aCC... no checking for x86_64-opencloudos-linux-gnu-CC... no checking for x86_64-opencloudos-linux-gnu-cxx... no checking for x86_64-opencloudos-linux-gnu-cc++... no checking for x86_64-opencloudos-linux-gnu-cl.exe... no checking for x86_64-opencloudos-linux-gnu-FCC... no checking for x86_64-opencloudos-linux-gnu-KCC... no checking for x86_64-opencloudos-linux-gnu-RCC... no checking for x86_64-opencloudos-linux-gnu-xlC_r... no checking for x86_64-opencloudos-linux-gnu-xlC... no checking for x86_64-opencloudos-linux-gnu-clang++... no checking for g++... no checking for c++... no checking for gpp... no checking for aCC... no checking for CC... no checking for cxx... no checking for cc++... no checking for cl.exe... no checking for FCC... no checking for KCC... no checking for RCC... no checking for xlC_r... no checking for xlC... no checking for clang++... no checking whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sshd... /usr/sbin/sshd checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-opencloudos-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for ld used by GCC... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for libssl... yes checking how to link with libssl... /usr/lib64/libssl.so /usr/lib64/libcrypto.so checking for EVP_aes_128_ctr... yes checking for gcc options needed to detect all undeclared functions... none needed checking for libz... yes checking how to link with libz... /usr/lib64/libz.so configure: WARNING: secure clearing/zeroing of memory is not supported by the selected crypto backend checking whether to enable pedantic and debug compiler options... checking how to run the C preprocessor... gcc -E no checking whether to enable hidden symbols in the library... no checking whether to build example applications... yes checking for errno.h... yes checking for fcntl.h... yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/uio.h... yes checking for sys/select.h... yes checking for sys/socket.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for arpa/inet.h... yes checking for netinet/in.h... yes checking for sys/un.h... yes checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for poll... yes checking for gettimeofday... yes checking for select... yes checking for strtoll... yes checking for memset_s... no checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking non-blocking sockets style... O_NONBLOCK checking whether to enable compiler warnings as errors... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/ossfuzz/Makefile config.status: creating example/Makefile config.status: creating docs/Makefile config.status: creating libssh2.pc config.status: creating src/libssh2_config.h config.status: executing depfiles commands config.status: executing libtool commands configure: summary of build options: version: 1.10.0 Host type: x86_64-opencloudos-linux-gnu Install prefix: /usr Compiler: gcc Compiler flags: -O2 -g Library types: Shared=yes, Static=no Crypto library: OpenSSL (AES-CTR: yes) Clear memory: unsupported Debug build: no Build examples: yes Path to sshd: /usr/sbin/sshd (only for self-tests) zlib compression: yes + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o agent_win.lo agent_win.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c agent_win.c -fPIC -DPIC -o .libs/agent_win.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o version.lo version.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c version.c -fPIC -DPIC -o .libs/version.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o mac.lo mac.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c mac.c -fPIC -DPIC -o .libs/mac.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' mac.c: In function 'mac_method_hmac_sha2_512_hash': mac.c:117:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 117 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ In file included from openssl.h:55, from crypto.h:42, from libssh2_priv.h:141, from mac.c:38: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ mac.c:118:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | libssh2_hmac_sha512_init(&ctx, *abstract, 64); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ mac.c:119:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 119 | libssh2_hmac_update(ctx, seqno_buf, 4); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:120:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 120 | libssh2_hmac_update(ctx, packet, packet_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:122:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 122 | libssh2_hmac_update(ctx, addtl, addtl_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:124:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 124 | libssh2_hmac_final(ctx, buf); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ mac.c:125:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 125 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ mac.c: In function 'mac_method_hmac_sha2_256_hash': mac.c:162:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 162 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ mac.c:163:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 163 | libssh2_hmac_sha256_init(&ctx, *abstract, 32); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ mac.c:164:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | libssh2_hmac_update(ctx, seqno_buf, 4); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:165:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 165 | libssh2_hmac_update(ctx, packet, packet_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:167:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | libssh2_hmac_update(ctx, addtl, addtl_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:169:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 169 | libssh2_hmac_final(ctx, buf); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ mac.c:170:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 170 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ mac.c: In function 'mac_method_hmac_sha1_hash': mac.c:207:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 207 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ mac.c:208:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 208 | libssh2_hmac_sha1_init(&ctx, *abstract, 20); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ mac.c:209:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 209 | libssh2_hmac_update(ctx, seqno_buf, 4); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:210:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 210 | libssh2_hmac_update(ctx, packet, packet_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:212:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 212 | libssh2_hmac_update(ctx, addtl, addtl_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:214:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 214 | libssh2_hmac_final(ctx, buf); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ mac.c:215:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 215 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ mac.c: In function 'mac_method_hmac_md5_hash': mac.c:280:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 280 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ mac.c:281:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 281 | libssh2_hmac_md5_init(&ctx, *abstract, 16); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ mac.c:282:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 282 | libssh2_hmac_update(ctx, seqno_buf, 4); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:283:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 283 | libssh2_hmac_update(ctx, packet, packet_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:285:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 285 | libssh2_hmac_update(ctx, addtl, addtl_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:287:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | libssh2_hmac_final(ctx, buf); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ mac.c:288:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 288 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ mac.c: In function 'mac_method_hmac_ripemd160_hash': mac.c:353:5: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 353 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ mac.c:354:5: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 354 | libssh2_hmac_ripemd160_init(&ctx, *abstract, 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ mac.c:355:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 355 | libssh2_hmac_update(ctx, seqno_buf, 4); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:356:5: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 356 | libssh2_hmac_update(ctx, packet, packet_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:358:9: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 358 | libssh2_hmac_update(ctx, addtl, addtl_len); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ mac.c:360:5: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 360 | libssh2_hmac_final(ctx, buf); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ mac.c:361:5: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o global.lo global.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c global.c -fPIC -DPIC -o .libs/global.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o keepalive.lo keepalive.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c keepalive.c -fPIC -DPIC -o .libs/keepalive.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o crypt.lo crypt.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c crypt.c -fPIC -DPIC -o .libs/crypt.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o comp.lo comp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c comp.c -fPIC -DPIC -o .libs/comp.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o bcrypt_pbkdf.lo bcrypt_pbkdf.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c bcrypt_pbkdf.c -fPIC -DPIC -o .libs/bcrypt_pbkdf.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o transport.lo transport.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c transport.c -fPIC -DPIC -o .libs/transport.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o misc.lo misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c misc.c -fPIC -DPIC -o .libs/misc.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o blowfish.lo blowfish.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c blowfish.c -fPIC -DPIC -o .libs/blowfish.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o hostkey.lo hostkey.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c hostkey.c -fPIC -DPIC -o .libs/hostkey.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' hostkey.c: In function 'hostkey_method_ssh_rsa_dtor': hostkey.c:241:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | _libssh2_rsa_free(rsactx); | ^~~~~~~~~~~~~~~~~ In file included from openssl.h:44, from crypto.h:42, from libssh2_priv.h:141, from hostkey.c:39: /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ hostkey.c: In function 'hostkey_method_ssh_dss_dtor': hostkey.c:466:5: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | _libssh2_dsa_free(dsactx); | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:26, from openssl.h:46: /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ hostkey.c: In function 'hostkey_method_ssh_ecdsa_dtor': hostkey.c:743:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 743 | _libssh2_ecdsa_free(keyctx); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:28: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o agent.lo agent.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c agent.c -fPIC -DPIC -o .libs/agent.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o scp.lo scp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c scp.c -fPIC -DPIC -o .libs/scp.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o pem.lo pem.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c pem.c -fPIC -DPIC -o .libs/pem.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o publickey.lo publickey.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c publickey.c -fPIC -DPIC -o .libs/publickey.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o packet.lo packet.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c packet.c -fPIC -DPIC -o .libs/packet.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o knownhost.lo knownhost.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c knownhost.c -fPIC -DPIC -o .libs/knownhost.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' knownhost.c: In function 'knownhost_check': knownhost.c:423:21: warning: 'HMAC_CTX_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 423 | libssh2_hmac_ctx_init(ctx); | ^~~~~~~~~~~~~~~~~~~~~ In file included from openssl.h:55, from crypto.h:42, from libssh2_priv.h:141, from knownhost.c:39: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ knownhost.c:430:21: warning: 'HMAC_Init_ex' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 430 | libssh2_hmac_sha1_init(&ctx, (unsigned char *)node->salt, | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ knownhost.c:432:21: warning: 'HMAC_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 432 | libssh2_hmac_update(ctx, (unsigned char *)host, | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ knownhost.c:434:21: warning: 'HMAC_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 434 | libssh2_hmac_final(ctx, hash); | ^~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ knownhost.c:435:21: warning: 'HMAC_CTX_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 435 | libssh2_hmac_cleanup(&ctx); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o session.lo session.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c session.c -fPIC -DPIC -o .libs/session.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o userauth.lo userauth.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c userauth.c -fPIC -DPIC -o .libs/userauth.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o channel.lo channel.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c channel.c -fPIC -DPIC -o .libs/channel.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o openssl.lo openssl.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c openssl.c -fPIC -DPIC -o .libs/openssl.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' openssl.c: In function '_libssh2_rsa_new': openssl.c:130:5: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 130 | *rsa = RSA_new(); | ^ In file included from openssl.h:44, from crypto.h:42, from libssh2_priv.h:141, from openssl.c:41: /usr/include/openssl/rsa.h:209:28: note: declared here 209 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ openssl.c:132:5: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | RSA_set0_key(*rsa, n, e, d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ openssl.c:140:5: warning: 'RSA_set0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 140 | RSA_set0_factors(*rsa, p, q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:216:27: note: declared here 216 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_factors(RSA *r, BIGNUM *p, BIGNUM *q); | ^~~~~~~~~~~~~~~~ openssl.c:147:5: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | RSA_set0_crt_params(*rsa, dmp1, dmq1, iqmp); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:27: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_rsa_sha1_verify': openssl.c:167:5: warning: 'RSA_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 167 | ret = RSA_verify(NID_sha1, hash, SHA_DIGEST_LENGTH, | ^~~ /usr/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_verify(int type, const unsigned char *m, | ^~~~~~~~~~ openssl.c: In function '_libssh2_dsa_new': openssl.c:208:5: warning: 'DSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 208 | *dsactx = DSA_new(); | ^ In file included from /usr/include/openssl/engine.h:26, from openssl.h:46: /usr/include/openssl/dsa.h:125:28: note: declared here 125 | OSSL_DEPRECATEDIN_3_0 DSA *DSA_new(void); | ^~~~~~~ openssl.c:211:5: warning: 'DSA_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 211 | DSA_set0_pqg(*dsactx, p_bn, q_bn, g_bn); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~~ openssl.c:219:5: warning: 'DSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 219 | DSA_set0_key(*dsactx, pub_key, priv_key); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DSA_set0_key(DSA *d, BIGNUM *pub_key, | ^~~~~~~~~~~~ openssl.c: In function '_libssh2_dsa_sha1_verify': openssl.c:252:9: warning: 'DSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 252 | ret = DSA_do_verify(hash, SHA_DIGEST_LENGTH, dsasig, dsactx); | ^~~ /usr/include/openssl/dsa.h:115:27: note: declared here 115 | OSSL_DEPRECATEDIN_3_0 int DSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_get_curve_type': openssl.c:271:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 271 | const EC_GROUP *group = EC_KEY_get0_group(ec_ctx); | ^~~~~ In file included from /usr/include/openssl/engine.h:28: /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_curve_name_with_octal_new': openssl.c:322:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | EC_KEY *ec_key = EC_KEY_new_by_curve_name(curve); | ^~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ openssl.c:326:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 326 | ec_group = EC_KEY_get0_group(ec_key); | ^~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:329:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 329 | ret = EC_KEY_set_public_key(ec_key, point); | ^~~ /usr/include/openssl/ec.h:1070:27: note: declared here 1070 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_verify': openssl.c:379:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 379 | LIBSSH2_ECDSA_VERIFY(256); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ openssl.c:382:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | LIBSSH2_ECDSA_VERIFY(384); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ openssl.c:385:9: warning: 'ECDSA_do_verify' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 385 | LIBSSH2_ECDSA_VERIFY(512); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1391:27: note: declared here 1391 | OSSL_DEPRECATEDIN_3_0 int ECDSA_do_verify(const unsigned char *dgst, int dgst_len, | ^~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_openssl_crypto_init': openssl.c:659:5: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 659 | ENGINE_load_builtin_engines(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:358:28: note: declared here 358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl.c:660:5: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 660 | ENGINE_register_all_complete(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:415:27: note: declared here 415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_rsa_new_private_frommemory': openssl.c:777:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 777 | (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey; | ^ In file included from /usr/include/openssl/ui.h:30, from /usr/include/openssl/engine.h:30: /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_rsa': openssl.c:803:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 803 | RSA_get0_key(rsa, &n, &e, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_rsa_evp': openssl.c:851:5: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 851 | rsa = EVP_PKEY_get1_RSA(pk); | ^~~ In file included from /usr/include/openssl/rand.h:23, from /usr/include/openssl/engine.h:29: /usr/include/openssl/evp.h:1359:16: note: declared here 1359 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ openssl.c:866:5: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 866 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:877:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 877 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c: In function '_libssh2_rsa_new_additional_parameters': openssl.c:900:5: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 900 | RSA_get0_key(rsa, NULL, NULL, &d); | ^~~~~~~~~~~~ /usr/include/openssl/rsa.h:225:28: note: declared here 225 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ openssl.c:901:5: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 901 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ openssl.c:939:5: warning: 'RSA_set0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 939 | RSA_set0_crt_params(rsa, dmp1, dmq1, NULL); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:217:27: note: declared here 217 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_crt_params(RSA *r, | ^~~~~~~~~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_rsa_openssh_priv_data': openssl.c:1036:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1036 | EVP_PKEY_set1_RSA(pk, rsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1355:5: note: declared here 1355 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ openssl.c:1049:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1049 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c:1056:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1056 | RSA_free(rsa); | ^~~~~~~~ /usr/include/openssl/rsa.h:301:28: note: declared here 301 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ openssl.c: In function '_libssh2_rsa_new_private': openssl.c:1127:9: warning: 'PEM_read_bio_RSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1127 | (pem_read_bio_func) &PEM_read_bio_RSAPrivateKey; | ^ /usr/include/openssl/pem.h:447:1: note: declared here 447 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, RSAPrivateKey, RSA) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_dsa_new_private_frommemory': openssl.c:1152:9: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1152 | (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey; | ^ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_dsa': openssl.c:1181:5: warning: 'DSA_get0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1181 | DSA_get0_pqg(dsa, &p_bn, &q, &g); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_pqg(const DSA *d, const BIGNUM **p, | ^~~~~~~~~~~~ openssl.c:1189:5: warning: 'DSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1189 | DSA_get0_key(dsa, &pub_key, NULL); | ^~~~~~~~~~~~ /usr/include/openssl/dsa.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, | ^~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_dsa_evp': openssl.c:1240:5: warning: 'EVP_PKEY_get1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1240 | dsa = EVP_PKEY_get1_DSA(pk); | ^~~ /usr/include/openssl/evp.h:1368:16: note: declared here 1368 | struct dsa_st *EVP_PKEY_get1_DSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ openssl.c:1255:5: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1255 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ openssl.c:1266:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1266 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ openssl.c: In function 'gen_publickey_from_dsa_openssh_priv_data': openssl.c:1336:9: warning: 'EVP_PKEY_set1_DSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1336 | EVP_PKEY_set1_DSA(pk, dsa); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1364:5: note: declared here 1364 | int EVP_PKEY_set1_DSA(EVP_PKEY *pkey, struct dsa_st *key); | ^~~~~~~~~~~~~~~~~ openssl.c:1349:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1349 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ openssl.c:1356:9: warning: 'DSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1356 | DSA_free(dsa); | ^~~~~~~~ /usr/include/openssl/dsa.h:127:28: note: declared here 127 | OSSL_DEPRECATEDIN_3_0 void DSA_free(DSA *r); | ^~~~~~~~ openssl.c: In function '_libssh2_dsa_new_private': openssl.c:1427:9: warning: 'PEM_read_bio_DSAPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1427 | (pem_read_bio_func) &PEM_read_bio_DSAPrivateKey; | ^ /usr/include/openssl/pem.h:453:1: note: declared here 453 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, DSAPrivateKey, DSA) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_new_private_frommemory': openssl.c:1455:9: warning: 'PEM_read_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1455 | (pem_read_bio_func) &PEM_read_bio_ECPrivateKey; | ^ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_rsa_sha1_sign': openssl.c:1889:5: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1889 | sig_len = RSA_size(rsactx); | ^~~~~~~ /usr/include/openssl/rsa.h:212:27: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ openssl.c:1896:5: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1896 | ret = RSA_sign(NID_sha1, hash, hash_len, sig, &sig_len, rsactx); | ^~~ /usr/include/openssl/rsa.h:356:27: note: declared here 356 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ openssl.c: In function '_libssh2_dsa_sha1_sign': openssl.c:1921:5: warning: 'DSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1921 | sig = DSA_do_sign(hash, SHA_DIGEST_LENGTH, dsactx); | ^~~ /usr/include/openssl/dsa.h:113:32: note: declared here 113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, | ^~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_sign': openssl.c:1969:5: warning: 'ECDSA_do_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1969 | ECDSA_SIG *sig = ECDSA_do_sign(hash, hash_len, ec_ctx); | ^~~~~~~~~ /usr/include/openssl/ec.h:1365:34: note: declared here 1365 | OSSL_DEPRECATEDIN_3_0 ECDSA_SIG *ECDSA_do_sign(const unsigned char *dgst, | ^~~~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_ec_evp': openssl.c:2291:5: warning: 'EVP_PKEY_get1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2291 | ec = EVP_PKEY_get1_EC_KEY(pk); | ^~ /usr/include/openssl/evp.h:1385:19: note: declared here 1385 | struct ec_key_st *EVP_PKEY_get1_EC_KEY(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:2297:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2297 | public_key = EC_KEY_get0_public_key(ec); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:2298:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2298 | group = EC_KEY_get0_group(ec); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:2372:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2372 | EC_KEY_free(ec); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ openssl.c: In function 'gen_publickey_from_ecdsa_openssh_priv_data': openssl.c:2446:5: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2446 | rc = (EC_KEY_set_private_key(ec_key, bn_exponent) != 1); | ^~ /usr/include/openssl/ec.h:1056:27: note: declared here 1056 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c:2450:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2450 | EVP_PKEY_set1_EC_KEY(pk, ec_key); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/evp.h:1381:5: note: declared here 1381 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ openssl.c:2463:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2463 | EC_KEY_free(ec_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ openssl.c:2469:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2469 | EC_KEY_free(ec_key); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_new_private': openssl.c:2540:5: warning: 'PEM_read_bio_ECPrivateKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2540 | pem_read_bio_func read_ec = (pem_read_bio_func) &PEM_read_bio_ECPrivateKey; | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:462:1: note: declared here 462 | DECLARE_PEM_rw_cb_attr(OSSL_DEPRECATEDIN_3_0, ECPrivateKey, EC_KEY) | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdsa_create_key': openssl.c:2582:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2582 | private_key = EC_KEY_new_by_curve_name(curve_type); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ openssl.c:2583:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2583 | group = EC_KEY_get0_group(private_key); | ^~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:2585:5: warning: 'EC_KEY_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2585 | EC_KEY_generate_key(private_key); | ^~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ openssl.c:2586:5: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2586 | public_key = EC_KEY_get0_public_key(private_key); | ^~~~~~~~~~ /usr/include/openssl/ec.h:1062:39: note: declared here 1062 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ openssl.c: In function '_libssh2_ecdh_gen_k': openssl.c:2653:5: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2653 | private_key_group = EC_KEY_get0_group(private_key); | ^~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1034:39: note: declared here 1034 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ openssl.c:2673:5: warning: 'ECDH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2673 | secret_len = ECDH_compute_key(secret, secret_len, server_public_key_point, | ^~~~~~~~~~ /usr/include/openssl/ec.h:1296:27: note: declared here 1296 | OSSL_DEPRECATEDIN_3_0 int ECDH_compute_key(void *out, size_t outlen, | ^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o sftp.lo sftp.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c sftp.c -fPIC -DPIC -o .libs/sftp.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c -o kex.lo kex.c libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -O2 -g -c kex.c -fPIC -DPIC -o .libs/kex.o make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' kex.c: In function 'kex_method_ecdh_key_exchange': kex.c:2322:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2322 | _libssh2_ecdsa_free(key_state->private_key); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/engine.h:28, from openssl.h:46, from crypto.h:42, from libssh2_priv.h:141, from kex.c:39: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -version-info 1:1:0 -no-undefined -export-symbols-regex '^libssh2_.*' -L/usr/lib64 -lssl -L/usr/lib64 -lcrypto -L/usr/lib64 -lz -o libssh2.la -rpath /usr/lib64 channel.lo comp.lo crypt.lo hostkey.lo kex.lo mac.lo misc.lo packet.lo publickey.lo scp.lo session.lo sftp.lo userauth.lo transport.lo version.lo knownhost.lo agent.lo openssl.lo pem.lo keepalive.lo global.lo blowfish.lo bcrypt_pbkdf.lo agent_win.lo libtool: link: /usr/bin/nm -B .libs/channel.o .libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o .libs/version.o .libs/knownhost.o .libs/agent.o .libs/openssl.o .libs/pem.o .libs/keepalive.o .libs/global.o .libs/blowfish.o .libs/bcrypt_pbkdf.o .libs/agent_win.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libssh2.exp libtool: link: /usr/bin/grep -E -e "^libssh2_.*" ".libs/libssh2.exp" > ".libs/libssh2.expT" libtool: link: mv -f ".libs/libssh2.expT" ".libs/libssh2.exp" libtool: link: echo "{ global:" > .libs/libssh2.ver libtool: link: cat .libs/libssh2.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libssh2.ver libtool: link: echo "local: *; };" >> .libs/libssh2.ver libtool: link: gcc -shared -fPIC -DPIC .libs/channel.o .libs/comp.o .libs/crypt.o .libs/hostkey.o .libs/kex.o .libs/mac.o .libs/misc.o .libs/packet.o .libs/publickey.o .libs/scp.o .libs/session.o .libs/sftp.o .libs/userauth.o .libs/transport.o .libs/version.o .libs/knownhost.o .libs/agent.o .libs/openssl.o .libs/pem.o .libs/keepalive.o .libs/global.o .libs/blowfish.o .libs/bcrypt_pbkdf.o .libs/agent_win.o -L/usr/lib64 -lssl -lcrypto -lz -O2 -g -Wl,-soname -Wl,libssh2.so.1 -Wl,-version-script -Wl,.libs/libssh2.ver -o .libs/libssh2.so.1.0.1 libtool: link: (cd ".libs" && rm -f "libssh2.so.1" && ln -s "libssh2.so.1.0.1" "libssh2.so.1") libtool: link: (cd ".libs" && rm -f "libssh2.so" && ln -s "libssh2.so.1.0.1" "libssh2.so") libtool: link: ( cd ".libs" && rm -f "libssh2.la" && ln -s "../libssh2.la" "libssh2.la" ) make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' Making all in tests Making all in ossfuzz make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../include -I../src -O2 -g -c -o ssh2.o ssh2.c make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2 ssh2.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2 ssh2.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' Making all in docs make[1]: Nothing to be done for 'all'. Making all in example make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o scp.o scp.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_mkdir.o sftp_mkdir.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_write.o sftp_write.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_mkdir_nonblock.o sftp_mkdir_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o scp_write.o scp_write.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o scp_write_nonblock.o scp_write_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftpdir_nonblock.o sftpdir_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o ssh2_exec.o ssh2_exec.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o ssh2.o ssh2.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o scp_nonblock.o scp_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_nonblock.o sftp_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o ssh2_agent.o ssh2_agent.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_append.o sftp_append.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_write_nonblock.o sftp_write_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o direct_tcpip.o direct_tcpip.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_write_sliding.o sftp_write_sliding.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftpdir.o sftpdir.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o ssh2_agent_forwarding.o ssh2_agent_forwarding.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp.o sftp.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o sftp_RW_nonblock.o sftp_RW_nonblock.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o subsystem_netconf.o subsystem_netconf.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o ssh2_echo.o ssh2_echo.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o tcpip-forward.o tcpip-forward.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' gcc -DHAVE_CONFIG_H -I../include -I../example -I../src -O2 -g -c -o x11.o x11.c make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o scp scp.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/scp scp.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_mkdir_nonblock sftp_mkdir_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o scp_write scp_write.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/scp_write scp_write.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_write sftp_write.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_write sftp_write.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_mkdir sftp_mkdir.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_mkdir sftp_mkdir.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o scp_write_nonblock scp_write_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/scp_write_nonblock scp_write_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o direct_tcpip direct_tcpip.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/direct_tcpip direct_tcpip.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2_agent ssh2_agent.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2_agent ssh2_agent.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_nonblock sftp_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_nonblock sftp_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftpdir_nonblock sftpdir_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftpdir_nonblock sftpdir_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_append sftp_append.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_append sftp_append.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_write_nonblock sftp_write_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_write_nonblock sftp_write_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2 ssh2.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2 ssh2.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o scp_nonblock scp_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/scp_nonblock scp_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o subsystem_netconf subsystem_netconf.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/subsystem_netconf subsystem_netconf.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2_exec ssh2_exec.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2_exec ssh2_exec.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_write_sliding sftp_write_sliding.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_write_sliding sftp_write_sliding.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2_agent_forwarding ssh2_agent_forwarding.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2_agent_forwarding ssh2_agent_forwarding.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp sftp.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp sftp.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftpdir sftpdir.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftpdir sftpdir.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o sftp_RW_nonblock sftp_RW_nonblock.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/sftp_RW_nonblock sftp_RW_nonblock.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o x11 x11.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/x11 x11.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o tcpip-forward tcpip-forward.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/tcpip-forward tcpip-forward.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o ssh2_echo ssh2_echo.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/ssh2_echo ssh2_echo.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9wDNmZ + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64 + cd libssh2-1.10.0 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libssh2.la '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64' libtool: install: /usr/bin/install -p .libs/libssh2.so.1.0.1 /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64/libssh2.so.1.0.1 libtool: install: (cd /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so.1 || { rm -f libssh2.so.1 && ln -s libssh2.so.1.0.1 libssh2.so.1; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64 && { ln -s -f libssh2.so.1.0.1 libssh2.so || { rm -f libssh2.so && ln -s libssh2.so.1.0.1 libssh2.so; }; }) libtool: install: /usr/bin/install -p .libs/libssh2.lai /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64/libssh2.la libtool: warning: remember to run 'libtool --finish /usr/lib64' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' Making install in ossfuzz make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[3]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/docs' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 libssh2_agent_connect.3 libssh2_agent_disconnect.3 libssh2_agent_free.3 libssh2_agent_get_identity.3 libssh2_agent_get_identity_path.3 libssh2_agent_init.3 libssh2_agent_list_identities.3 libssh2_agent_set_identity_path.3 libssh2_agent_userauth.3 libssh2_banner_set.3 libssh2_base64_decode.3 libssh2_channel_close.3 libssh2_channel_direct_tcpip.3 libssh2_channel_direct_tcpip_ex.3 libssh2_channel_eof.3 libssh2_channel_exec.3 libssh2_channel_flush.3 libssh2_channel_flush_ex.3 libssh2_channel_flush_stderr.3 libssh2_channel_forward_accept.3 libssh2_channel_forward_cancel.3 libssh2_channel_forward_listen.3 libssh2_channel_forward_listen_ex.3 libssh2_channel_free.3 libssh2_channel_get_exit_signal.3 libssh2_channel_get_exit_status.3 libssh2_channel_handle_extended_data.3 libssh2_channel_handle_extended_data2.3 libssh2_channel_ignore_extended_data.3 libssh2_channel_open_ex.3 libssh2_channel_open_session.3 libssh2_channel_process_startup.3 libssh2_channel_read.3 libssh2_channel_read_ex.3 libssh2_channel_read_stderr.3 libssh2_channel_receive_window_adjust.3 libssh2_channel_receive_window_adjust2.3 libssh2_channel_request_pty.3 libssh2_channel_request_pty_ex.3 libssh2_channel_request_pty_size.3 '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 libssh2_channel_request_pty_size_ex.3 libssh2_channel_send_eof.3 libssh2_channel_set_blocking.3 libssh2_channel_setenv.3 libssh2_channel_setenv_ex.3 libssh2_channel_shell.3 libssh2_channel_subsystem.3 libssh2_channel_wait_closed.3 libssh2_channel_wait_eof.3 libssh2_channel_window_read.3 libssh2_channel_window_read_ex.3 libssh2_channel_window_write.3 libssh2_channel_window_write_ex.3 libssh2_channel_write.3 libssh2_channel_write_ex.3 libssh2_channel_write_stderr.3 libssh2_channel_x11_req.3 libssh2_channel_x11_req_ex.3 libssh2_exit.3 libssh2_free.3 libssh2_hostkey_hash.3 libssh2_init.3 libssh2_keepalive_config.3 libssh2_keepalive_send.3 libssh2_knownhost_add.3 libssh2_knownhost_addc.3 libssh2_knownhost_check.3 libssh2_knownhost_checkp.3 libssh2_knownhost_del.3 libssh2_knownhost_free.3 libssh2_knownhost_get.3 libssh2_knownhost_init.3 libssh2_knownhost_readfile.3 libssh2_knownhost_readline.3 libssh2_knownhost_writefile.3 libssh2_knownhost_writeline.3 libssh2_poll.3 libssh2_poll_channel_read.3 libssh2_publickey_add.3 libssh2_publickey_add_ex.3 '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 libssh2_publickey_init.3 libssh2_publickey_list_fetch.3 libssh2_publickey_list_free.3 libssh2_publickey_remove.3 libssh2_publickey_remove_ex.3 libssh2_publickey_shutdown.3 libssh2_scp_recv.3 libssh2_scp_recv2.3 libssh2_scp_send.3 libssh2_scp_send64.3 libssh2_scp_send_ex.3 libssh2_session_abstract.3 libssh2_session_banner_get.3 libssh2_session_banner_set.3 libssh2_session_block_directions.3 libssh2_session_callback_set.3 libssh2_session_disconnect.3 libssh2_session_disconnect_ex.3 libssh2_session_flag.3 libssh2_session_free.3 libssh2_session_get_blocking.3 libssh2_session_get_timeout.3 libssh2_session_handshake.3 libssh2_session_hostkey.3 libssh2_session_init.3 libssh2_session_init_ex.3 libssh2_session_last_errno.3 libssh2_session_last_error.3 libssh2_session_set_last_error.3 libssh2_session_method_pref.3 libssh2_session_methods.3 libssh2_session_set_blocking.3 libssh2_session_set_timeout.3 libssh2_session_startup.3 libssh2_session_supported_algs.3 libssh2_sftp_close.3 libssh2_sftp_close_handle.3 libssh2_sftp_closedir.3 libssh2_sftp_fsetstat.3 libssh2_sftp_fstat.3 '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 libssh2_sftp_fstat_ex.3 libssh2_sftp_fstatvfs.3 libssh2_sftp_fsync.3 libssh2_sftp_get_channel.3 libssh2_sftp_init.3 libssh2_sftp_last_error.3 libssh2_sftp_lstat.3 libssh2_sftp_mkdir.3 libssh2_sftp_mkdir_ex.3 libssh2_sftp_open.3 libssh2_sftp_open_ex.3 libssh2_sftp_opendir.3 libssh2_sftp_read.3 libssh2_sftp_readdir.3 libssh2_sftp_readdir_ex.3 libssh2_sftp_readlink.3 libssh2_sftp_realpath.3 libssh2_sftp_rename.3 libssh2_sftp_rename_ex.3 libssh2_sftp_rewind.3 libssh2_sftp_rmdir.3 libssh2_sftp_rmdir_ex.3 libssh2_sftp_seek.3 libssh2_sftp_seek64.3 libssh2_sftp_setstat.3 libssh2_sftp_shutdown.3 libssh2_sftp_stat.3 libssh2_sftp_stat_ex.3 libssh2_sftp_statvfs.3 libssh2_sftp_symlink.3 libssh2_sftp_symlink_ex.3 libssh2_sftp_tell.3 libssh2_sftp_tell64.3 libssh2_sftp_unlink.3 libssh2_sftp_unlink_ex.3 libssh2_sftp_write.3 libssh2_trace.3 libssh2_trace_sethandler.3 libssh2_userauth_authenticated.3 libssh2_userauth_hostbased_fromfile.3 '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' /usr/bin/install -p -m 644 libssh2_userauth_hostbased_fromfile_ex.3 libssh2_userauth_keyboard_interactive.3 libssh2_userauth_keyboard_interactive_ex.3 libssh2_userauth_list.3 libssh2_userauth_password.3 libssh2_userauth_password_ex.3 libssh2_userauth_publickey.3 libssh2_userauth_publickey_fromfile.3 libssh2_userauth_publickey_fromfile_ex.3 libssh2_userauth_publickey_frommemory.3 libssh2_version.3 '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/docs' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/docs' Making install in example make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0' make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/include' /usr/bin/install -p -m 644 include/libssh2.h include/libssh2_publickey.h include/libssh2_sftp.h '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/include' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libssh2.pc '/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0' + find /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64 -name '*.la' -delete + make -C example clean make: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/example' rm -rf .libs _libs rm -f direct_tcpip ssh2 scp scp_nonblock scp_write scp_write_nonblock sftp sftp_nonblock sftp_write sftp_write_nonblock sftp_mkdir sftp_mkdir_nonblock sftp_RW_nonblock sftp_write_sliding sftpdir sftpdir_nonblock ssh2_exec ssh2_agent ssh2_agent_forwarding ssh2_echo sftp_append subsystem_netconf tcpip-forward x11 rm -f *.o rm -f *.lo make: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/example' renamed 'example' -> 'example.x86_64' + rm -rf example/.deps + find example/ -type f '(' -name '*.am' -o -name '*.in' ')' -delete + mv -v example example.x86_64 + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yrVVQx + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.10.0 + LC_ALL=en_US.UTF-8 + make -C tests check make: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' Making check in ossfuzz make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests/ossfuzz' make[1]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make simple make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' gcc -DHAVE_CONFIG_H -I. -I../src -I../src -I../include -I../src -O2 -g -c -o simple.o simple.c /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o simple simple.o ../src/libssh2.la libtool: link: gcc -O2 -g -o .libs/simple simple.o ../src/.libs/libssh2.so -Wl,-rpath -Wl,/usr/lib64 make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make check-TESTS make[2]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libssh2-1.10.0/tests' PASS: simple PASS: mansyntax.sh ============================================================================ Testsuite summary for libssh2 - ============================================================================ # TOTAL: 2 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[3]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' make: Leaving directory '/builddir/build/BUILD/libssh2-1.10.0/tests' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libssh2-1.10.0-4.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.iReroY + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.10.0 + DOCDIR=/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-1.10.0 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-1.10.0 + cp -pr docs/AUTHORS /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-1.10.0 + cp -pr README /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-1.10.0 + cp -pr RELEASE-NOTES /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-1.10.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3efXok + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/licenses/libssh2-1.10.0 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/licenses/libssh2-1.10.0 + cp -pr COPYING /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/licenses/libssh2-1.10.0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh2 = 1.10.0-4.oc9 libssh2(x86-64) = 1.10.0-4.oc9 libssh2.so.1()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libssl.so.3()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: libssh2-devel-1.10.0-4.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.g1VpVv + umask 022 + cd /builddir/build/BUILD + cd libssh2-1.10.0 + DOCDIR=/builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + cp -pr docs/BINDINGS /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + cp -pr docs/HACKING /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + cp -pr docs/TODO /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + cp -pr NEWS /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + cp -pr example.x86_64/ /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64/usr/share/doc/libssh2-devel-1.10.0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: libssh2-devel = 1.10.0-4.oc9 libssh2-devel(x86-64) = 1.10.0-4.oc9 pkgconfig(libssh2) = 1.10.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libssh2.so.1()(64bit) pkgconfig(libcrypto) pkgconfig(libssl) pkgconfig(zlib) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libssh2-1.10.0-4.oc9.x86_64 Wrote: /builddir/build/RPMS/libssh2-1.10.0-4.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libssh2-devel-1.10.0-4.oc9.x86_64.rpm Child return code was: 0