>>> stunnel 5.57 Downloading --2021-07-31 01:27:46-- http://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.57.tar.gz Resolving www.usenix.org.uk (www.usenix.org.uk)... 2001:ba8:1f1:f1cb::2, 85.119.82.99 Connecting to www.usenix.org.uk (www.usenix.org.uk)|2001:ba8:1f1:f1cb::2|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 985763 (963K) [application/x-gzip] Saving to: '/tmp/instance-0/output-1/build/.stunnel-5.57.tar.gz.tvSeEf/output' 0K .......... .......... .......... .......... .......... 5% 276K 3s 50K .......... .......... .......... .......... .......... 10% 554K 2s 100K .......... .......... .......... .......... .......... 15% 27.6M 1s 150K .......... .......... .......... .......... .......... 20% 13.3M 1s 200K .......... .......... .......... .......... .......... 25% 581K 1s 250K .......... .......... .......... .......... .......... 31% 10.2M 1s 300K .......... .......... .......... .......... .......... 36% 124M 1s 350K .......... .......... .......... .......... .......... 41% 11.7M 1s 400K .......... .......... .......... .......... .......... 46% 620K 1s 450K .......... .......... .......... .......... .......... 51% 37.6M 0s 500K .......... .......... .......... .......... .......... 57% 11.0M 0s 550K .......... .......... .......... .......... .......... 62% 516M 0s 600K .......... .......... .......... .......... .......... 67% 10.3M 0s 650K .......... .......... .......... .......... .......... 72% 500M 0s 700K .......... .......... .......... .......... .......... 77% 10.2M 0s 750K .......... .......... .......... .......... .......... 83% 494M 0s 800K .......... .......... .......... .......... .......... 88% 10.5M 0s 850K .......... .......... .......... .......... .......... 93% 709K 0s 900K .......... .......... .......... .......... .......... 98% 42.4M 0s 950K .......... .. 100% 634M=0.5s 2021-07-31 01:27:47 (1.73 MB/s) - '/tmp/instance-0/output-1/build/.stunnel-5.57.tar.gz.tvSeEf/output' saved [985763/985763] stunnel-5.57.tar.gz: OK (sha256: af5ab973dde11807c38735b87bdd87563a47d2fa1c72a07929fcfce80a600fe1) >>> stunnel 5.57 Extracting gzip -d -c /tmp/instance-0/dl/stunnel/stunnel-5.57.tar.gz | tar --strip-components=1 -C /tmp/instance-0/output-1/build/stunnel-5.57 -xf - >>> stunnel 5.57 Patching >>> stunnel 5.57 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-0/output-1/build/stunnel-5.57 -name $file); do cp support/gnuconfig/$file $i; done; done >>> stunnel 5.57 Patching libtool patching file /tmp/instance-0/output-1/build/stunnel-5.57/auto/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8146 (offset 34 lines). Hunk #8 succeeded at 10778 (offset 68 lines). >>> stunnel 5.57 Configuring (cd /tmp/instance-0/output-1/build/stunnel-5.57/ && rm -rf config.cache && PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-0/output-1/host/bin/riscv32-linux-ar" AS="/tmp/instance-0/output-1/host/bin/riscv32-linux-as" LD="/tmp/instance-0/output-1/host/bin/riscv32-linux-ld" NM="/tmp/instance-0/output-1/host/bin/riscv32-linux-nm" CC="/tmp/instance-0/output-1/host/bin/riscv32-linux-gcc" GCC="/tmp/instance-0/output-1/host/bin/riscv32-linux-gcc" CPP="/tmp/instance-0/output-1/host/bin/riscv32-linux-cpp" CXX="/tmp/instance-0/output-1/host/bin/riscv32-linux-g++" FC="/tmp/instance-0/output-1/host/bin/riscv32-linux-gfortran" F77="/tmp/instance-0/output-1/host/bin/riscv32-linux-gfortran" RANLIB="/tmp/instance-0/output-1/host/bin/riscv32-linux-ranlib" READELF="/tmp/instance-0/output-1/host/bin/riscv32-linux-readelf" STRIP="/tmp/instance-0/output-1/host/bin/riscv32-linux-strip" OBJCOPY="/tmp/instance-0/output-1/host/bin/riscv32-linux-objcopy" OBJDUMP="/tmp/instance-0/output-1/host/bin/riscv32-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/tmp/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-0/output-1/host/lib -Wl,-rpath,/tmp/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-0/output-1/host/bin/riscv32-linux-as" DEFAULT_LINKER="/tmp/instance-0/output-1/host/bin/riscv32-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/tmp/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no ax_cv_check_cflags___fstack_protector=yes LIBS=`/tmp/instance-0/output-1/host/bin/pkg-config --libs openssl` CONFIG_SITE=/dev/null ./configure --target=riscv32-buildroot-linux-gnu --host=riscv32-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --with-ssl=/tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr --with-threads=fork --disable-libwrap --disable-systemd ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls configure: **************************************** initialization checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv32-buildroot-linux-gnu-strip... /tmp/instance-0/output-1/host/bin/riscv32-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... riscv32-buildroot-linux-gnu checking for riscv32-buildroot-linux-gnu-gcc... /tmp/instance-0/output-1/host/bin/riscv32-linux-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc accepts -g... yes checking for /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc... none checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... (cached) yes configure: **************************************** thread model checking for a sed that does not truncate output... /usr/bin/sed checking how to run the C preprocessor... /tmp/instance-0/output-1/host/bin/riscv32-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E configure: FORK mode selected configure: **************************************** compiler/linker flags checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wpedantic... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wconversion... yes checking whether C compiler accepts -Wno-long-long... yes checking whether C compiler accepts -Wno-deprecated-declarations... yes checking whether C compiler accepts -fPIE... yes checking whether C compiler accepts -fstack-protector... (cached) yes checking whether the linker accepts -fPIE... yes checking whether the linker accepts -pie... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes configure: **************************************** libtool checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc... /tmp/instance-0/output-1/host/bin/riscv32-linux-ld checking if the linker (/tmp/instance-0/output-1/host/bin/riscv32-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-0/output-1/host/bin/riscv32-linux-nm checking the name lister (/tmp/instance-0/output-1/host/bin/riscv32-linux-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv32-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /tmp/instance-0/output-1/host/bin/riscv32-linux-ld option to reload object files... -r checking for riscv32-buildroot-linux-gnu-objdump... /tmp/instance-0/output-1/host/bin/riscv32-linux-objdump checking how to recognize dependent libraries... pass_all checking for riscv32-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv32-buildroot-linux-gnu-ar... /tmp/instance-0/output-1/host/bin/riscv32-linux-ar checking for archiver @FILE support... @ checking for riscv32-buildroot-linux-gnu-strip... (cached) /tmp/instance-0/output-1/host/bin/riscv32-linux-strip checking for riscv32-buildroot-linux-gnu-ranlib... /tmp/instance-0/output-1/host/bin/riscv32-linux-ranlib checking command to parse /tmp/instance-0/output-1/host/bin/riscv32-linux-nm output from /tmp/instance-0/output-1/host/bin/riscv32-linux-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 riscv32-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc static flag -static works... no checking if /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-0/output-1/host/bin/riscv32-linux-gcc linker (/tmp/instance-0/output-1/host/bin/riscv32-linux-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... no configure: **************************************** types checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for size_t... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... yes checking for struct sockaddr_un... yes checking for struct addrinfo... yes configure: **************************************** PTY device files configure: WARNING: cross-compilation: assuming /dev/ptmx and /dev/ptc are not available configure: **************************************** entropy sources configure: WARNING: cross-compilation: assuming entropy sources are not available configure: **************************************** default group configure: WARNING: cross-compilation: assuming nogroup is not available checking for default group... nobody checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no configure: **************************************** header files checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking tcpd.h usability... no checking tcpd.h presence... no checking for tcpd.h... no checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for unistd.h... (cached) yes checking util.h usability... no checking util.h presence... no checking for util.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for sys/types.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking linux/sched.h usability... yes checking linux/sched.h presence... yes checking for linux/sched.h... yes checking for struct msghdr.msg_control... yes checking for linux/netfilter_ipv4.h... yes configure: **************************************** libraries checking for library containing gethostbyname... none required checking for library containing yp_get_default_domain... no checking for library containing socket... none required checking for library containing openpty... -lutil checking for library containing dlopen... -ldl checking for library containing shl_load... no configure: **************************************** library functions checking for snprintf... yes checking for vsnprintf... yes checking for openpty... yes checking for _getpty... no checking for daemon... yes checking for waitpid... yes checking for wait4... yes checking for setsid... yes checking for setgroups... yes checking for chroot... yes checking for realpath... yes checking for sysconf... yes checking for getrlimit... yes checking for pthread_sigmask... yes checking for localtime_r... yes checking for getcontext... yes checking for __makecontext_v2... no checking for poll... yes checking for gethostbyname2... yes checking for endhostent... yes checking for getnameinfo... yes checking for getaddrinfo... yes checking for broken poll() implementation... no checking for pipe2... yes checking for accept4... yes configure: **************************************** optional features checking whether to enable IPv6 support... yes checking whether to enable FIPS support... autodetecting checking whether to enable systemd socket activation support... no checking whether to enable TCP wrappers support... no configure: **************************************** TLS checking for TLS directory... /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr checking for FIPS_mode_set... no configure: FIPS support not found checking whether DH parameters need to be updated... no configure: **************************************** write the results 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 doc/Makefile config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating tests/certs/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-nls configure: **************************************** success >>> stunnel 5.57 Building PATH="/tmp/instance-0/output-1/host/bin:/tmp/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-0/output-1/build/stunnel-5.57/ make[1]: Entering directory '/tmp/instance-0/output-1/build/stunnel-5.57' Making all in src make[2]: Entering directory '/tmp/instance-0/output-1/build/stunnel-5.57/src' /usr/bin/make all-am make[3]: Entering directory '/tmp/instance-0/output-1/build/stunnel-5.57/src' CC stunnel-tls.o CC stunnel-str.o CC stunnel-file.o CC stunnel-client.o CC stunnel-log.o CC stunnel-options.o CC stunnel-protocol.o CC stunnel-network.o CC stunnel-resolver.o CC stunnel-ssl.o CC stunnel-verify.o CC stunnel-ctx.o CC stunnel-sthreads.o CC stunnel-fd.o CC stunnel-dhparam.o CC stunnel-cron.o CC stunnel-stunnel.o CC stunnel-pty.o sed -e 's|@bindir[@]|/usr/bin|g' './stunnel3.in' >stunnel3 CC stunnel-libwrap.o CC stunnel-ui_unix.o CC env.lo In file included from str.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ CCLD libstunnel.la In file included from network.c:44: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from ssl.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from resolver.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ ssl.c: In function 'ssl_init': ssl.c:80:34: warning: passing argument 3 of 'SSL_SESSION_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 80 | "session authenticated", cb_new_auth, NULL, NULL); | ^~~~~~~~~~~ | | | void (*)(void *, void *, CRYPTO_EX_DATA *, int, long int, void *) {aka void (*)(void *, void *, struct crypto_ex_data_st *, int, long int, void *)} In file included from common.h:471, from ssl.c:38: /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:1595:20: note: expected 'int (*)(void *, void *, CRYPTO_EX_DATA *, int, long int, void *)' {aka 'int (*)(void *, void *, struct crypto_ex_data_st *, int, long int, void *)'} but argument is of type 'void (*)(void *, void *, CRYPTO_EX_DATA *, int, long int, void *)' {aka 'void (*)(void *, void *, struct crypto_ex_data_st *, int, long int, void *)'} 1595 | CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from file.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ ssl.c:82:42: warning: passing argument 4 of 'SSL_SESSION_get_ex_new_index' from incompatible pointer type [-Wincompatible-pointer-types] 82 | "session connect address", NULL, cb_dup_addr, cb_free_addr); | ^~~~~~~~~~~ | | | int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *) {aka int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)} In file included from common.h:471, from ssl.c:38: /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/ssl.h:1595:45: note: expected 'int (*)(CRYPTO_EX_DATA *, CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, struct crypto_ex_data_st *, void *, int, long int, void *)'} but argument is of type 'int (*)(CRYPTO_EX_DATA *, const CRYPTO_EX_DATA *, void *, int, long int, void *)' {aka 'int (*)(struct crypto_ex_data_st *, const struct crypto_ex_data_st *, void *, int, long int, void *)'} 1595 | CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, | ~~~~~~~~~~~~~~~^~~~~~~~ In file included from options.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from fd.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from ctx.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from tls.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ tls.c: In function 'tls_init': tls.c:56:30: warning: passing argument 1 of 'CRYPTO_set_mem_functions' from incompatible pointer type [-Wincompatible-pointer-types] 56 | CRYPTO_set_mem_functions(str_alloc_detached_debug, | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void * (*)(size_t, const char *, int) {aka void * (*)(unsigned int, const char *, int)} In file included from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/conf.h:64, from common.h:469, from tls.c:38: /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/crypto.h:417:38: note: expected 'void * (*)(size_t)' {aka 'void * (*)(unsigned int)'} but argument is of type 'void * (*)(size_t, const char *, int)' {aka 'void * (*)(unsigned int, const char *, int)'} 417 | int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); | ~~~~~~~~^~~~~~~~~~ tls.c:57:9: warning: passing argument 2 of 'CRYPTO_set_mem_functions' from incompatible pointer type [-Wincompatible-pointer-types] 57 | str_realloc_detached_debug, str_free_debug); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void * (*)(void *, size_t, const char *, int) {aka void * (*)(void *, unsigned int, const char *, int)} In file included from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/conf.h:64, from common.h:469, from tls.c:38: /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/crypto.h:417:58: note: expected 'void * (*)(void *, size_t)' {aka 'void * (*)(void *, unsigned int)'} but argument is of type 'void * (*)(void *, size_t, const char *, int)' {aka 'void * (*)(void *, unsigned int, const char *, int)'} 417 | int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~ tls.c:57:37: warning: passing argument 3 of 'CRYPTO_set_mem_functions' from incompatible pointer type [-Wincompatible-pointer-types] 57 | str_realloc_detached_debug, str_free_debug); | ^~~~~~~~~~~~~~ | | | void (*)(void *, const char *, int) In file included from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/bio.h:69, from /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/conf.h:64, from common.h:469, from tls.c:38: /tmp/instance-0/output-1/host/riscv32-buildroot-linux-gnu/sysroot/usr/include/openssl/crypto.h:417:85: note: expected 'void (*)(void *)' but argument is of type 'void (*)(void *, const char *, int)' 417 | int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); | ~~~~~~~^~~~~~~~~~ In file included from verify.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from log.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from client.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ make[3]: *** [Makefile:675: stunnel-file.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile:773: stunnel-ssl.o] Error 1 In file included from pty.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from cron.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from ui_unix.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from sthreads.c:44: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ make[3]: *** [Makefile:647: stunnel-tls.o] Error 1 make[3]: *** [Makefile:745: stunnel-network.o] Error 1 make[3]: *** [Makefile:829: stunnel-fd.o] Error 1 make[3]: *** [Makefile:759: stunnel-resolver.o] Error 1 ctx.c:97:36: error: unknown type name 'SSL_TICKET_STATUS' 97 | const unsigned char *, size_t, SSL_TICKET_STATUS, void *); | ^~~~~~~~~~~~~~~~~ ctx.c: In function 'context_init': ctx.c:147:20: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 147 | section->min_proto_version)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~ ctx.c:153:20: warning: conversion from 'int' to 'uint16_t' {aka 'short unsigned int'} may change value [-Wconversion] 153 | section->max_proto_version)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~ sthreads.c:230:1: error: unknown type name 'CRYPTO_RWLOCK'; did you mean 'CRYPTO_LOCK'? 230 | CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ | CRYPTO_LOCK make[3]: *** [Makefile:913: stunnel-ui_unix.o] Error 1 make[3]: *** [Makefile:885: stunnel-pty.o] Error 1 make[3]: *** [Makefile:857: stunnel-cron.o] Error 1 verify.c: In function 'cert_check_local': verify.c:358:8: warning: implicit declaration of function 'X509_STORE_CTX_get1_certs'; did you mean 'X509_STORE_CTX_get0_cert'? [-Wimplicit-function-declaration] 358 | sk=X509_STORE_CTX_get1_certs(callback_ctx, subject); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | X509_STORE_CTX_get0_cert verify.c:358:7: warning: assignment to 'struct stack_st_X509 *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 358 | sk=X509_STORE_CTX_get1_certs(callback_ctx, subject); | ^ make[3]: *** [Makefile:801: stunnel-verify.o] Error 1 str.c: In function 'str_leak_debug': str.c:461:9: warning: implicit declaration of function 'CRYPTO_THREAD_write_lock'; did you mean 'CRYPTO_THREADID_get_callback'? [-Wimplicit-function-declaration] 461 | CRYPTO_THREAD_write_lock(stunnel_locks[LOCK_LEAK_HASH]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_get_callback options.c: In function 'options_apply': options.c:601:5: warning: implicit declaration of function 'CRYPTO_THREAD_write_lock'; did you mean 'CRYPTO_THREADID_get_callback'? [-Wimplicit-function-declaration] 601 | CRYPTO_THREAD_write_lock(stunnel_locks[LOCK_SECTIONS]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_get_callback In file included from stunnel.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ In file included from libwrap.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ client.c: In function 'client_thread': client.c:119:5: warning: implicit declaration of function 'CRYPTO_THREAD_read_lock' [-Wimplicit-function-declaration] 119 | CRYPTO_THREAD_read_lock(stunnel_locks[LOCK_THREAD_LIST]); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from protocol.c:39: prototypes.h:757:8: error: unknown type name 'CRYPTO_RWLOCK' 757 | extern CRYPTO_RWLOCK *stunnel_locks[STUNNEL_LOCKS]; | ^~~~~~~~~~~~~ log.c: In function 'log_close': log.c:131:5: warning: implicit declaration of function 'CRYPTO_THREAD_write_lock'; did you mean 'CRYPTO_THREADID_get_callback'? [-Wimplicit-function-declaration] 131 | CRYPTO_THREAD_write_lock(stunnel_locks[LOCK_LOG_MODE]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_get_callback sthreads.c: In function 'locking_init': sthreads.c:363:26: warning: implicit declaration of function 'CRYPTO_THREAD_lock_new'; did you mean 'CRYPTO_THREADID_cpy'? [-Wimplicit-function-declaration] 363 | stunnel_locks[i]=CRYPTO_THREAD_lock_new(); | ^~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_cpy sthreads.c:363:25: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 363 | stunnel_locks[i]=CRYPTO_THREAD_lock_new(); | ^ ctx.c:180:9: warning: implicit declaration of function 'SSL_CTX_set_security_level'; did you mean 'SSL_CTX_set_verify_depth'? [-Wimplicit-function-declaration] 180 | SSL_CTX_set_security_level(section->ctx, section->security_level); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_CTX_set_verify_depth str.c:465:17: warning: implicit declaration of function 'CRYPTO_THREAD_unlock'; did you mean 'CRYPTO_w_unlock'? [-Wimplicit-function-declaration] 465 | CRYPTO_THREAD_unlock(stunnel_locks[LOCK_LEAK_HASH]); | ^~~~~~~~~~~~~~~~~~~~ | CRYPTO_w_unlock make[3]: *** [Makefile:815: stunnel-sthreads.o] Error 1 make[3]: *** [Makefile:899: stunnel-libwrap.o] Error 1 make[3]: *** [Makefile:871: stunnel-stunnel.o] Error 1 options.c:613:5: warning: implicit declaration of function 'CRYPTO_THREAD_unlock'; did you mean 'CRYPTO_w_unlock'? [-Wimplicit-function-declaration] 613 | CRYPTO_THREAD_unlock(stunnel_locks[LOCK_SECTIONS]); | ^~~~~~~~~~~~~~~~~~~~ | CRYPTO_w_unlock client.c:120:5: warning: implicit declaration of function 'CRYPTO_THREAD_unlock'; did you mean 'CRYPTO_w_unlock'? [-Wimplicit-function-declaration] 120 | CRYPTO_THREAD_unlock(stunnel_locks[LOCK_THREAD_LIST]); | ^~~~~~~~~~~~~~~~~~~~ | CRYPTO_w_unlock log.c:138:5: warning: implicit declaration of function 'CRYPTO_THREAD_unlock'; did you mean 'CRYPTO_w_unlock'? [-Wimplicit-function-declaration] 138 | CRYPTO_THREAD_unlock(stunnel_locks[LOCK_LOG_MODE]); | ^~~~~~~~~~~~~~~~~~~~ | CRYPTO_w_unlock make[3]: *** [Makefile:661: stunnel-str.o] Error 1 make[3]: *** [Makefile:731: stunnel-protocol.o] Error 1 ctx.c:183:15: warning: implicit declaration of function 'SSL_CTX_get_security_level'; did you mean 'SSL_CTX_get_verify_depth'? [-Wimplicit-function-declaration] 183 | } else if(SSL_CTX_get_security_level(section->ctx)ssl_options_set)); | ^ ctx.c:226:9: warning: conversion to 'long int' from 'long unsigned int' may change the sign of the result [-Wsign-conversion] 226 | (SSL_OPTIONS_TYPE)(section->ssl_options_clear)); | ^ client.c: In function 'print_tmp_key': client.c:656:10: warning: implicit declaration of function 'SSL_get_peer_tmp_key'; did you mean 'SSL_get_server_tmp_key'? [-Wimplicit-function-declaration] 656 | if (!SSL_get_peer_tmp_key(s, &key)) { | ^~~~~~~~~~~~~~~~~~~~ | SSL_get_server_tmp_key client.c: In function 'transfer': client.c:774:21: warning: implicit declaration of function 'SSL_has_pending'; did you mean 'SSL_pending'? [-Wimplicit-function-declaration] 774 | has_pending=SSL_has_pending(c->ssl); | ^~~~~~~~~~~~~~~ | SSL_pending log.c: In function 's_log': log.c:188:9: warning: implicit declaration of function 'CRYPTO_THREAD_read_lock' [-Wimplicit-function-declaration] 188 | CRYPTO_THREAD_read_lock(stunnel_locks[LOCK_LOG_MODE]); | ^~~~~~~~~~~~~~~~~~~~~~~ ctx.c:257:5: warning: implicit declaration of function 'SSL_CTX_set_session_ticket_cb'; did you mean 'SSL_set_session_secret_cb'? [-Wimplicit-function-declaration] 257 | SSL_CTX_set_session_ticket_cb(section->ctx, generate_session_ticket_cb, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_set_session_secret_cb make[3]: *** [Makefile:703: stunnel-log.o] Error 1 options.c: In function 'key_read': options.c:4147:13: warning: implicit declaration of function 'OPENSSL_hexstr2buf'; did you mean 'OPENSSL_strdup'? [-Wimplicit-function-declaration] 4147 | key_buf=OPENSSL_hexstr2buf(key_str, &key_len); | ^~~~~~~~~~~~~~~~~~ | OPENSSL_strdup options.c:4147:12: warning: assignment to 'unsigned char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 4147 | key_buf=OPENSSL_hexstr2buf(key_str, &key_len); | ^ ctx.c:258:9: error: 'decrypt_session_ticket_cb' undeclared (first use in this function); did you mean 'generate_session_ticket_cb'? 258 | decrypt_session_ticket_cb, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | generate_session_ticket_cb ctx.c:258:9: note: each undeclared identifier is reported only once for each function it appears in client.c: In function 'idx_cache_save': client.c:1553:5: warning: implicit declaration of function 'CRYPTO_THREAD_write_lock'; did you mean 'CRYPTO_THREADID_get_callback'? [-Wimplicit-function-declaration] 1553 | CRYPTO_THREAD_write_lock(stunnel_locks[LOCK_ADDR]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_get_callback make[3]: *** [Makefile:717: stunnel-options.o] Error 1 make[3]: *** [Makefile:689: stunnel-client.o] Error 1 ctx.c: In function 'dh_init': ctx.c:435:5: warning: implicit declaration of function 'CRYPTO_THREAD_read_lock' [-Wimplicit-function-declaration] 435 | CRYPTO_THREAD_read_lock(stunnel_locks[LOCK_DH]); | ^~~~~~~~~~~~~~~~~~~~~~~ ctx.c:437:5: warning: implicit declaration of function 'CRYPTO_THREAD_unlock'; did you mean 'CRYPTO_w_unlock'? [-Wimplicit-function-declaration] 437 | CRYPTO_THREAD_unlock(stunnel_locks[LOCK_DH]); | ^~~~~~~~~~~~~~~~~~~~ | CRYPTO_w_unlock ctx.c: In function 'conf_init': ctx.c:519:5: error: unknown type name 'SSL_CONF_CTX'; did you mean 'SSL_AEAD_CTX'? 519 | SSL_CONF_CTX *cctx; | ^~~~~~~~~~~~ | SSL_AEAD_CTX ctx.c:525:10: warning: implicit declaration of function 'SSL_CONF_CTX_new'; did you mean 'SSL_CTX_new'? [-Wimplicit-function-declaration] 525 | cctx=SSL_CONF_CTX_new(); | ^~~~~~~~~~~~~~~~ | SSL_CTX_new ctx.c:525:9: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 525 | cctx=SSL_CONF_CTX_new(); | ^ ctx.c:530:5: warning: implicit declaration of function 'SSL_CONF_CTX_set_ssl_ctx' [-Wimplicit-function-declaration] 530 | SSL_CONF_CTX_set_ssl_ctx(cctx, section->ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~ ctx.c:531:5: warning: implicit declaration of function 'SSL_CONF_CTX_set_flags'; did you mean 'HMAC_CTX_set_flags'? [-Wimplicit-function-declaration] 531 | SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_FILE); | ^~~~~~~~~~~~~~~~~~~~~~ | HMAC_CTX_set_flags ctx.c:531:34: error: 'SSL_CONF_FLAG_FILE' undeclared (first use in this function) 531 | SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_FILE); | ^~~~~~~~~~~~~~~~~~ ctx.c:533:9: error: 'SSL_CONF_FLAG_CLIENT' undeclared (first use in this function) 533 | SSL_CONF_FLAG_CLIENT : SSL_CONF_FLAG_SERVER); | ^~~~~~~~~~~~~~~~~~~~ ctx.c:533:32: error: 'SSL_CONF_FLAG_SERVER' undeclared (first use in this function) 533 | SSL_CONF_FLAG_CLIENT : SSL_CONF_FLAG_SERVER); | ^~~~~~~~~~~~~~~~~~~~ ctx.c:534:34: error: 'SSL_CONF_FLAG_CERTIFICATE' undeclared (first use in this function); did you mean 'SSL_AD_BAD_CERTIFICATE'? 534 | SSL_CONF_CTX_set_flags(cctx, SSL_CONF_FLAG_CERTIFICATE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_AD_BAD_CERTIFICATE ctx.c:541:16: warning: implicit declaration of function 'SSL_CONF_cmd' [-Wimplicit-function-declaration] 541 | switch(SSL_CONF_cmd(cctx, cmd, param)) { | ^~~~~~~~~~~~ ctx.c:552:13: warning: implicit declaration of function 'SSL_CONF_CTX_free'; did you mean 'SSL_CTX_free'? [-Wimplicit-function-declaration] 552 | SSL_CONF_CTX_free(cctx); | ^~~~~~~~~~~~~~~~~ | SSL_CTX_free ctx.c:569:9: warning: implicit declaration of function 'SSL_CONF_CTX_finish' [-Wimplicit-function-declaration] 569 | if(!SSL_CONF_CTX_finish(cctx)) { | ^~~~~~~~~~~~~~~~~~~ ctx.c: In function 'generate_session_ticket_cb': ctx.c:1042:12: warning: implicit declaration of function 'SSL_SESSION_set1_ticket_appdata'; did you mean 'SSL_SESSION_set_ex_data'? [-Wimplicit-function-declaration] 1042 | retval=SSL_SESSION_set1_ticket_appdata(sess, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_SESSION_set_ex_data ctx.c: At top level: ctx.c:1050:9: error: unknown type name 'SSL_TICKET_STATUS' 1050 | SSL_TICKET_STATUS status, void *arg) { | ^~~~~~~~~~~~~~~~~ ctx.c: In function 'session_cache_save': ctx.c:1269:5: warning: implicit declaration of function 'CRYPTO_THREAD_write_lock'; did you mean 'CRYPTO_THREADID_get_callback'? [-Wimplicit-function-declaration] 1269 | CRYPTO_THREAD_write_lock(stunnel_locks[LOCK_SESSION]); | ^~~~~~~~~~~~~~~~~~~~~~~~ | CRYPTO_THREADID_get_callback ctx.c: In function 'info_callback': ctx.c:1498:9: error: unknown type name 'OSSL_HANDSHAKE_STATE'; did you mean 'SSL_CB_HANDSHAKE_START'? 1498 | OSSL_HANDSHAKE_STATE state=SSL_get_state(ssl); | ^~~~~~~~~~~~~~~~~~~~ | SSL_CB_HANDSHAKE_START make[3]: *** [Makefile:787: stunnel-ctx.o] Error 1 make[3]: Leaving directory '/tmp/instance-0/output-1/build/stunnel-5.57/src' make[2]: *** [Makefile:412: all] Error 2 make[2]: Leaving directory '/tmp/instance-0/output-1/build/stunnel-5.57/src' make[1]: *** [Makefile:446: all-recursive] Error 1 make[1]: Leaving directory '/tmp/instance-0/output-1/build/stunnel-5.57' make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/stunnel-5.57/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-0/buildroot'