>>> tomcat-native: Building community/tomcat-native 2.0.7-r0 (using abuild 3.13.0-r3) started Wed, 01 May 2024 10:20:28 +0000 >>> tomcat-native: Checking sanity of /home/buildozer/aports/community/tomcat-native/APKBUILD... >>> tomcat-native: Analyzing dependencies... >>> tomcat-native: Installing for build: build-base apr-dev chrpath java-jdk libtool openssl-dev (1/88) Installing libuuid (2.40-r2) (2/88) Installing apr (1.7.4-r0) (3/88) Installing libeconf (0.6.2-r0) (4/88) Installing libblkid (2.40-r2) (5/88) Installing libfdisk (2.40-r2) (6/88) Installing libmount (2.40-r2) (7/88) Installing libsmartcols (2.40-r2) (8/88) Installing readline (8.2.10-r0) (9/88) Installing sqlite (3.45.3-r0) (10/88) Installing sqlite-libs (3.45.3-r0) (11/88) Installing sqlite-dev (3.45.3-r0) (12/88) Installing util-linux (2.40-r2) (13/88) Installing setarch (2.40-r2) (14/88) Installing util-linux-misc (2.40-r2) (15/88) Installing skalibs (2.14.1.1-r0) (16/88) Installing utmps-libs (0.1.2.2-r1) (17/88) Installing linux-pam (1.6.0-r0) (18/88) Installing runuser (2.40-r2) (19/88) Installing mount (2.40-r2) (20/88) Installing losetup (2.40-r2) (21/88) Installing hexdump (2.40-r2) (22/88) Installing uuidgen (2.40-r2) (23/88) Installing blkid (2.40-r2) (24/88) Installing sfdisk (2.40-r2) (25/88) Installing mcookie (2.40-r2) (26/88) Installing agetty (2.40-r2) (27/88) Installing wipefs (2.40-r2) (28/88) Installing cfdisk (2.40-r2) (29/88) Installing umount (2.40-r2) (30/88) Installing flock (2.40-r2) (31/88) Installing lsblk (2.40-r2) (32/88) Installing libcap-ng (0.8.4-r0) (33/88) Installing setpriv (2.40-r2) (34/88) Installing logger (2.40-r2) (35/88) Installing partx (2.40-r2) (36/88) Installing fstrim (2.40-r2) (37/88) Installing findmnt (2.40-r2) (38/88) Installing util-linux-dev (2.40-r2) (39/88) Installing apr-dev (1.7.4-r0) (40/88) Installing chrpath (0.16-r4) (41/88) Installing libbz2 (1.0.8-r6) (42/88) Installing libpng (1.6.43-r0) (43/88) Installing freetype (2.13.2-r0) (44/88) Installing fontconfig (2.15.0-r1) (45/88) Installing encodings (1.0.7-r1) (46/88) Installing libfontenc (1.1.7-r5) (47/88) Installing mkfontscale (1.2.2-r6) (48/88) Installing font-dejavu (2.37-r5) (49/88) Installing libxau (1.0.11-r4) (50/88) Installing libmd (1.1.0-r0) (51/88) Installing libbsd (0.12.2-r0) (52/88) Installing libxdmcp (1.1.5-r1) (53/88) Installing libxcb (1.16.1-r0) (54/88) Installing libx11 (1.8.9-r1) (55/88) Installing libxcomposite (0.4.6-r5) (56/88) Installing libxext (1.3.6-r2) (57/88) Installing libxi (1.8.1-r4) (58/88) Installing libxrender (0.9.11-r5) (59/88) Installing libxtst (1.2.4-r6) (60/88) Installing alsa-lib (1.2.11-r0) (61/88) Installing giflib (5.2.2-r0) (62/88) Installing libjpeg-turbo (3.0.2-r0) (63/88) Installing openjdk8-jre-lib (8.402.06-r0) (64/88) Installing java-common (0.5-r0) (65/88) Installing libffi (3.4.6-r0) (66/88) Installing libtasn1 (4.19.0-r2) (67/88) Installing p11-kit (0.25.3-r0) (68/88) Installing p11-kit-trust (0.25.3-r0) (69/88) Installing java-cacerts (1.0-r1) (70/88) Installing nspr (4.35-r4) (71/88) Installing nss (3.99-r0) (72/88) Installing krb5-conf (1.0-r2) (73/88) Installing libcom_err (1.47.0-r5) (74/88) Installing keyutils-libs (1.6.3-r3) (75/88) Installing libverto (0.3.2-r2) (76/88) Installing krb5-libs (1.21.2-r0) (77/88) Installing lcms2 (2.16-r0) (78/88) Installing pcsc-lite-libs (2.0.1-r0) (79/88) Installing liblksctp (1.0.19-r5) (80/88) Installing openjdk8-jre-base (8.402.06-r0) (81/88) Installing openjdk8-jre (8.402.06-r0) (82/88) Installing openjdk8-jdk (8.402.06-r0) (83/88) Installing libltdl (2.4.7-r3) (84/88) Installing libtool (2.4.7-r3) (85/88) Installing openssl-dev (3.3.0-r1) (86/88) Installing .makedepends-tomcat-native (20240501.102039) (87/88) Installing util-linux-openrc (2.40-r2) (88/88) Installing agetty-openrc (0.54-r1) Executing busybox-1.36.1-r26.trigger Executing fontconfig-2.15.0-r1.trigger Executing mkfontscale-1.2.2-r6.trigger Executing java-common-0.5-r0.trigger Executing ca-certificates-20240226-r0.trigger OK: 502 MiB in 190 packages >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Cleaning up tmpdir >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/tomcat-native-2.0.7-src.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.20/tomcat-native-2.0.7-src.tar.gz.part' tomcat-native-2.0.7- 18% |***** | 98058 0:00:04 ETA tomcat-native-2.0.7- 100% |********************************| 525k 0:00:00 ETA '/var/cache/distfiles/v3.20/tomcat-native-2.0.7-src.tar.gz.part' saved >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/tomcat-native-2.0.7-src.tar.gz >>> tomcat-native: Checking sha512sums... tomcat-native-2.0.7-src.tar.gz: OK >>> tomcat-native: Unpacking /var/cache/distfiles/v3.20/tomcat-native-2.0.7-src.tar.gz... checking build system type... i686-pc-linux-musl checking host system type... i686-pc-linux-musl checking target system type... i686-pc-linux-musl checking for a BSD-compatible install... /usr/bin/install -c checking how to print strings... printf checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking 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 gcc... /usr/i586-alpine-linux-musl/bin/ld checking if the linker (/usr/i586-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert i686-pc-linux-musl file names to i686-pc-linux-musl format... func_convert_file_noop checking how to convert i686-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/i586-alpine-linux-musl/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/i586-alpine-linux-musl/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for working mkdir -p... yes Tomcat Native Version: 2.0.7 checking for chosen layout... tcnative checking for APR... yes configure: APR 1.7.4 detected. setting CPP to "gcc -E" checking JAVA_HOME... /usr/lib/jvm/default-jvm adding "-I/usr/lib/jvm/default-jvm/include" to TCNATIVE_PRIV_INCLUDES checking for JDK os include directory... linux adding "-I/usr/lib/jvm/default-jvm/include/linux" to TCNATIVE_PRIV_INCLUDES checking for OpenSSL library... /usr/lib using openssl from /usr/lib/lib and /usr/lib/include checking OpenSSL library version >= 3.0.0... ok adding "-I/usr/lib/include" to TCNATIVE_PRIV_INCLUDES setting TCNATIVE_LDFLAGS to "-L/usr/lib/lib -Wl,-rpath,/usr/lib/lib -lssl -lcrypto" setting TCNATIVE_LIBS to "" setting TCNATIVE_LIBS to " -L/usr/lib -R/usr/lib -lapr-1 -luuid -lpthread" adding "-Wl,--as-needed,-O1,--sort-common" to TCNATIVE_LDFLAGS adding "-Wl,-z,pack-relative-relocs" to TCNATIVE_LDFLAGS adding "-DTCNATIVE_LINUX" to CFLAGS checking for apr_pollset_wakeup in -lapr-1... yes adding "-DHAVE_POLLSET_WAKEUP" to CFLAGS configure: creating ./config.status config.status: creating Makefile config.status: executing libtool commands config.status: executing default commands make[1]: Entering directory '/home/buildozer/aports/community/tomcat-native/src/tomcat-native-2.0.7-src/native' /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/bb.lo -c src/bb.c && touch src/bb.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/error.lo -c src/error.c && touch src/error.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/jnilib.lo -c src/jnilib.c && touch src/jnilib.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/pool.lo -c src/pool.c && touch src/pool.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/ssl.lo -c src/ssl.c && touch src/ssl.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/sslconf.lo -c src/sslconf.c && touch src/sslconf.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/sslcontext.lo -c src/sslcontext.c && touch src/sslcontext.lo /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -o src/sslutils.lo -c src/sslutils.c && touch src/sslutils.lo src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setTmpDH': src/sslcontext.c:766:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 766 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:37, from ./include/ssl_private.h:38, from src/sslcontext.c:27: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/sslcontext.c:778:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 778 | DH_free(dh); | ^~~~~~~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32: /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/sslcontext.c:785:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 785 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setTmpECDHByCurveName': src/sslcontext.c:809:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 809 | ecdh = EC_KEY_new_by_curve_name(i); | ^~~~ In file included from /usr/include/openssl/x509.h:33: /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sslcontext.c:819:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 819 | EC_KEY_free(ecdh); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/sslcontext.c:825:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 825 | EC_KEY_free(ecdh); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setCertificate': src/sslcontext.c:1043:17: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1043 | (c->keys[idx] = ENGINE_load_private_key(tcn_ssl_engine, key_file, | ^ In file included from ./include/ssl_private.h:56: /usr/include/openssl/engine.h:638:11: note: declared here 638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id, | ^~~~~~~~~~~~~~~~~~~~~~~ src/sslcontext.c:1088:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1088 | DH_free(dhparams); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/sslcontext.c:1099:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1099 | (eckey = EC_KEY_new_by_curve_name(nid))) { | ^ /usr/include/openssl/ec.h:1017:31: note: declared here 1017 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ src/sslcontext.c:1104:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1104 | EC_KEY_free(eckey); | ^~~~~~~~~~~ /usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ src/sslcontext.c:1107:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1107 | SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2275:6: note: declared here 2275 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setCertificateRaw': src/sslcontext.c:1216:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1216 | SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2275:6: note: declared here 2275 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c: In function 'make_dh_params': src/ssl.c:52:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 52 | DH *dh = DH_new(); | ^~ In file included from /usr/include/openssl/dsa.h:31, from /usr/include/openssl/x509.h:37, from /usr/include/openssl/ssl.h:32, from ./include/ssl_private.h:38, from src/ssl.c:23: /usr/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ src/ssl.c:63:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 63 | if (!p || !g || !DH_set0_pqg(dh, p, NULL, g)) { | ^~ /usr/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ src/ssl.c:64:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 64 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/ssl.c: In function 'free_dh_params': src/ssl.c:102:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 102 | DH_free(dhparams[n].dh); | ^~~~~~~ /usr/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ src/ssl.c: In function 'ssl_init_cleanup': src/ssl.c:164:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | ENGINE_free(tcn_ssl_engine); | ^~~~~~~~~~~ In file included from ./include/ssl_private.h:56: /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ src/ssl.c: In function 'ssl_try_load_engine': src/ssl.c:192:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 192 | ENGINE *e = ENGINE_by_id("dynamic"); | ^~~~~~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ src/ssl.c:194:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 194 | if (!ENGINE_ctrl_cmd_string(e, "SO_PATH", engine, 0) | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:195:13: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 195 | || !ENGINE_ctrl_cmd_string(e, "LOAD", NULL, 0)) { | ^~ /usr/include/openssl/engine.h:479:5: note: declared here 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, const char *arg, | ^~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:196:13: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 196 | ENGINE_free(e); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ src/ssl.c: In function 'Java_org_apache_tomcat_jni_SSL_initialize': src/ssl.c:316:13: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | ENGINE_register_all_complete(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/engine.h:415:27: note: declared here 415 | OSSL_DEPRECATEDIN_3_0 int ENGINE_register_all_complete(void); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:319:13: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 319 | if ((ee = ENGINE_by_id(J2S(engine))) == NULL | ^~ /usr/include/openssl/engine.h:336:31: note: declared here 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); | ^~~~~~~~~~~~ src/ssl.c:325:21: warning: 'ENGINE_ctrl' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 325 | ENGINE_ctrl(ee, ENGINE_CTRL_CHIL_SET_FORKCHECK, 1, 0, 0); | ^~~~~~~~~~~ /usr/include/openssl/engine.h:429:27: note: declared here 429 | OSSL_DEPRECATEDIN_3_0 int ENGINE_ctrl(ENGINE *e, int cmd, long i, void *p, | ^~~~~~~~~~~ src/ssl.c:327:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 327 | if (!ENGINE_set_default(ee, ENGINE_METHOD_ALL)) | ^~ /usr/include/openssl/engine.h:708:27: note: declared here 708 | OSSL_DEPRECATEDIN_3_0 int ENGINE_set_default(ENGINE *e, unsigned int flags); | ^~~~~~~~~~~~~~~~~~ src/sslutils.c: In function 'SSL_dh_GetParamFromFile': src/sslutils.c:191:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 191 | dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL); | ^~ In file included from /usr/include/openssl/ssl.h:37, from ./include/ssl_private.h:38, from src/sslutils.c:23: /usr/include/openssl/pem.h:473:1: note: declared here 473 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/sslutils.c: In function 'SSL_ec_GetParamFromFile': src/sslutils.c:204:5: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 204 | group = PEM_read_bio_ECPKParameters(bio, NULL, NULL, NULL); | ^~~~~ /usr/include/openssl/pem.h:465:1: note: declared here 465 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ /bin/sh /usr/share/build-1/libtool --silent --mode=link --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -I./include -I/usr/lib/jvm/default-jvm/include -I/usr/lib/jvm/default-jvm/include/linux -I/usr/lib/include -I/usr/include/apr-1 -version-info 0:7:0 -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -o libtcnative-2.la -rpath /usr/lib src/bb.lo src/error.lo src/jnilib.lo src/pool.lo src/ssl.lo src/sslconf.lo src/sslcontext.lo src/sslutils.lo -L/usr/lib/lib -Wl,-rpath,/usr/lib/lib -lssl -lcrypto -Wl,--as-needed,-O1,--sort-common -Wl,-z,pack-relative-relocs -L/usr/lib -R/usr/lib -lapr-1 -luuid -lpthread make[1]: Leaving directory '/home/buildozer/aports/community/tomcat-native/src/tomcat-native-2.0.7-src/native' >>> tomcat-native: Entering fakeroot... make[1]: Entering directory '/home/buildozer/aports/community/tomcat-native/src/tomcat-native-2.0.7-src/native' make[1]: Nothing to be done for 'local-all'. make[1]: Leaving directory '/home/buildozer/aports/community/tomcat-native/src/tomcat-native-2.0.7-src/native' /usr/share/build-1/mkdir.sh /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib /bin/sh /usr/share/build-1/libtool --mode=install /usr/bin/install -c -m 755 libtcnative-2.la /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-2.so.0.0.7 /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.so.0.0.7 libtool: install: (cd /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib && { ln -s -f libtcnative-2.so.0.0.7 libtcnative-2.so.0 || { rm -f libtcnative-2.so.0 && ln -s libtcnative-2.so.0.0.7 libtcnative-2.so.0; }; }) libtool: install: (cd /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib && { ln -s -f libtcnative-2.so.0.0.7 libtcnative-2.so || { rm -f libtcnative-2.so && ln -s libtcnative-2.so.0.0.7 libtcnative-2.so; }; }) libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-2.lai /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.la libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-2.a /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.a libtool: install: chmod 644 /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.a libtool: install: ranlib /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.a libtool: warning: remember to run 'libtool --finish /usr/lib' >>> tomcat-native-dev*: Running split function dev... >>> tomcat-native-dev*: Preparing subpackage tomcat-native-dev... >>> tomcat-native-dev*: Stripping binaries >>> tomcat-native-dev*: Running postcheck for tomcat-native-dev >>> tomcat-native*: Running postcheck for tomcat-native >>> tomcat-native*: Preparing package tomcat-native... >>> tomcat-native*: Stripping binaries >>> tomcat-native-dev*: Scanning shared objects >>> tomcat-native*: Scanning shared objects >>> tomcat-native-dev*: Tracing dependencies... >>> tomcat-native-dev*: Package size: 108.0 KB >>> tomcat-native-dev*: Compressing data... >>> tomcat-native-dev*: Create checksum... >>> tomcat-native-dev*: Create tomcat-native-dev-2.0.7-r0.apk >>> tomcat-native*: Tracing dependencies... so:libapr-1.so.0 so:libc.musl-x86.so.1 so:libcrypto.so.3 so:libssl.so.3 >>> tomcat-native*: Package size: 92.0 KB >>> tomcat-native*: Compressing data... >>> tomcat-native*: Create checksum... >>> tomcat-native*: Create tomcat-native-2.0.7-r0.apk >>> tomcat-native: Build complete at Wed, 01 May 2024 10:20:47 +0000 elapsed time 0h 0m 19s >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Uninstalling dependencies... (1/88) Purging .makedepends-tomcat-native (20240501.102039) (2/88) Purging apr-dev (1.7.4-r0) (3/88) Purging apr (1.7.4-r0) (4/88) Purging util-linux-dev (2.40-r2) (5/88) Purging chrpath (0.16-r4) (6/88) Purging libtool (2.4.7-r3) (7/88) Purging libltdl (2.4.7-r3) (8/88) Purging openssl-dev (3.3.0-r1) (9/88) Purging agetty-openrc (0.54-r1) (10/88) Purging agetty (2.40-r2) (11/88) Purging blkid (2.40-r2) (12/88) Purging cfdisk (2.40-r2) (13/88) Purging findmnt (2.40-r2) (14/88) Purging flock (2.40-r2) (15/88) Purging fstrim (2.40-r2) (16/88) Purging hexdump (2.40-r2) (17/88) Purging logger (2.40-r2) (18/88) Purging losetup (2.40-r2) (19/88) Purging lsblk (2.40-r2) (20/88) Purging mcookie (2.40-r2) (21/88) Purging mount (2.40-r2) (22/88) Purging openjdk8-jdk (8.402.06-r0) (23/88) Purging openjdk8-jre (8.402.06-r0) (24/88) Purging font-dejavu (2.37-r5) (25/88) Purging fontconfig (2.15.0-r1) (26/88) Purging encodings (1.0.7-r1) (27/88) Purging mkfontscale (1.2.2-r6) (28/88) Purging openjdk8-jre-base (8.402.06-r0) (29/88) Purging openjdk8-jre-lib (8.402.06-r0) (30/88) Purging java-common (0.5-r0) (31/88) Purging java-cacerts (1.0-r1) Executing java-cacerts-1.0-r1.post-deinstall (32/88) Purging p11-kit-trust (0.25.3-r0) (33/88) Purging nss (3.99-r0) (34/88) Purging p11-kit (0.25.3-r0) (35/88) Purging partx (2.40-r2) (36/88) Purging pcsc-lite-libs (2.0.1-r0) (37/88) Purging runuser (2.40-r2) (38/88) Purging setpriv (2.40-r2) (39/88) Purging sfdisk (2.40-r2) (40/88) Purging sqlite-dev (3.45.3-r0) (41/88) Purging sqlite (3.45.3-r0) (42/88) Purging umount (2.40-r2) (43/88) Purging util-linux-misc (2.40-r2) (44/88) Purging setarch (2.40-r2) (45/88) Purging util-linux-openrc (2.40-r2) (46/88) Purging uuidgen (2.40-r2) (47/88) Purging wipefs (2.40-r2) (48/88) Purging alsa-lib (1.2.11-r0) (49/88) Purging freetype (2.13.2-r0) (50/88) Purging giflib (5.2.2-r0) (51/88) Purging krb5-libs (1.21.2-r0) (52/88) Purging krb5-conf (1.0-r2) (53/88) Purging keyutils-libs (1.6.3-r3) (54/88) Purging lcms2 (2.16-r0) (55/88) Purging libfdisk (2.40-r2) (56/88) Purging libmount (2.40-r2) (57/88) Purging libblkid (2.40-r2) (58/88) Purging libxi (1.8.1-r4) (59/88) Purging libxtst (1.2.4-r6) (60/88) Purging libxext (1.3.6-r2) (61/88) Purging libxrender (0.9.11-r5) (62/88) Purging libxcomposite (0.4.6-r5) (63/88) Purging libx11 (1.8.9-r1) (64/88) Purging libxcb (1.16.1-r0) (65/88) Purging libxdmcp (1.1.5-r1) (66/88) Purging libbsd (0.12.2-r0) (67/88) Purging libbz2 (1.0.8-r6) (68/88) Purging libcap-ng (0.8.4-r0) (69/88) Purging libcom_err (1.47.0-r5) (70/88) Purging libeconf (0.6.2-r0) (71/88) Purging libffi (3.4.6-r0) (72/88) Purging libfontenc (1.1.7-r5) (73/88) Purging libjpeg-turbo (3.0.2-r0) (74/88) Purging liblksctp (1.0.19-r5) (75/88) Purging libmd (1.1.0-r0) (76/88) Purging libpng (1.6.43-r0) (77/88) Purging libsmartcols (2.40-r2) (78/88) Purging libtasn1 (4.19.0-r2) (79/88) Purging libuuid (2.40-r2) (80/88) Purging libverto (0.3.2-r2) (81/88) Purging libxau (1.0.11-r4) (82/88) Purging linux-pam (1.6.0-r0) (83/88) Purging nspr (4.35-r4) (84/88) Purging readline (8.2.10-r0) (85/88) Purging utmps-libs (0.1.2.2-r1) (86/88) Purging skalibs (2.14.1.1-r0) (87/88) Purging util-linux (2.40-r2) (88/88) Purging sqlite-libs (3.45.3-r0) Executing busybox-1.36.1-r26.trigger Executing ca-certificates-20240226-r0.trigger OK: 376 MiB in 102 packages >>> tomcat-native: Updating the community/x86 repository index... >>> tomcat-native: Signing the index...