>>> libssh2: Building main/libssh2 1.11.0-r3 (using abuild 3.14.0-r0) started Wed, 16 Oct 2024 11:38:02 +0000 >>> libssh2: Validating /home/buildozer/aports/main/libssh2/APKBUILD... >>> WARNING: libssh2: Setting the maintainer with a comment is deprecated. Use maintainer="Natanael Copa " instead >>> libssh2: Analyzing dependencies... >>> libssh2: Installing for build: build-base openssl-dev>3 zlib-dev bash (1/4) Installing openssl-dev (3.3.2-r2) (2/4) Installing zlib-dev (1.3.1-r2) (3/4) Installing bash (5.2.37-r0) Executing bash-5.2.37-r0.post-install (4/4) Installing .makedepends-libssh2 (20241016.113802) Executing busybox-1.36.1-r32.trigger OK: 282 MiB in 111 packages >>> libssh2: Cleaning up srcdir >>> libssh2: Cleaning up pkgdir >>> libssh2: Cleaning up tmpdir >>> libssh2: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libssh2-1.11.0.tar.gz >>> libssh2: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libssh2-1.11.0.tar.gz >>> libssh2: Checking sha512sums... libssh2-1.11.0.tar.gz: OK add-strict-KEX-to-fix-CVE-2023-48795-Terrapin-Attack.patch: OK disable-DSA-by-default.patch: OK >>> libssh2: Unpacking /var/cache/distfiles/libssh2-1.11.0.tar.gz... >>> libssh2: add-strict-KEX-to-fix-CVE-2023-48795-Terrapin-Attack.patch patching file src/kex.c Hunk #1 succeeded at 3037 (offset 5 lines). Hunk #2 succeeded at 3062 (offset 5 lines). Hunk #3 succeeded at 3315 (offset 5 lines). Hunk #4 succeeded at 3406 (offset 5 lines). Hunk #5 succeeded at 3440 (offset 5 lines). Hunk #6 succeeded at 3476 (offset 5 lines). Hunk #7 succeeded at 3489 (offset 5 lines). Hunk #8 succeeded at 3523 (offset 5 lines). Hunk #9 succeeded at 3569 (offset 5 lines). Hunk #10 succeeded at 3591 (offset 5 lines). Hunk #11 succeeded at 3633 (offset 5 lines). Hunk #12 succeeded at 3654 (offset 5 lines). Hunk #13 succeeded at 3687 (offset 5 lines). Hunk #14 succeeded at 3709 (offset 5 lines). Hunk #15 succeeded at 3892 (offset 5 lines). Hunk #16 succeeded at 3918 (offset 5 lines). Hunk #17 succeeded at 3967 (offset 5 lines). patching file src/libssh2_priv.h Hunk #1 succeeded at 699 (offset -37 lines). Hunk #2 succeeded at 873 (offset -38 lines). Hunk #3 succeeded at 914 (offset -38 lines). Hunk #4 succeeded at 1149 (offset -38 lines). patching file src/packet.c Hunk #1 succeeded at 605 (offset -19 lines). Hunk #2 succeeded at 656 (offset -19 lines). Hunk #3 succeeded at 1404 (offset -23 lines). Hunk #4 succeeded at 1474 (offset -23 lines). patching file src/packet.h Hunk #1 succeeded at 71 with fuzz 2 (offset -1 lines). patching file src/session.c Hunk #1 succeeded at 464 (offset -5 lines). Hunk #2 succeeded at 1188 (offset -37 lines). patching file src/transport.c Hunk #1 succeeded at 187 (offset 1 line). Hunk #2 succeeded at 319 (offset 1 line). Hunk #3 succeeded at 330 (offset 1 line). Hunk #4 succeeded at 1097 (offset -2 lines). >>> libssh2: disable-DSA-by-default.patch patching file docs/libssh2_knownhost_add.3 Hunk #1 succeeded at 50 (offset 1 line). patching file docs/libssh2_knownhost_addc.3 Hunk #1 succeeded at 55 (offset 1 line). patching file docs/libssh2_session_hostkey.3 Hunk #1 succeeded at 14 (offset -2 lines). patching file include/libssh2.h Hunk #1 succeeded at 470 (offset -32 lines). Hunk #2 succeeded at 1094 (offset -53 lines). patching file src/crypto.h Hunk #1 succeeded at 62 (offset 42 lines). patching file src/hostkey.c Hunk #1 succeeded at 1346 (offset -70 lines). Hunk #2 succeeded at 1373 (offset -70 lines). patching file src/knownhost.c Hunk #1 succeeded at 773 (offset -6 lines). Hunk #2 succeeded at 1022 (offset -6 lines). patching file tests/openssh_server/sshd_config checking whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... yes checking for sed... /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... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking libssh2 version... 1.11.0 checking build system type... loongarch64-alpine-linux-musl checking host system type... loongarch64-alpine-linux-musl configure: autobuild project... libssh2 configure: autobuild revision... 1.11.0 configure: autobuild hostname... build-3-21-loongarch64 configure: autobuild timestamp... 20241016-113803 checking whether make supports the include directive... yes (GNU style) checking for loongarch64-alpine-linux-musl-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... gcc3 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 loongarch64-alpine-linux-musl-gcc... (cached) 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) gcc3 checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 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) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/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... 98304 checking how to convert loongarch64-alpine-linux-musl file names to loongarch64-alpine-linux-musl format... func_convert_file_noop checking how to convert loongarch64-alpine-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/loongarch64-alpine-linux-musl/bin/ld option to reload object files... -r checking for loongarch64-alpine-linux-musl-file... no checking for file... file checking for loongarch64-alpine-linux-musl-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-alpine-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-alpine-linux-musl-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for loongarch64-alpine-linux-musl-strip... no checking for strip... strip checking for loongarch64-alpine-linux-musl-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... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for loongarch64-alpine-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no 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 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/loongarch64-alpine-linux-musl/bin/ld) 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... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/loongarch64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/loongarch64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether byte ordering is bigendian... no checking for loongarch64-alpine-linux-musl-windres... no checking for windres... 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/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for libssl... yes checking how to link with libssl... -lssl -lcrypto checking for libz... yes checking how to link with libz... /usr/lib/libz.so checking whether to enable pedantic and debug compiler options... checking how to run the C preprocessor... gcc -E checking if cpp -P is needed... yes checking if cpp -P works... yes 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 unistd.h... (cached) yes checking for sys/param.h... 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 poll... yes checking for gettimeofday... yes checking for select... yes checking for strtoll... yes checking for explicit_bzero... yes checking for explicit_memset... no checking for memset_s... no checking for snprintf... yes 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.11.0 Host type: loongarch64-alpine-linux-musl Install prefix: /usr Compiler: gcc Compiler flags: -Os -fstack-clash-protection -Wformat -Werror=format-security -g Library types: Shared=yes, Static=yes Crypto library: OpenSSL zlib compression: yes Clear memory: yes Debug build: no Build examples: yes Run Docker tests: no Run sshd tests: yes Path to sshd: /usr/sbin/sshd (only for self-tests) Making all in src make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' make all-am make[2]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' CC agent.lo CC bcrypt_pbkdf.lo CC channel.lo CC comp.lo CC crypt.lo CC crypto.lo CC global.lo CC hostkey.lo CC keepalive.lo CC kex.lo CC knownhost.lo CC mac.lo CC misc.lo CC packet.lo CC pem.lo CC publickey.lo CC scp.lo CC session.lo CC sftp.lo CC transport.lo CC userauth.lo CC userauth_kbd_packet.lo CC version.lo CCLD libssh2.la make[2]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' Making all in docs make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/docs' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/docs' Making all in tests make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' Making all in ossfuzz make[2]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests/ossfuzz' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests/ossfuzz' make[2]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[2]: Nothing to be done for 'all-am'. make[2]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' Making all in example make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/example' CC direct_tcpip.o CC scp.o CC scp_nonblock.o CC scp_write.o CC scp_write_nonblock.o CC sftp.o CC sftp_RW_nonblock.o CC sftp_append.o CC sftp_mkdir.o CC sftp_mkdir_nonblock.o CC sftp_nonblock.o CC sftp_write.o CC sftp_write_nonblock.o CC sftp_write_sliding.o CC sftpdir.o CC sftpdir_nonblock.o CC ssh2.o CC ssh2_agent.o CC ssh2_agent_forwarding.o CC ssh2_echo.o CC ssh2_exec.o CC subsystem_netconf.o CC tcpip-forward.o CC x11.o CCLD sftp_mkdir_nonblock CCLD sftp_mkdir CCLD scp CCLD scp_write CCLD sftp_write CCLD ssh2_agent CCLD sftp_append CCLD sftpdir_nonblock CCLD scp_nonblock CCLD sftp_write_nonblock CCLD sftp_write_sliding CCLD scp_write_nonblock CCLD sftpdir CCLD ssh2_exec CCLD ssh2_agent_forwarding CCLD sftp_nonblock CCLD subsystem_netconf CCLD ssh2 CCLD sftp_RW_nonblock CCLD ssh2_echo CCLD sftp CCLD tcpip-forward CCLD direct_tcpip CCLD x11 make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/example' make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0' Making check in src make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/src' Making check in docs make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/docs' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/docs' Making check in tests make[1]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' Making check in ossfuzz make[2]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests/ossfuzz' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests/ossfuzz' make[2]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make test_aa_warmup test_agent_forward_ok test_auth_keyboard_fail test_auth_keyboard_info_request test_auth_keyboard_ok test_auth_password_fail_password test_auth_password_fail_username test_auth_password_ok test_auth_pubkey_fail test_auth_pubkey_ok_dsa test_auth_pubkey_ok_ecdsa test_auth_pubkey_ok_ecdsa_signed test_auth_pubkey_ok_ed25519 test_auth_pubkey_ok_ed25519_encrypted test_auth_pubkey_ok_ed25519_mem test_auth_pubkey_ok_rsa test_auth_pubkey_ok_rsa_encrypted test_auth_pubkey_ok_rsa_openssh test_auth_pubkey_ok_rsa_signed test_hostkey test_hostkey_hash test_read test_simple test_ssh2 test_auth_pubkey_ok_ed25519 librunner.la make[3]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' CC test_aa_warmup.o CC runner.lo CC session_fixture.lo CC openssh_fixture.lo CC test_agent_forward_ok.o CC test_auth_keyboard_fail.o CC test_auth_keyboard_info_request.o CC test_auth_keyboard_ok.o CC test_auth_password_fail_password.o CC test_auth_password_fail_username.o CC test_auth_password_ok.o CC test_auth_pubkey_fail.o CC test_auth_pubkey_ok_dsa.o CC test_auth_pubkey_ok_ecdsa.o CC test_auth_pubkey_ok_ecdsa_signed.o CC test_auth_pubkey_ok_ed25519.o CC test_auth_pubkey_ok_ed25519_encrypted.o CC test_auth_pubkey_ok_ed25519_mem.o CC test_auth_pubkey_ok_rsa.o CC test_auth_pubkey_ok_rsa_encrypted.o CC test_auth_pubkey_ok_rsa_openssh.o CC test_auth_pubkey_ok_rsa_signed.o CC test_hostkey.o CC test_hostkey_hash.o CC test_read.o CC test_simple.o CC test_ssh2.o CCLD librunner.la CCLD test_aa_warmup CCLD test_agent_forward_ok CCLD test_auth_keyboard_fail CCLD test_auth_keyboard_info_request CCLD test_auth_keyboard_ok CCLD test_auth_password_fail_password CCLD test_auth_password_fail_username CCLD test_auth_password_ok CCLD test_auth_pubkey_fail CCLD test_auth_pubkey_ok_dsa CCLD test_auth_pubkey_ok_ecdsa CCLD test_auth_pubkey_ok_ecdsa_signed CCLD test_auth_pubkey_ok_ed25519 CCLD test_auth_pubkey_ok_ed25519_encrypted CCLD test_auth_pubkey_ok_ed25519_mem CCLD test_auth_pubkey_ok_rsa CCLD test_auth_pubkey_ok_rsa_encrypted CCLD test_auth_pubkey_ok_rsa_openssh CCLD test_auth_pubkey_ok_rsa_signed CCLD test_hostkey CCLD test_hostkey_hash CCLD test_read make[3]: 'librunner.la' is up to date. CCLD test_simple CCLD test_ssh2 make[3]: 'test_auth_pubkey_ok_ed25519' is up to date. make[3]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make check-TESTS make[3]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[4]: Entering directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' PASS: mansyntax.sh PASS: test_simple FAIL: test_sshd.test 1 - sshd-test_ssh2 FAIL: test_sshd.test 2 - sshd-test_auth_pubkey_ok_ed25519 ===================================== libssh2 -: tests/test-suite.log ===================================== # TOTAL: 4 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: test_sshd =============== # sshd executable: '/usr/sbin/sshd' (OpenSSH_9.9p1, OpenSSL 3.3.2 3 Sep 2024) # ssh executable: '/usr/bin/ssh' (OpenSSH_9.9p1, OpenSSL 3.3.2 3 Sep 2024) # waiting for sshd... # waiting for sshd... # waiting for sshd... # waiting for sshd... # waiting for sshd... # waiting for sshd... # waiting for sshd... # waiting for sshd... Fingerprint: 12 FD AD 1E 3B 31 B1 0B AB B0 0F 2A 8D 1B 9A 62 C3 26 BD 2F Authentication methods: publickey,password,keyboard-interactive Authentication by public key failed! all done 1..2 libssh2_userauth_publickey_fromfile_ex failed (-18): Username/PublicKey combination invalid not ok 1 - sshd-test_ssh2 FAIL: test_sshd.test 1 - sshd-test_ssh2 not ok 2 - sshd-test_auth_pubkey_ok_ed25519 FAIL: test_sshd.test 2 - sshd-test_auth_pubkey_ok_ed25519 ============================================================================ Testsuite summary for libssh2 - ============================================================================ # TOTAL: 4 # PASS: 2 # SKIP: 0 # XFAIL: 0 # FAIL: 2 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to libssh2-devel@lists.haxx.se ============================================================================ make[4]: *** [Makefile:1241: test-suite.log] Error 1 make[4]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[3]: *** [Makefile:1349: check-TESTS] Error 2 make[3]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[2]: *** [Makefile:1608: check-am] Error 2 make[2]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make[1]: *** [Makefile:1133: check-recursive] Error 1 make[1]: Leaving directory '/home/buildozer/aports/main/libssh2/src/libssh2-1.11.0/tests' make: *** [Makefile:530: check-recursive] Error 1 >>> ERROR: libssh2: check failed >>> libssh2: Uninstalling dependencies... (1/4) Purging .makedepends-libssh2 (20241016.113802) (2/4) Purging openssl-dev (3.3.2-r2) (3/4) Purging zlib-dev (1.3.1-r2) (4/4) Purging bash (5.2.37-r0) Executing bash-5.2.37-r0.pre-deinstall Executing busybox-1.36.1-r32.trigger OK: 278 MiB in 107 packages