* Package: net-misc/stunnel-5.44 * Repository: gentoo * Maintainer: blueness@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux libressl ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Adding group 'stunnel' to your system ... * - Groupid: next available * Adding user 'stunnel' to your system ... * - Userid: 168 * - Shell: /sbin/nologin * - Home: /dev/null * - Groups: stunnel * - GECOS: added by portage for stunnel >>> Unpacking source... >>> Unpacking stunnel-5.44.tar.gz to /var/tmp/portage/net-misc/stunnel-5.44/work >>> Source unpacked in /var/tmp/portage/net-misc/stunnel-5.44/work >>> Preparing source in /var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44 ... * Applying stunnel-5.43-compat-libressl.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44 ... * econf: updating stunnel-5.44/auto/config.guess with /usr/share/gnuconfig/config.guess * econf: updating stunnel-5.44/auto/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/stunnel-5.44 --htmldir=/usr/share/doc/stunnel-5.44/html --libdir=/usr/lib64 --enable-ipv6 --disable-libwrap --with-ssl=/usr --disable-fips configure: loading site script /usr/share/config.site configure: **************************************** initialization checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-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... /bin/sed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking whether x86_64-pc-linux-gnu-gcc is Clang... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes configure: PTHREAD thread model detected 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... 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) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) 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 x86_64-pc-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 /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-mt... no checking for mt... mt 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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 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 checking for "/dev/ptmx"... yes checking for "/dev/ptc"... no configure: **************************************** entropy sources checking for "/dev/urandom"... yes configure: **************************************** default group checking for default group... nogroup 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... yes checking tcpd.h presence... yes checking for tcpd.h... yes checking stropts.h usability... yes checking stropts.h presence... yes checking for stropts.h... yes 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 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... -lnsl 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... no checking whether to enable systemd socket activation support... autodetecting checking for library containing sd_listen_fds... no configure: systemd library not found checking whether to enable TCP wrappers support... no configure: **************************************** TLS checking for compiler sysroot... / checking for TLS directory... /usr 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 src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: **************************************** success >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44 ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44/src' make all-am make[2]: Entering directory '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o env.lo env.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fstack-protector -D_FORTIFY_SOURCE=2 -c env.c -fPIC -DPIC -o .libs/env.o :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -avoid-version -Wl,-O1 -Wl,--as-needed -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -o libstunnel.la -rpath /usr/lib64/stunnel env.lo -ldl -lutil -lnsl libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/env.o -ldl -lutil -lnsl -O2 -march=native -pthread -fstack-protector -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,noexecstack -pthread -Wl,-soname -Wl,libstunnel.so -o .libs/libstunnel.so libtool: link: ( cd ".libs" && rm -f "libstunnel.la" && ln -s "../libstunnel.la" "libstunnel.la" ) x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-tls.o `test -f 'tls.c' || echo './'`tls.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition 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] CRYPTO_set_mem_functions(str_alloc_detached_debug, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/bio.h:69:0, from /usr/include/openssl/lhash.h:71, from common.h:463, from tls.c:38: /usr/include/openssl/crypto.h:420:5: note: expected ‘void * (*)(size_t) {aka void * (*)(long unsigned int)}’ but argument is of type ‘void * (*)(size_t, const char *, int) {aka void * (*)(long unsigned int, const char *, int)}’ 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] str_realloc_detached_debug, str_free_debug); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/bio.h:69:0, from /usr/include/openssl/lhash.h:71, from common.h:463, from tls.c:38: /usr/include/openssl/crypto.h:420:5: note: expected ‘void * (*)(void *, size_t) {aka void * (*)(void *, long unsigned int)}’ but argument is of type ‘void * (*)(void *, size_t, const char *, int) {aka void * (*)(void *, long unsigned int, const char *, int)}’ 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] str_realloc_detached_debug, str_free_debug); ^~~~~~~~~~~~~~ In file included from /usr/include/openssl/bio.h:69:0, from /usr/include/openssl/lhash.h:71, from common.h:463, from tls.c:38: /usr/include/openssl/crypto.h:420:5: note: expected ‘void (*)(void *)’ but argument is of type ‘void (*)(void *, const char *, int)’ int CRYPTO_set_mem_functions(void *(*m)(size_t), void *(*r)(void *, size_t), void (*f)(void *)); ^~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-str.o `test -f 'str.c' || echo './'`str.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-file.o `test -f 'file.c' || echo './'`file.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-client.o `test -f 'client.c' || echo './'`client.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-log.o `test -f 'log.c' || echo './'`log.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-protocol.o `test -f 'protocol.c' || echo './'`protocol.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-network.o `test -f 'network.c' || echo './'`network.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-resolver.o `test -f 'resolver.c' || echo './'`resolver.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-ssl.o `test -f 'ssl.c' || echo './'`ssl.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib64/stunnel"' -DCONFDIR='"/etc/stunnel"' -O2 -pipe -march=native -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-ctx.o `test -f 'ctx.c' || echo './'`ctx.c :0:0: warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition ctx.c: In function ‘context_init’: ctx.c:152:5: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] SSL_CTX_set_options(section->ctx, ^~~~~~~~~~~~~~~~~~~ ctx.c:155:5: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] SSL_CTX_clear_options(section->ctx, ^~~~~~~~~~~~~~~~~~~~~ ctx.c:196:43: warning: passing argument 2 of ‘SSL_CTX_sess_set_get_cb’ from incompatible pointer type [-Wincompatible-pointer-types] SSL_CTX_sess_set_get_cb(section->ctx, sess_get_cb); ^~~~~~~~~~~ In file included from common.h:464:0, from ctx.c:38: /usr/include/openssl/ssl.h:733:6: note: expected ‘SSL_SESSION * (*)(struct ssl_st *, unsigned char *, int, int *) {aka struct ssl_session_st * (*)(struct ssl_st *, unsigned char *, int, int *)}’ but argument is of type ‘SSL_SESSION * (*)(SSL *, const unsigned char *, int, int *) {aka struct ssl_session_st * (*)(struct ssl_st *, const unsigned char *, int, int *)}’ void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, ^~~~~~~~~~~~~~~~~~~~~~~ ctx.c: At top level: ctx.c:299:32: error: static declaration of ‘SSL_CTX_get_ciphers’ follows non-static declaration NOEXPORT STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx) { ^~~~~~~~~~~~~~~~~~~ In file included from common.h:464:0, from ctx.c:38: /usr/include/openssl/ssl.h:1235:23: note: previous declaration of ‘SSL_CTX_get_ciphers’ was here STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx); ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:769: stunnel-ctx.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44/src' make[1]: *** [Makefile:400: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44/src' make: *** [Makefile:451: all-recursive] Error 1 * ERROR: net-misc/stunnel-5.44::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/stunnel-5.44::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/stunnel-5.44::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:stunnel-5.44:20180514-100021.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/stunnel-5.44/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/stunnel-5.44/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44' * S: '/var/tmp/portage/net-misc/stunnel-5.44/work/stunnel-5.44'