>>> tomcat-native: Building community/tomcat-native 2.0.8-r0 (using abuild 3.14.0-r0) started Wed, 23 Oct 2024 08:36:42 +0000 >>> tomcat-native: Validating /home/buildozer/aports/community/tomcat-native/APKBUILD... >>> WARNING: tomcat-native: Setting the maintainer with a comment is deprecated. Use maintainer="Jakub Jirutka " instead >>> tomcat-native: Analyzing dependencies... >>> tomcat-native: Installing for build: build-base apr-dev chrpath java-jdk libtool openssl-dev (1/78) Installing skalibs-libs (2.14.3.0-r0) (2/78) Installing libuuid (2.40.2-r3) (3/78) Installing apr (1.7.5-r0) (4/78) Installing libeconf (0.6.3-r0) (5/78) Installing libblkid (2.40.2-r3) (6/78) Installing libfdisk (2.40.2-r3) (7/78) Installing libmount (2.40.2-r3) (8/78) Installing libsmartcols (2.40.2-r3) (9/78) Installing sqlite (3.47.0-r0) (10/78) Installing sqlite-libs (3.47.0-r0) (11/78) Installing sqlite-dev (3.47.0-r0) (12/78) Installing util-linux (2.40.2-r3) (13/78) Installing dmesg (2.40.2-r3) (14/78) Installing setarch (2.40.2-r3) (15/78) Installing util-linux-misc (2.40.2-r3) (16/78) Installing utmps-libs (0.1.2.3-r2) (17/78) Installing linux-pam (1.6.1-r1) (18/78) Installing runuser (2.40.2-r3) (19/78) Installing mount (2.40.2-r3) (20/78) Installing losetup (2.40.2-r3) (21/78) Installing hexdump (2.40.2-r3) (22/78) Installing uuidgen (2.40.2-r3) (23/78) Installing blkid (2.40.2-r3) (24/78) Installing sfdisk (2.40.2-r3) (25/78) Installing mcookie (2.40.2-r3) (26/78) Installing agetty (2.40.2-r3) (27/78) Installing wipefs (2.40.2-r3) (28/78) Installing cfdisk (2.40.2-r3) (29/78) Installing umount (2.40.2-r3) (30/78) Installing flock (2.40.2-r3) (31/78) Installing lsblk (2.40.2-r3) (32/78) Installing libcap-ng (0.8.5-r0) (33/78) Installing setpriv (2.40.2-r3) (34/78) Installing lscpu (2.40.2-r3) (35/78) Installing logger (2.40.2-r3) (36/78) Installing partx (2.40.2-r3) (37/78) Installing fstrim (2.40.2-r3) (38/78) Installing findmnt (2.40.2-r3) (39/78) Installing util-linux-dev (2.40.2-r3) (40/78) Installing apr-dev (1.7.5-r0) (41/78) Installing chrpath (0.16-r4) (42/78) Installing libbz2 (1.0.8-r6) (43/78) Installing libpng (1.6.44-r0) (44/78) Installing freetype (2.13.3-r0) (45/78) Installing fontconfig (2.15.0-r1) (46/78) Installing encodings (1.0.7-r1) (47/78) Installing libfontenc (1.1.8-r0) (48/78) Installing mkfontscale (1.2.3-r1) (49/78) Installing font-dejavu (2.37-r5) (50/78) Installing libxau (1.0.11-r4) (51/78) Installing libmd (1.1.0-r0) (52/78) Installing libbsd (0.12.2-r0) (53/78) Installing libxdmcp (1.1.5-r1) (54/78) Installing libxcb (1.16.1-r0) (55/78) Installing libx11 (1.8.10-r0) (56/78) Installing libxext (1.3.6-r2) (57/78) Installing libxi (1.8.2-r0) (58/78) Installing libxrender (0.9.11-r5) (59/78) Installing libxtst (1.2.5-r0) (60/78) Installing alsa-lib (1.2.12-r0) (61/78) Installing giflib (5.2.2-r0) (62/78) Installing libffi (3.4.6-r0) (63/78) Installing libtasn1 (4.19.0-r2) (64/78) Installing p11-kit (0.25.5-r2) (65/78) Installing p11-kit-trust (0.25.5-r2) (66/78) Installing ca-certificates (20240705-r0) (67/78) Installing java-cacerts (1.1-r0) (68/78) Installing openjdk8-loongarch-jre-lib (8.422.05-r0) (69/78) Installing java-common (0.5-r0) (70/78) Installing openjdk8-loongarch-jre-base (8.422.05-r0) (71/78) Installing openjdk8-loongarch-jre (8.422.05-r0) (72/78) Installing openjdk8-loongarch-jdk (8.422.05-r0) (73/78) Installing libltdl (2.4.7-r3) (74/78) Installing libtool (2.4.7-r3) (75/78) Installing openssl-dev (3.3.2-r3) (76/78) Installing .makedepends-tomcat-native (20241023.083654) (77/78) Installing util-linux-openrc (2.40.2-r3) (78/78) Installing agetty-openrc (0.55.1-r2) Executing busybox-1.37.0-r3.trigger Executing fontconfig-2.15.0-r1.trigger Executing mkfontscale-1.2.3-r1.trigger Executing ca-certificates-20240705-r0.trigger Executing java-common-0.5-r0.trigger OK: 415 MiB in 177 packages >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Cleaning up tmpdir >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/edge/tomcat-native-2.0.8-src.tar.gz >>> tomcat-native: Fetching https://distfiles.alpinelinux.org/distfiles/edge/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/tomcat-native-2.0.8-src.tar.gz... checking build system type... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking target system type... loongarch64-unknown-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/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-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 loongarch64-unknown-linux-musl file names to loongarch64-unknown-linux-musl format... func_convert_file_noop checking how to convert loongarch64-unknown-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/loongarch64-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/loongarch64-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 "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 "-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 -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/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) | ^~~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /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:8:0 -Wl,--as-needed,-O1,--sort-common -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 -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 libfakeroot internal error: payload not recognized! /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: 203.6 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-loongarch64.so.1 so:libcrypto.so.3 so:libssl.so.3 so:libuuid.so.1 >>> tomcat-native*: Package size: 97.8 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, 23 Oct 2024 08:37:01 +0000 elapsed time 0h 0m 19s >>> tomcat-native: Cleaning up srcdir >>> tomcat-native: Cleaning up pkgdir >>> tomcat-native: Uninstalling dependencies... (1/78) Purging .makedepends-tomcat-native (20241023.083654) (2/78) Purging apr-dev (1.7.5-r0) (3/78) Purging apr (1.7.5-r0) (4/78) Purging util-linux-dev (2.40.2-r3) (5/78) Purging chrpath (0.16-r4) (6/78) Purging libtool (2.4.7-r3) (7/78) Purging libltdl (2.4.7-r3) (8/78) Purging openssl-dev (3.3.2-r3) (9/78) Purging agetty-openrc (0.55.1-r2) (10/78) Purging agetty (2.40.2-r3) (11/78) Purging blkid (2.40.2-r3) (12/78) Purging cfdisk (2.40.2-r3) (13/78) Purging dmesg (2.40.2-r3) (14/78) Purging findmnt (2.40.2-r3) (15/78) Purging flock (2.40.2-r3) (16/78) Purging fstrim (2.40.2-r3) (17/78) Purging hexdump (2.40.2-r3) (18/78) Purging logger (2.40.2-r3) (19/78) Purging losetup (2.40.2-r3) (20/78) Purging lsblk (2.40.2-r3) (21/78) Purging lscpu (2.40.2-r3) (22/78) Purging mcookie (2.40.2-r3) (23/78) Purging mount (2.40.2-r3) (24/78) Purging openjdk8-loongarch-jdk (8.422.05-r0) (25/78) Purging openjdk8-loongarch-jre (8.422.05-r0) (26/78) Purging font-dejavu (2.37-r5) (27/78) Purging fontconfig (2.15.0-r1) (28/78) Purging encodings (1.0.7-r1) (29/78) Purging mkfontscale (1.2.3-r1) (30/78) Purging openjdk8-loongarch-jre-base (8.422.05-r0) (31/78) Purging openjdk8-loongarch-jre-lib (8.422.05-r0) (32/78) Purging java-cacerts (1.1-r0) Executing java-cacerts-1.1-r0.pre-deinstall (33/78) Purging p11-kit-trust (0.25.5-r2) (34/78) Purging ca-certificates (20240705-r0) Executing ca-certificates-20240705-r0.post-deinstall (35/78) Purging java-common (0.5-r0) (36/78) Purging p11-kit (0.25.5-r2) (37/78) Purging partx (2.40.2-r3) (38/78) Purging runuser (2.40.2-r3) (39/78) Purging setpriv (2.40.2-r3) (40/78) Purging sfdisk (2.40.2-r3) (41/78) Purging sqlite-dev (3.47.0-r0) (42/78) Purging sqlite (3.47.0-r0) (43/78) Purging umount (2.40.2-r3) (44/78) Purging util-linux-misc (2.40.2-r3) (45/78) Purging setarch (2.40.2-r3) (46/78) Purging util-linux-openrc (2.40.2-r3) (47/78) Purging uuidgen (2.40.2-r3) (48/78) Purging wipefs (2.40.2-r3) (49/78) Purging alsa-lib (1.2.12-r0) (50/78) Purging freetype (2.13.3-r0) (51/78) Purging giflib (5.2.2-r0) (52/78) Purging libfdisk (2.40.2-r3) (53/78) Purging libmount (2.40.2-r3) (54/78) Purging libblkid (2.40.2-r3) (55/78) Purging libxtst (1.2.5-r0) (56/78) Purging libxi (1.8.2-r0) (57/78) Purging libxext (1.3.6-r2) (58/78) Purging libxrender (0.9.11-r5) (59/78) Purging libx11 (1.8.10-r0) (60/78) Purging libxcb (1.16.1-r0) (61/78) Purging libxdmcp (1.1.5-r1) (62/78) Purging libbsd (0.12.2-r0) (63/78) Purging libbz2 (1.0.8-r6) (64/78) Purging libcap-ng (0.8.5-r0) (65/78) Purging libeconf (0.6.3-r0) (66/78) Purging libffi (3.4.6-r0) (67/78) Purging libfontenc (1.1.8-r0) (68/78) Purging libmd (1.1.0-r0) (69/78) Purging libpng (1.6.44-r0) (70/78) Purging libsmartcols (2.40.2-r3) (71/78) Purging libtasn1 (4.19.0-r2) (72/78) Purging libuuid (2.40.2-r3) (73/78) Purging libxau (1.0.11-r4) (74/78) Purging linux-pam (1.6.1-r1) (75/78) Purging utmps-libs (0.1.2.3-r2) (76/78) Purging util-linux (2.40.2-r3) (77/78) Purging skalibs-libs (2.14.3.0-r0) (78/78) Purging sqlite-libs (3.47.0-r0) Executing busybox-1.37.0-r3.trigger OK: 243 MiB in 99 packages >>> tomcat-native: Updating the community/loongarch64 repository index... >>> tomcat-native: Signing the index...