>>> tomcat-native: Building community/tomcat-native 2.0.8-r0 (using abuild 3.14.1-r1) started Wed, 13 Nov 2024 21:20: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/90) Installing libuuid (2.40.2-r3) (2/90) Installing apr (1.7.5-r0) (3/90) Installing libeconf (0.6.3-r0) (4/90) Installing libblkid (2.40.2-r3) (5/90) Installing libfdisk (2.40.2-r3) (6/90) Installing libmount (2.40.2-r3) (7/90) Installing libsmartcols (2.40.2-r3) (8/90) Installing sqlite (3.47.0-r0) (9/90) Installing sqlite-libs (3.47.0-r0) (10/90) Installing sqlite-dev (3.47.0-r0) (11/90) Installing util-linux (2.40.2-r3) (12/90) Installing dmesg (2.40.2-r3) (13/90) Installing setarch (2.40.2-r3) (14/90) Installing skalibs-libs (2.14.3.0-r0) (15/90) Installing util-linux-misc (2.40.2-r3) (16/90) Installing utmps-libs (0.1.2.3-r2) (17/90) Installing linux-pam (1.6.1-r1) (18/90) Installing runuser (2.40.2-r3) (19/90) Installing mount (2.40.2-r3) (20/90) Installing losetup (2.40.2-r3) (21/90) Installing hexdump (2.40.2-r3) (22/90) Installing uuidgen (2.40.2-r3) (23/90) Installing blkid (2.40.2-r3) (24/90) Installing sfdisk (2.40.2-r3) (25/90) Installing mcookie (2.40.2-r3) (26/90) Installing agetty (2.40.2-r3) (27/90) Installing wipefs (2.40.2-r3) (28/90) Installing cfdisk (2.40.2-r3) (29/90) Installing umount (2.40.2-r3) (30/90) Installing flock (2.40.2-r3) (31/90) Installing lsblk (2.40.2-r3) (32/90) Installing libcap-ng (0.8.5-r0) (33/90) Installing setpriv (2.40.2-r3) (34/90) Installing lscpu (2.40.2-r3) (35/90) Installing logger (2.40.2-r3) (36/90) Installing partx (2.40.2-r3) (37/90) Installing fstrim (2.40.2-r3) (38/90) Installing findmnt (2.40.2-r3) (39/90) Installing util-linux-dev (2.40.2-r3) (40/90) Installing apr-dev (1.7.5-r0) (41/90) Installing chrpath (0.16-r4) (42/90) Installing libbz2 (1.0.8-r6) (43/90) Installing libpng (1.6.44-r0) (44/90) Installing freetype (2.13.3-r0) (45/90) Installing fontconfig (2.15.0-r1) (46/90) Installing encodings (1.0.7-r1) (47/90) Installing libfontenc (1.1.8-r0) (48/90) Installing mkfontscale (1.2.3-r1) (49/90) Installing font-dejavu (2.37-r5) (50/90) Installing libxau (1.0.11-r4) (51/90) Installing libmd (1.1.0-r0) (52/90) Installing libbsd (0.12.2-r0) (53/90) Installing libxdmcp (1.1.5-r1) (54/90) Installing libxcb (1.16.1-r0) (55/90) Installing libx11 (1.8.10-r0) (56/90) Installing libxcomposite (0.4.6-r5) (57/90) Installing libxext (1.3.6-r2) (58/90) Installing libxi (1.8.2-r0) (59/90) Installing libxrender (0.9.11-r5) (60/90) Installing libxtst (1.2.5-r0) (61/90) Installing alsa-lib (1.2.12-r0) (62/90) Installing giflib (5.2.2-r0) (63/90) Installing libjpeg-turbo (3.0.4-r0) (64/90) Installing openjdk8-jre-lib (8.422.05-r0) (65/90) Installing java-common (0.5-r0) (66/90) Installing libffi (3.4.6-r0) (67/90) Installing libtasn1 (4.19.0-r2) (68/90) Installing p11-kit (0.25.5-r2) (69/90) Installing p11-kit-trust (0.25.5-r2) (70/90) Installing ca-certificates (20240705-r0) (71/90) Installing java-cacerts (1.1-r0) (72/90) Installing nspr (4.35-r4) (73/90) Installing nss (3.106-r0) (74/90) Installing krb5-conf (1.0-r2) (75/90) Installing libcom_err (1.47.1-r1) (76/90) Installing keyutils-libs (1.6.3-r4) (77/90) Installing libverto (0.3.2-r2) (78/90) Installing krb5-libs (1.21.3-r0) (79/90) Installing lcms2 (2.16-r0) (80/90) Installing pcsc-lite-libs (2.2.3-r1) (81/90) Installing liblksctp (1.0.19-r5) (82/90) Installing openjdk8-jre-base (8.422.05-r0) (83/90) Installing openjdk8-jre (8.422.05-r0) (84/90) Installing openjdk8-jdk (8.422.05-r0) (85/90) Installing libltdl (2.4.7-r3) (86/90) Installing libtool (2.4.7-r3) (87/90) Installing openssl-dev (3.3.2-r3) (88/90) Installing .makedepends-tomcat-native (20241113.212014) (89/90) Installing util-linux-openrc (2.40.2-r3) (90/90) Installing agetty-openrc (0.55.1-r2) Executing busybox-1.37.0-r7.trigger Executing fontconfig-2.15.0-r1.trigger Executing mkfontscale-1.2.3-r1.trigger Executing java-common-0.5-r0.trigger Executing ca-certificates-20240705-r0.trigger OK: 517 MiB in 191 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.21/tomcat-native-2.0.8-src.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) saving to '/var/cache/distfiles/v3.21/tomcat-native-2.0.8-src.tar.gz.part' tomcat-native-2.0.8- 100% |********************************| 460k 0:00:00 ETA '/var/cache/distfiles/v3.21/tomcat-native-2.0.8-src.tar.gz.part' saved >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/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.21/tomcat-native-2.0.8-src.tar.gz... checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl checking target system type... x86_64-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/x86_64-alpine-linux-musl/bin/ld checking if the linker (/usr/x86_64-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 x86_64-pc-linux-musl file names to x86_64-pc-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-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/x86_64-alpine-linux-musl/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... 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 "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.8-src/native' /bin/sh /usr/share/build-1/libtool --silent --mode=compile --tag=CC gcc -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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:473:1: note: declared here 473 | 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/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: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: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:2275:6: note: declared here 2275 | 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: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 -fno-plt -DHAVE_CONFIG_H -DLINUX -D_REENTRANT -D_GNU_SOURCE -Os -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -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: 112.2 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_64.so.1 so:libcrypto.so.3 so:libssl.so.3 >>> tomcat-native*: Package size: 77.9 KB >>> tomcat-native*: Compressing data... >>> tomcat-native*: Create checksum... >>> tomcat-native*: Create tomcat-native-2.0.8-r0.apk >>> tomcat-native: Build complete at Wed, 13 Nov 2024 21:20:20 +0000 elapsed time 0h 0m 16s >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Uninstalling dependencies... (1/90) Purging .makedepends-tomcat-native (20241113.212014) (2/90) Purging apr-dev (1.7.5-r0) (3/90) Purging apr (1.7.5-r0) (4/90) Purging util-linux-dev (2.40.2-r3) (5/90) Purging chrpath (0.16-r4) (6/90) Purging libtool (2.4.7-r3) (7/90) Purging libltdl (2.4.7-r3) (8/90) Purging openssl-dev (3.3.2-r3) (9/90) Purging agetty-openrc (0.55.1-r2) (10/90) Purging agetty (2.40.2-r3) (11/90) Purging blkid (2.40.2-r3) (12/90) Purging cfdisk (2.40.2-r3) (13/90) Purging dmesg (2.40.2-r3) (14/90) Purging findmnt (2.40.2-r3) (15/90) Purging flock (2.40.2-r3) (16/90) Purging fstrim (2.40.2-r3) (17/90) Purging hexdump (2.40.2-r3) (18/90) Purging logger (2.40.2-r3) (19/90) Purging losetup (2.40.2-r3) (20/90) Purging lsblk (2.40.2-r3) (21/90) Purging lscpu (2.40.2-r3) (22/90) Purging mcookie (2.40.2-r3) (23/90) Purging mount (2.40.2-r3) (24/90) Purging openjdk8-jdk (8.422.05-r0) (25/90) Purging openjdk8-jre (8.422.05-r0) (26/90) Purging font-dejavu (2.37-r5) (27/90) Purging fontconfig (2.15.0-r1) (28/90) Purging encodings (1.0.7-r1) (29/90) Purging mkfontscale (1.2.3-r1) (30/90) Purging openjdk8-jre-base (8.422.05-r0) (31/90) Purging openjdk8-jre-lib (8.422.05-r0) (32/90) Purging java-common (0.5-r0) (33/90) Purging java-cacerts (1.1-r0) Executing java-cacerts-1.1-r0.pre-deinstall (34/90) Purging p11-kit-trust (0.25.5-r2) (35/90) Purging ca-certificates (20240705-r0) Executing ca-certificates-20240705-r0.post-deinstall (36/90) Purging nss (3.106-r0) (37/90) Purging p11-kit (0.25.5-r2) (38/90) Purging partx (2.40.2-r3) (39/90) Purging pcsc-lite-libs (2.2.3-r1) (40/90) Purging runuser (2.40.2-r3) (41/90) Purging setpriv (2.40.2-r3) (42/90) Purging sfdisk (2.40.2-r3) (43/90) Purging sqlite-dev (3.47.0-r0) (44/90) Purging sqlite (3.47.0-r0) (45/90) Purging umount (2.40.2-r3) (46/90) Purging util-linux-misc (2.40.2-r3) (47/90) Purging setarch (2.40.2-r3) (48/90) Purging util-linux-openrc (2.40.2-r3) (49/90) Purging uuidgen (2.40.2-r3) (50/90) Purging wipefs (2.40.2-r3) (51/90) Purging alsa-lib (1.2.12-r0) (52/90) Purging freetype (2.13.3-r0) (53/90) Purging giflib (5.2.2-r0) (54/90) Purging krb5-libs (1.21.3-r0) (55/90) Purging krb5-conf (1.0-r2) (56/90) Purging keyutils-libs (1.6.3-r4) (57/90) Purging lcms2 (2.16-r0) (58/90) Purging libfdisk (2.40.2-r3) (59/90) Purging libmount (2.40.2-r3) (60/90) Purging libblkid (2.40.2-r3) (61/90) Purging libxi (1.8.2-r0) (62/90) Purging libxtst (1.2.5-r0) (63/90) Purging libxext (1.3.6-r2) (64/90) Purging libxrender (0.9.11-r5) (65/90) Purging libxcomposite (0.4.6-r5) (66/90) Purging libx11 (1.8.10-r0) (67/90) Purging libxcb (1.16.1-r0) (68/90) Purging libxdmcp (1.1.5-r1) (69/90) Purging libbsd (0.12.2-r0) (70/90) Purging libbz2 (1.0.8-r6) (71/90) Purging libcap-ng (0.8.5-r0) (72/90) Purging libcom_err (1.47.1-r1) (73/90) Purging libeconf (0.6.3-r0) (74/90) Purging libffi (3.4.6-r0) (75/90) Purging libfontenc (1.1.8-r0) (76/90) Purging libjpeg-turbo (3.0.4-r0) (77/90) Purging liblksctp (1.0.19-r5) (78/90) Purging libmd (1.1.0-r0) (79/90) Purging libpng (1.6.44-r0) (80/90) Purging libsmartcols (2.40.2-r3) (81/90) Purging libtasn1 (4.19.0-r2) (82/90) Purging libuuid (2.40.2-r3) (83/90) Purging libverto (0.3.2-r2) (84/90) Purging libxau (1.0.11-r4) (85/90) Purging linux-pam (1.6.1-r1) (86/90) Purging nspr (4.35-r4) (87/90) Purging utmps-libs (0.1.2.3-r2) (88/90) Purging skalibs-libs (2.14.3.0-r0) (89/90) Purging util-linux (2.40.2-r3) (90/90) Purging sqlite-libs (3.47.0-r0) Executing busybox-1.37.0-r7.trigger OK: 395 MiB in 101 packages >>> tomcat-native: Updating the community/x86_64 repository index... >>> tomcat-native: Signing the index...