>>> tomcat-native: Building community/tomcat-native 2.0.8-r0 (using abuild 3.15.0_rc3-r3) started Sun, 11 May 2025 14:40:04 +0000 >>> tomcat-native: Validating /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/61) Installing libuuid (2.41-r7) (2/61) Installing apr (1.7.5-r0) (3/61) Installing libeconf (0.6.3-r0) (4/61) Installing libblkid (2.41-r7) (5/61) Installing libfdisk (2.41-r7) (6/61) Installing sqlite-libs (3.49.2-r0) (7/61) Installing liblastlog2 (2.41-r7) (8/61) Installing libmount (2.41-r7) (9/61) Installing libsmartcols (2.41-r7) (10/61) Installing sqlite (3.49.2-r0) (11/61) Installing sqlite-dev (3.49.2-r0) (12/61) Installing util-linux-dev (2.41-r7) (13/61) Installing apr-dev (1.7.5-r0) (14/61) Installing chrpath (0.16-r4) (15/61) Installing libbz2 (1.0.8-r6) (16/61) Installing libpng (1.6.47-r0) (17/61) Installing freetype (2.13.3-r0) (18/61) Installing fontconfig (2.15.0-r3) (19/61) Installing encodings (1.0.7-r1) (20/61) Installing libfontenc (1.1.8-r0) (21/61) Installing mkfontscale (1.2.3-r1) (22/61) Installing font-dejavu (2.37-r6) (23/61) Installing libxau (1.0.12-r0) (24/61) Installing libmd (1.1.0-r0) (25/61) Installing libbsd (0.12.2-r0) (26/61) Installing libxdmcp (1.1.5-r1) (27/61) Installing libxcb (1.17.0-r0) (28/61) Installing libx11 (1.8.11-r0) (29/61) Installing libxcomposite (0.4.6-r5) (30/61) Installing libxext (1.3.6-r2) (31/61) Installing libxi (1.8.2-r0) (32/61) Installing libxrender (0.9.12-r0) (33/61) Installing libxtst (1.2.5-r0) (34/61) Installing alsa-lib (1.2.14-r0) (35/61) Installing giflib (5.2.2-r1) (36/61) Installing libjpeg-turbo (3.1.0-r0) (37/61) Installing openjdk8-jre-lib (8.442.06-r0) (38/61) Installing java-common (0.5-r0) (39/61) Installing libffi (3.4.8-r0) (40/61) Installing libtasn1 (4.20.0-r0) (41/61) Installing p11-kit (0.25.5-r2) (42/61) Installing p11-kit-trust (0.25.5-r2) (43/61) Installing ca-certificates (20241121-r2) (44/61) Installing java-cacerts (1.1-r0) (45/61) Installing nspr (4.36-r0) (46/61) Installing nss (3.110-r0) (47/61) Installing krb5-conf (1.0-r2) (48/61) Installing libcom_err (1.47.2-r2) (49/61) Installing keyutils-libs (1.6.3-r4) (50/61) Installing libverto (0.3.2-r2) (51/61) Installing krb5-libs (1.21.3-r0) (52/61) Installing lcms2 (2.16-r0) (53/61) Installing pcsc-lite-libs (2.3.3-r0) (54/61) Installing liblksctp (1.0.19-r5) (55/61) Installing openjdk8-jre-base (8.442.06-r0) (56/61) Installing openjdk8-jre (8.442.06-r0) (57/61) Installing openjdk8-jdk (8.442.06-r0) (58/61) Installing libltdl (2.5.4-r0) (59/61) Installing libtool (2.5.4-r0) (60/61) Installing openssl-dev (3.5.0-r0) (61/61) Installing .makedepends-tomcat-native (20250511.144032) Executing busybox-1.37.0-r17.trigger Executing fontconfig-2.15.0-r3.trigger Executing mkfontscale-1.2.3-r1.trigger Executing java-common-0.5-r0.trigger Executing ca-certificates-20241121-r2.trigger OK: 518 MiB in 165 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.22/tomcat-native-2.0.8-src.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.22/tomcat-native-2.0.8-src.tar.gz.part' tomcat-native-2.0.8- 100% |********************************| 460k 0:00:00 ETA '/var/cache/distfiles/v3.22/tomcat-native-2.0.8-src.tar.gz.part' saved >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/v3.22/tomcat-native-2.0.8-src.tar.gz >>> tomcat-native: Checking sha512sums... tomcat-native-2.0.8-src.tar.gz: OK >>> tomcat-native: Unpacking /var/cache/distfiles/v3.22/tomcat-native-2.0.8-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... cc 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 cc accepts -g... yes checking for cc 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 cc... /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 cc 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 cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc 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.8 checking for chosen layout... tcnative checking for APR... yes configure: APR 1.7.5 detected. setting CPP to "cc -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.8-src/native' /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC cc -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 cc -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 cc -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 cc -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 cc -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 cc -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 cc -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 cc -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/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/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setTmpDH': src/sslcontext.c:765:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 765 | 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:478:1: note: declared here 478 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ src/sslcontext.c:777:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 777 | 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:784:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 784 | 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:808:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 808 | 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:818:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 818 | 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:824:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 824 | 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/ssl.c: In function 'Java_org_apache_tomcat_jni_SSL_getTime': src/ssl.c:1137:9: warning: 'SSL_SESSION_get_time' is deprecated: Since OpenSSL 3.4;not Y2038-safe, replace with SSL_SESSION_get_time_ex() [-Wdeprecated-declarations] 1137 | return SSL_get_time(session); | ^~~~~~ /usr/include/openssl/ssl.h:1748:13: note: declared here 1748 | __owur long SSL_SESSION_get_time(const SSL_SESSION *s); | ^~~~~~~~~~~~~~~~~~~~ src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setCertificate': src/sslcontext.c:1042:17: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1042 | (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:1087:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1087 | 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:1098:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | (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:1102:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1102 | 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:1105:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1105 | SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2271:6: note: declared here 2271 | 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:1214:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1214 | SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2271:6: note: declared here 2271 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:478:1: note: declared here 478 | 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:470:1: note: declared here 470 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ /bin/sh /usr/share/build-1/libtool --silent --mode=link --tag=CC cc -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:8: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.8-src/native' >>> tomcat-native: Entering fakeroot... make[1]: Entering directory '/home/buildozer/aports/community/tomcat-native/src/tomcat-native-2.0.8-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.8-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.8 /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.so.0.0.8 libtool: install: (cd /home/buildozer/aports/community/tomcat-native/pkg/tomcat-native/usr/lib && { ln -s -f libtcnative-2.so.0.0.8 libtcnative-2.so.0 || { rm -f libtcnative-2.so.0 && ln -s libtcnative-2.so.0.0.8 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.8 libtcnative-2.so || { rm -f libtcnative-2.so && ln -s libtcnative-2.so.0.0.8 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... 'usr/lib/libtcnative-2.a' -> '/home/buildozer/aports/community/tomcat-native/pkg/tomcat-native-dev/usr/lib/libtcnative-2.a' 'usr/lib/libtcnative-2.so' -> '/home/buildozer/aports/community/tomcat-native/pkg/tomcat-native-dev/usr/lib/libtcnative-2.so' >>> 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: 93.4 KB >>> tomcat-native-dev*: Compressing data... >>> tomcat-native-dev*: Create checksum... >>> tomcat-native-dev*: Create tomcat-native-dev-2.0.8-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: 77.4 KB >>> tomcat-native*: Compressing data... >>> tomcat-native*: Create checksum... >>> tomcat-native*: Create tomcat-native-2.0.8-r0.apk >>> tomcat-native: Build complete at Sun, 11 May 2025 14:40:38 +0000 elapsed time 0h 0m 34s >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Uninstalling dependencies... (1/61) Purging .makedepends-tomcat-native (20250511.144032) (2/61) Purging apr-dev (1.7.5-r0) (3/61) Purging apr (1.7.5-r0) (4/61) Purging util-linux-dev (2.41-r7) (5/61) Purging libfdisk (2.41-r7) (6/61) Purging liblastlog2 (2.41-r7) (7/61) Purging libmount (2.41-r7) (8/61) Purging libsmartcols (2.41-r7) (9/61) Purging libuuid (2.41-r7) (10/61) Purging chrpath (0.16-r4) (11/61) Purging libtool (2.5.4-r0) (12/61) Purging libltdl (2.5.4-r0) (13/61) Purging openssl-dev (3.5.0-r0) (14/61) Purging libblkid (2.41-r7) (15/61) Purging libeconf (0.6.3-r0) (16/61) Purging openjdk8-jdk (8.442.06-r0) (17/61) Purging openjdk8-jre (8.442.06-r0) (18/61) Purging font-dejavu (2.37-r6) (19/61) Purging fontconfig (2.15.0-r3) (20/61) Purging encodings (1.0.7-r1) (21/61) Purging mkfontscale (1.2.3-r1) (22/61) Purging openjdk8-jre-base (8.442.06-r0) (23/61) Purging openjdk8-jre-lib (8.442.06-r0) (24/61) Purging java-common (0.5-r0) (25/61) Purging java-cacerts (1.1-r0) Executing java-cacerts-1.1-r0.pre-deinstall (26/61) Purging p11-kit-trust (0.25.5-r2) (27/61) Purging ca-certificates (20241121-r2) Executing ca-certificates-20241121-r2.post-deinstall (28/61) Purging nss (3.110-r0) (29/61) Purging p11-kit (0.25.5-r2) (30/61) Purging pcsc-lite-libs (2.3.3-r0) (31/61) Purging sqlite-dev (3.49.2-r0) (32/61) Purging sqlite (3.49.2-r0) (33/61) Purging sqlite-libs (3.49.2-r0) (34/61) Purging alsa-lib (1.2.14-r0) (35/61) Purging freetype (2.13.3-r0) (36/61) Purging giflib (5.2.2-r1) (37/61) Purging krb5-libs (1.21.3-r0) (38/61) Purging krb5-conf (1.0-r2) (39/61) Purging keyutils-libs (1.6.3-r4) (40/61) Purging lcms2 (2.16-r0) (41/61) Purging libxi (1.8.2-r0) (42/61) Purging libxtst (1.2.5-r0) (43/61) Purging libxext (1.3.6-r2) (44/61) Purging libxrender (0.9.12-r0) (45/61) Purging libxcomposite (0.4.6-r5) (46/61) Purging libx11 (1.8.11-r0) (47/61) Purging libxcb (1.17.0-r0) (48/61) Purging libxdmcp (1.1.5-r1) (49/61) Purging libbsd (0.12.2-r0) (50/61) Purging libbz2 (1.0.8-r6) (51/61) Purging libcom_err (1.47.2-r2) (52/61) Purging libffi (3.4.8-r0) (53/61) Purging libfontenc (1.1.8-r0) (54/61) Purging libjpeg-turbo (3.1.0-r0) (55/61) Purging liblksctp (1.0.19-r5) (56/61) Purging libmd (1.1.0-r0) (57/61) Purging libpng (1.6.47-r0) (58/61) Purging libtasn1 (4.20.0-r0) (59/61) Purging libverto (0.3.2-r2) (60/61) Purging libxau (1.0.12-r0) (61/61) Purging nspr (4.36-r0) Executing busybox-1.37.0-r17.trigger OK: 400 MiB in 104 packages >>> tomcat-native: Updating the community/x86 repository index... >>> tomcat-native: Signing the index...