* Package: dev-java/netty-tcnative-1.1.33.15 * Repository: gentoo * Maintainer: java@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using: icedtea-bin-8 >>> Unpacking source... >>> Unpacking netty-tcnative-1.1.33.Fork15.tar.gz to /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work >>> Source unpacked in /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work >>> Preparing source in /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15 ... Archive: //usr/share/maven-hawtjni-plugin/lib/maven-hawtjni-plugin.jar inflating: project-template/vs2008.vcproj inflating: project-template/readme.md inflating: project-template/m4/osx-universal.m4 inflating: project-template/m4/jni.m4 inflating: project-template/autogen.sh inflating: project-template/Makefile.am * Running eautoreconf in '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package/ * Running elibtoolize in: netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package/autotools/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15 ... * econf: updating netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package/autotools/config.sub with /usr/share/gnuconfig/config.sub * econf: updating netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package/autotools/config.guess with /usr/share/gnuconfig/config.guess ./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-silent-rules --libdir=/usr/lib64 --with-apr=/usr/bin/apr-1-config --with-ssl=/usr checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu ./configure: line 2293: -O2: command not found 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 a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /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 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... (cached) 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 for gawk... gawk 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... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E 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: JAVA_HOME was set, checking to see if it's a JDK we can use... checking if '/opt/icedtea-bin-3.15.0' is a JDK... yes checking for APR... yes checking for OpenSSL library... using openssl from /usr/lib and /usr/include checking OpenSSL library version... ok checking for OpenSSL DSA support... yes setting TCNATIVE_PRIV_INCLUDES to "" setting TCNATIVE_LDFLAGS to "-lssl -lcrypto" adding "-DHAVE_OPENSSL" to CFLAGS checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing libtool commands (@PROJECT_NAME@) version @VERSION@ Prefix.........: /usr C Compiler.....: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux Linker.........: /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lssl -lcrypto -lapr-1 -luuid -lrt -lcrypt -lpthread -ldl -avoid-version >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15 ... * Compiling ... warning: [options] bootstrap class path not set in conjunction with -source 1.7 1 warning make -j1 -C /var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package make: Entering directory '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package' /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/address.lo src/address.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/address.c -fPIC -DPIC -o src/.libs/address.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/bb.lo src/bb.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/bb.c -fPIC -DPIC -o src/.libs/bb.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/dir.lo src/dir.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/dir.c -fPIC -DPIC -o src/.libs/dir.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/error.lo src/error.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/error.c -fPIC -DPIC -o src/.libs/error.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/file.lo src/file.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/file.c -fPIC -DPIC -o src/.libs/file.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/info.lo src/info.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/info.c -fPIC -DPIC -o src/.libs/info.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/jnilib.lo src/jnilib.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/jnilib.c -fPIC -DPIC -o src/.libs/jnilib.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/lock.lo src/lock.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/lock.c -fPIC -DPIC -o src/.libs/lock.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/misc.lo src/misc.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/misc.c -fPIC -DPIC -o src/.libs/misc.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/mmap.lo src/mmap.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/mmap.c -fPIC -DPIC -o src/.libs/mmap.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/multicast.lo src/multicast.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/multicast.c -fPIC -DPIC -o src/.libs/multicast.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/network.lo src/network.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/network.c -fPIC -DPIC -o src/.libs/network.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os.lo src/os.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os.c -fPIC -DPIC -o src/.libs/os.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os_unix_system.lo src/os_unix_system.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os_unix_system.c -fPIC -DPIC -o src/.libs/os_unix_system.o In file included from /usr/include/sys/syslog.h:207, from /usr/include/syslog.h:1, from src/os_unix_system.c:49: In function ‘syslog’, inlined from ‘Java_org_apache_tomcat_jni_OS_syslog’ at src/os_unix_system.c:445:5: /usr/include/bits/syslog.h:31:3: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 31 | __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os_unix_uxpipe.lo src/os_unix_uxpipe.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os_unix_uxpipe.c -fPIC -DPIC -o src/.libs/os_unix_uxpipe.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os_win32_ntpipe.lo src/os_win32_ntpipe.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os_win32_ntpipe.c -fPIC -DPIC -o src/.libs/os_win32_ntpipe.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os_win32_registry.lo src/os_win32_registry.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os_win32_registry.c -fPIC -DPIC -o src/.libs/os_win32_registry.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/os_win32_system.lo src/os_win32_system.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/os_win32_system.c -fPIC -DPIC -o src/.libs/os_win32_system.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/poll.lo src/poll.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/poll.c -fPIC -DPIC -o src/.libs/poll.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/pool.lo src/pool.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/pool.c -fPIC -DPIC -o src/.libs/pool.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/proc.lo src/proc.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/proc.c -fPIC -DPIC -o src/.libs/proc.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/shm.lo src/shm.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/shm.c -fPIC -DPIC -o src/.libs/shm.o /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c -o src/ssl.lo src/ssl.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I./src -O2 -pipe -march=native -Wformat -Werror=format-security -DHAVE_OPENSSL -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/opt/icedtea-bin-3.15.0/include -I/opt/icedtea-bin-3.15.0/include/linux -c src/ssl.c -fPIC -DPIC -o src/.libs/ssl.o src/ssl.c: In function ‘ssl_init_cleanup’: src/ssl.c:320:5: warning: ‘ERR_remove_state’ is deprecated [-Wdeprecated-declarations] 320 | ERR_remove_state(0); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/opensslconf.h:10, from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/ssl.h:15, from src/ssl_private.h:46, from src/ssl.c:29: /usr/include/openssl/err.h:261:1: note: declared here 261 | DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) | ^~~~~~~~~~~~~~~~~~ src/ssl.c: In function ‘Java_org_apache_tomcat_jni_SSL_initialize’: src/ssl.c:683:5: warning: implicit declaration of function ‘CRYPTO_malloc_init’; did you mean ‘CRYPTO_malloc’? [-Wimplicit-function-declaration] 683 | CRYPTO_malloc_init(); | ^~~~~~~~~~~~~~~~~~ | CRYPTO_malloc src/ssl.c: In function ‘SSL_BIO_close’: src/ssl.c:870:11: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 870 | if (bi->ptr != NULL && (bi->flags & SSL_BIO_FLAG_CALLBACK)) { | ^~ src/ssl.c:870:31: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 870 | if (bi->ptr != NULL && (bi->flags & SSL_BIO_FLAG_CALLBACK)) { | ^~ src/ssl.c:871:37: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 871 | BIO_JAVA *j = (BIO_JAVA *)bi->ptr; | ^~ src/ssl.c: In function ‘SSL_BIO_doref’: src/ssl.c:888:11: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 888 | if (bi->ptr != NULL && (bi->flags & SSL_BIO_FLAG_CALLBACK)) { | ^~ src/ssl.c:888:31: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 888 | if (bi->ptr != NULL && (bi->flags & SSL_BIO_FLAG_CALLBACK)) { | ^~ src/ssl.c:889:37: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 889 | BIO_JAVA *j = (BIO_JAVA *)bi->ptr; | ^~ src/ssl.c: In function ‘jbs_new’: src/ssl.c:903:7: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 903 | bi->shutdown = 1; | ^~ src/ssl.c:904:7: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 904 | bi->init = 0; | ^~ src/ssl.c:905:7: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 905 | bi->num = -1; | ^~ src/ssl.c:906:7: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 906 | bi->ptr = (char *)j; | ^~ src/ssl.c: In function ‘jbs_free’: src/ssl.c:918:11: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 918 | if (bi->ptr != NULL) { | ^~ src/ssl.c:919:27: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 919 | j = (BIO_JAVA *)bi->ptr; | ^~ src/ssl.c:920:15: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 920 | if (bi->init) { | ^~ src/ssl.c:921:15: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 921 | bi->init = 0; | ^~ In file included from /usr/include/openssl/comp.h:16, from /usr/include/openssl/ssl.h:17, from src/ssl_private.h:46, from src/ssl.c:29: src/ssl.c:925:24: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 925 | OPENSSL_free(bi->ptr); | ^~ src/ssl.c:927:7: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 927 | bi->ptr = NULL; | ^~ src/ssl.c: In function ‘jbs_write’: src/ssl.c:935:10: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 935 | if (b->init && in != NULL) { | ^~ src/ssl.c:936:36: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 936 | BIO_JAVA *j = (BIO_JAVA *)b->ptr; | ^~ src/ssl.c: In function ‘jbs_read’: src/ssl.c:961:10: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 961 | if (b->init && out != NULL) { | ^~ src/ssl.c:962:36: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 962 | BIO_JAVA *j = (BIO_JAVA *)b->ptr; | ^~ src/ssl.c: In function ‘jbs_puts’: src/ssl.c:991:10: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 991 | if (b->init && in != NULL) { | ^~ src/ssl.c:992:26: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 992 | j = (BIO_JAVA *)b->ptr; | ^~ src/ssl.c: In function ‘jbs_gets’: src/ssl.c:1009:10: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 1009 | if (b->init && out != NULL) { | ^~ src/ssl.c:1010:26: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 1010 | j = (BIO_JAVA *)b->ptr; | ^~ src/ssl.c: At top level: src/ssl.c:1042:1: error: variable ‘jbs_methods’ has initializer but incomplete type 1042 | static BIO_METHOD jbs_methods = { | ^~~~~~ src/ssl.c:1043:5: warning: excess elements in struct initializer 1043 | BIO_TYPE_FILE, | ^~~~~~~~~~~~~ src/ssl.c:1043:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1044:5: warning: excess elements in struct initializer 1044 | "Java Callback", | ^~~~~~~~~~~~~~~ src/ssl.c:1044:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1045:5: warning: excess elements in struct initializer 1045 | jbs_write, | ^~~~~~~~~ src/ssl.c:1045:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1046:5: warning: excess elements in struct initializer 1046 | jbs_read, | ^~~~~~~~ src/ssl.c:1046:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1047:5: warning: excess elements in struct initializer 1047 | jbs_puts, | ^~~~~~~~ src/ssl.c:1047:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1048:5: warning: excess elements in struct initializer 1048 | jbs_gets, | ^~~~~~~~ src/ssl.c:1048:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1049:5: warning: excess elements in struct initializer 1049 | jbs_ctrl, | ^~~~~~~~ src/ssl.c:1049:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1050:5: warning: excess elements in struct initializer 1050 | jbs_new, | ^~~~~~~ src/ssl.c:1050:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1051:5: warning: excess elements in struct initializer 1051 | jbs_free, | ^~~~~~~~ src/ssl.c:1051:5: note: (near initialization for ‘jbs_methods’) src/ssl.c:1052:5: warning: excess elements in struct initializer 1052 | NULL | ^~~~ src/ssl.c:1052:5: note: (near initialization for ‘jbs_methods’) src/ssl.c: In function ‘Java_org_apache_tomcat_jni_SSL_newBIO’: src/ssl.c:1088:24: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 1088 | j = (BIO_JAVA *)bio->ptr; | ^~ src/ssl.c:1108:8: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 1108 | bio->init = 1; | ^~ src/ssl.c:1109:8: error: invalid use of incomplete typedef ‘BIO’ {aka ‘struct bio_st’} 1109 | bio->flags = SSL_BIO_FLAG_CALLBACK; | ^~ src/ssl.c: In function ‘Java_org_apache_tomcat_jni_SSL_setState’: src/ssl.c:2060:5: warning: implicit declaration of function ‘SSL_set_state’; did you mean ‘SSL_get_state’? [-Wimplicit-function-declaration] 2060 | SSL_set_state(ssl_, state); | ^~~~~~~~~~~~~ | SSL_get_state src/ssl.c: At top level: src/ssl.c:1042:19: error: storage size of ‘jbs_methods’ isn’t known 1042 | static BIO_METHOD jbs_methods = { | ^~~~~~~~~~~ make: *** [Makefile:530: src/ssl.lo] Error 1 make: Leaving directory '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15/openssl-dynamic/src/main/native-package' * ERROR: dev-java/netty-tcnative-1.1.33.15::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-java/netty-tcnative-1.1.33.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/netty-tcnative-1.1.33.15::gentoo'`. * The complete build log is located at '/var/log/portage/dev-java:netty-tcnative-1.1.33.15:20200511-105907.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/temp/environment'. * Working directory: '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15' * S: '/var/tmp/portage/dev-java/netty-tcnative-1.1.33.15/work/netty-tcnative-netty-tcnative-1.1.33.Fork15' !!! When you file a bug report, please include the following information: GENTOO_VM=icedtea-bin-8 CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-3.15.0" JAVACFLAGS="-source 1.7 -target 1.7" COMPILER="" and of course, the output of emerge --info =netty-tcnative-1.1.33.15