==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: tomcat-native 2.0.8-1 (Sun Jul 28 16:30:18 2024)
==> Retrieving sources...
  -> Cloning tomcat-native git repo...
Cloning into bare repository '/home/leming/work/tomcat-native/tomcat-native'...
  -> Found tomcat-native-buildconf.patch
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with b2sums...
    tomcat-native ... Skipped
    tomcat-native-buildconf.patch ... Passed
==> Making package: tomcat-native 2.0.8-1 (Sun Jul 28 16:30:43 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (1) apr-1.7.4-1

Total Download Size:   0.25 MiB
Total Installed Size:  1.12 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 apr-1.7.4-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing apr...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25l:: There are 6 providers available for java-environment:
:: Repository extra
   1) jdk-openjdk  2) jdk11-openjdk  3) jdk17-openjdk  4) jdk21-openjdk
   5) jdk7-openjdk  6) jdk8-openjdk

Enter a number (default=1): 
resolving dependencies...
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency

Packages (20) freetype2-2.13.2-2  giflib-5.2.2-1  graphite-1:1.3.14-4
              harfbuzz-9.0.0-1  hicolor-icon-theme-0.18-1
              java-environment-common-3-5  java-runtime-common-3-5
              jbigkit-2.1-8  lcms2-2.16-1  libjpeg-turbo-3.0.3-1
              libnet-2:1.3-1  libpng-1.6.43-1  libtiff-4.6.0-5  nspr-4.35-3
              nss-3.102.1-1  perl-error-0.17029-6  perl-mailtools-2.21-8
              perl-timedate-2.33-6  git-2.45.2-1  jdk-openjdk-22.0.2.u9-1

Total Download Size:   122.38 MiB
Total Installed Size:  305.73 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 jdk-openjdk-22.0.2.u9-1-armv7h downloading...
 git-2.45.2-1-armv7h downloading...
 nss-3.102.1-1-armv7h downloading...
 harfbuzz-9.0.0-1-armv7h downloading...
 freetype2-2.13.2-2-armv7h downloading...
 libjpeg-turbo-3.0.3-1-armv7h downloading...
 libtiff-4.6.0-5-armv7h downloading...
 libnet-2:1.3-1-armv7h downloading...
 libpng-1.6.43-1-armv7h downloading...
 lcms2-2.16-1-armv7h downloading...
 nspr-4.35-3-armv7h downloading...
 graphite-1:1.3.14-4-armv7h downloading...
 perl-mailtools-2.21-8-any downloading...
 giflib-5.2.2-1-armv7h downloading...
 jbigkit-2.1-8-armv7h downloading...
 perl-timedate-2.33-6-any downloading...
 perl-error-0.17029-6-any downloading...
 hicolor-icon-theme-0.18-1-any downloading...
 java-runtime-common-3-5-any downloading...
 java-environment-common-3-5-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing java-runtime-common...
For the complete set of Java binaries to be available in your PATH,
you need to re-login or source /etc/profile.d/jre.sh
Please note that this package does not support forcing JAVA_HOME as former package java-common did
installing nspr...
installing nss...
installing libjpeg-turbo...
installing jbigkit...
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing lcms2...
installing libnet...
installing libpng...
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing freetype2...
installing java-environment-common...
installing hicolor-icon-theme...
installing giflib...
installing jdk-openjdk...
Optional dependencies for jdk-openjdk
    java-rhino: for some JavaScript support
    alsa-lib: for basic sound support
    gtk3: for the Gtk+ 3 look and feel - desktop usage
:: Running post-transaction hooks...
(1/1) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found tomcat-native-buildconf.patch
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Creating working copy of tomcat-native git repo...
Cloning into 'tomcat-native'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
patching file buildconf
configure.ac: error: no proper invocation of AM_INIT_AUTOMAKE was found.
configure.ac: You should verify that configure.ac invokes AM_INIT_AUTOMAKE,
configure.ac: that aclocal.m4 is present in the top-level directory,
configure.ac: and that aclocal.m4 was recently regenerated (using aclocal)
configure.ac:50: installing 'build/config.guess'
configure.ac:50: installing 'build/config.sub'
configure.ac:51: installing 'build/install-sh'
automake: error: no 'Makefile.am' found for any configure output

Looking for apr source in /usr/share/apr-1
Creating configure ...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'.
libtoolize: copying file 'build/ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
Generating 'make' outputs ...
rebuilding rpm spec file
Using version '2.0.8' and release '1' in RPM spec file
==> Starting pkgver()...
==> Starting build()...
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
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... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... :
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... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/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/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.4 detected.
  setting CPP to "gcc -E"
checking JAVA_HOME... /usr/lib/jvm/default
  adding "-I/usr/lib/jvm/default/include" to TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory...  linux
  adding "-I/usr/lib/jvm/default/include/linux" to TCNATIVE_PRIV_INCLUDES
checking for OpenSSL library... /usr
using openssl from /usr/lib and /usr/include
checking OpenSSL library version >= 3.0.0... ok
  setting TCNATIVE_LDFLAGS to "-lssl -lcrypto"
  setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " -L/usr/lib -R/usr/lib -lapr-1 "
  adding "-Wl,-O1" to TCNATIVE_LDFLAGS
  adding "-Wl,--sort-common" to TCNATIVE_LDFLAGS
  adding "-Wl,--as-needed" to TCNATIVE_LDFLAGS
  adding "-Wl,-z,relro" to TCNATIVE_LDFLAGS
  adding "-Wl,-z,now" 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 '/build/tomcat-native/src/tomcat-native/native'
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/bb.lo -c src/bb.c && touch src/bb.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/error.lo -c src/error.c && touch src/error.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/jnilib.lo -c src/jnilib.c && touch src/jnilib.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/pool.lo -c src/pool.c && touch src/pool.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/ssl.lo -c src/ssl.c && touch src/ssl.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/sslconf.lo -c src/sslconf.c && touch src/sslconf.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -o src/sslcontext.lo -c src/sslcontext.c && touch src/sslcontext.lo
/bin/sh /usr/share/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -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]
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:57: 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]
/usr/include/openssl/dh.h:266:57: 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]
/usr/include/openssl/dh.h:211:58: 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]
/usr/include/openssl/dh.h:211:58: 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]
In file included from ./include/ssl_private.h:56:
/usr/include/openssl/engine.h:493:57: 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]
/usr/include/openssl/engine.h:336:61: 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]
/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]
/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]
/usr/include/openssl/engine.h:493:57: 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]
/usr/include/openssl/engine.h:415:57: 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]
/usr/include/openssl/engine.h:336:61: 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]
/usr/include/openssl/engine.h:429:57: 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]
/usr/include/openssl/engine.h:708:57: 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]
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:57: 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]
/usr/include/openssl/pem.h:465:63: 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]
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:57: 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]
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:58: 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]
/usr/include/openssl/dh.h:211:58: 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]
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:1017:61: 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]
/usr/include/openssl/ec.h:1022:58: 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]
/usr/include/openssl/ec.h:1022:58: 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]
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]
/usr/include/openssl/dh.h:211:58: 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]
/usr/include/openssl/ec.h:1017:61: 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]
/usr/include/openssl/ec.h:1022:58: 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]
/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]
/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/apr-1/build/libtool --silent --mode=link --tag=CC  gcc   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux  -I/usr/include/apr-1   -version-info 0:8:0   -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -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 -lssl -lcrypto -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -L/usr/lib -R/usr/lib -lapr-1 
make[1]: Leaving directory '/build/tomcat-native/src/tomcat-native/native'
==> Entering fakeroot environment...
==> Starting package()...
make: Entering directory '/build/tomcat-native/src/tomcat-native/native'
make[1]: Entering directory '/build/tomcat-native/src/tomcat-native/native'
make[1]: Nothing to be done for 'local-all'.
make[1]: Leaving directory '/build/tomcat-native/src/tomcat-native/native'
/usr/share/apr-1/build/mkdir.sh /build/tomcat-native/pkg/tomcat-native/usr/lib
/bin/sh /usr/share/apr-1/build/libtool --mode=install /usr/bin/install -c -m 755 libtcnative-2.la /build/tomcat-native/pkg/tomcat-native/usr/lib
libtool: install: /usr/bin/install -c -m 755 .libs/libtcnative-2.so.0.0.8 /build/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.so.0.0.8
libtool: install: (cd /build/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 /build/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 /build/tomcat-native/pkg/tomcat-native/usr/lib/libtcnative-2.la
libtool: warning: remember to run 'libtool --finish /usr/lib'
make: Leaving directory '/build/tomcat-native/src/tomcat-native/native'
==> Tidying install...
  -> Removing empty directories...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "tomcat-native"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: tomcat-native 2.0.8-1 (Sun Jul 28 16:31:34 2024)
==> Cleaning up...