Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-214861-15989/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff83c030d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/tomcat-native-1.2.36-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-214861-15989/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffff83c030d0>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G7nwMs
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf tomcat-native-1.2.36-src
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tomcat-native-1.2.36-src.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tomcat-native-1.2.36-src
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ f=CHANGELOG.txt
+ iconv -f iso-8859-1 -t utf-8 CHANGELOG.txt
+ mv CHANGELOG.txt.utf8 CHANGELOG.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Md5Axw
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd tomcat-native-1.2.36-src
+ cd native
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build/config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./build/config.sub
++ basename ./build/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build/config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './build/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build/config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./build/config.guess
++ basename ./build/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build/config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './build/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-apr=/usr/bin/apr-1-config --with-java-home=/usr/lib/jvm/java-17
configure: WARNING: unrecognized options: --disable-dependency-tracking
checking build system type... aarch64-opencloudos-linux-gnu
checking host system type... aarch64-opencloudos-linux-gnu
checking target system type... aarch64-opencloudos-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
Tomcat Native Version: 1.2.36
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/java-17
  adding "-I/usr/lib/jvm/java-17/include" to TCNATIVE_PRIV_INCLUDES
checking for JDK os include directory...  linux
  adding "-I/usr/lib/jvm/java-17/include/linux" to TCNATIVE_PRIV_INCLUDES
checking for aarch64-opencloudos-linux-gnu-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 OpenSSL library... using openssl from /usr/lib64 and /usr/include
checking OpenSSL library version >= 1.0.2... ok
checking for OpenSSL DSA support... yes
  setting TCNATIVE_LDFLAGS to "-lssl -lcrypto"
  adding "-DHAVE_OPENSSL" to CFLAGS
  setting TCNATIVE_LIBS to ""
  setting TCNATIVE_LIBS to " /usr/lib64/libapr-1.la  -lpthread"
  adding "-Wl,-z,relro" to TCNATIVE_LDFLAGS
  adding "-Wl,--as-needed" to TCNATIVE_LDFLAGS
  adding "-Wl,-z,now" to TCNATIVE_LDFLAGS
  adding "-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld" to TCNATIVE_LDFLAGS
  adding "-Wl,--build-id=sha1" 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 default commands
configure: WARNING: unrecognized options: --disable-dependency-tracking
+ make -j8
make[1]: Entering directory '/builddir/build/BUILD/tomcat-native-1.2.36-src/native'
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/address.lo -c src/address.c && touch src/address.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/bb.lo -c src/bb.c && touch src/bb.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/dir.lo -c src/dir.c && touch src/dir.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/error.lo -c src/error.c && touch src/error.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/file.lo -c src/file.c && touch src/file.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/info.lo -c src/info.c && touch src/info.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/jnilib.lo -c src/jnilib.c && touch src/jnilib.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/lock.lo -c src/lock.c && touch src/lock.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/misc.lo -c src/misc.c && touch src/misc.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/mmap.lo -c src/mmap.c && touch src/mmap.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/multicast.lo -c src/multicast.c && touch src/multicast.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/network.lo -c src/network.c && touch src/network.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/os.lo -c src/os.c && touch src/os.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/poll.lo -c src/poll.c && touch src/poll.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/pool.lo -c src/pool.c && touch src/pool.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/proc.lo -c src/proc.c && touch src/proc.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/shm.lo -c src/shm.c && touch src/shm.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/ssl.lo -c src/ssl.c && touch src/ssl.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/sslconf.lo -c src/sslconf.c && touch src/sslconf.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/sslcontext.lo -c src/sslcontext.c && touch src/sslcontext.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/sslinfo.lo -c src/sslinfo.c && touch src/sslinfo.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/sslnetwork.lo -c src/sslnetwork.c && touch src/sslnetwork.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/sslutils.lo -c src/sslutils.c && touch src/sslutils.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/stdlib.lo -c src/stdlib.c && touch src/stdlib.lo
src/ssl.c: In function 'make_dh_params':
src/ssl.c:242:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  242 |     DH *dh = DH_new();
      |     ^~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/ssl.h:31,
                 from ./include/ssl_private.h:38,
                 from src/ssl.c:24:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
src/ssl.c:253:5: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  253 |     if (!p || !g || !DH_set0_pqg(dh, p, NULL, g)) {
      |     ^~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
src/ssl.c:254:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  254 |         DH_free(dh);
      |         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
src/ssl.c: In function 'free_dh_params':
src/ssl.c:292:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  292 |         DH_free(dhparams[n].dh);
      |         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
src/ssl.c: In function 'ssl_init_cleanup':
src/ssl.c:373:9: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  373 |         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:428:5: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  428 |     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:430:9: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  430 |         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:431:13: warning: 'ENGINE_ctrl_cmd_string' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  431 |             || !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:432:13: warning: 'ENGINE_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  432 |             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:812:13: warning: 'ENGINE_register_all_complete' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  812 |             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:815:13: warning: 'ENGINE_by_id' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  815 |             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:821:21: warning: 'ENGINE_ctrl' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  821 |                     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:823:17: warning: 'ENGINE_set_default' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  823 |                 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:864:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  864 |     dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
      |     ^~
In file included from /usr/include/openssl/ssl.h:36,
                 from ./include/ssl_private.h:38,
                 from src/sslcontext.c:27:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
src/sslcontext.c:876:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  876 |         DH_free(dh);
      |         ^~~~~~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/ssl.h:31:
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
src/sslcontext.c:883:5: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  883 |     DH_free(dh);
      |     ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
src/sslcontext.c: In function 'Java_org_apache_tomcat_jni_SSLContext_setTmpECDHByCurveName':
src/sslcontext.c:907:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  907 |     ecdh = EC_KEY_new_by_curve_name(i);
      |     ^~~~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
src/sslcontext.c:917:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  917 |         EC_KEY_free(ecdh);
      |         ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
src/sslcontext.c:923:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  923 |     EC_KEY_free(ecdh);
      |     ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | 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:1148:17: warning: 'ENGINE_load_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1148 |                 (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:1193:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1193 |         DH_free(dhparams);
      |         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
src/sslcontext.c:1204:9: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1204 |         (eckey = EC_KEY_new_by_curve_name(nid))) {
      |         ^
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
src/sslcontext.c:1223:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1223 |     EC_KEY_free(eckey);
      |     ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
src/sslcontext.c:1226:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1226 |     SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2324:6: note: declared here
 2324 | 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:1344:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1344 |     SSL_CTX_set_tmp_dh_callback(c->ctx, SSL_callback_tmp_DH);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2324:6: note: declared here
 2324 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/thread.lo -c src/thread.c && touch src/thread.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o src/user.lo -c src/user.c && touch src/user.lo
src/sslutils.c: In function 'SSL_dh_GetParamFromFile':
src/sslutils.c:211:5: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  211 |     dh = PEM_read_bio_DHparams(bio, NULL, NULL, NULL);
      |     ^~
In file included from /usr/include/openssl/ssl.h:36,
                 from ./include/ssl_private.h:38,
                 from src/sslutils.c:24:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
src/sslutils.c: In function 'SSL_ec_GetParamFromFile':
src/sslutils.c:224:5: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  224 |     group = PEM_read_bio_ECPKParameters(bio, NULL, NULL, NULL);
      |     ^~~~~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o os/unix/system.lo -c os/unix/system.c && touch os/unix/system.lo
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=compile --tag=CC gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -o os/unix/uxpipe.lo -c os/unix/uxpipe.c && touch os/unix/uxpipe.lo
os/unix/system.c: In function 'Java_org_apache_tomcat_jni_OS_syslog':
os/unix/system.c:437:18: warning: '%s' directive argument is null [-Wformat-overflow=]
  437 |     syslog (id, "%s", J2S(msg));
      |                  ^~
os/unix/system.c:437:18: warning: '%s' directive argument is null [-Wformat-overflow=]
/bin/sh /usr/lib64/apr-1/build/libtool --silent --mode=link --tag=CC  gcc   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_CONFIG_H  -DLINUX -D_REENTRANT -D_GNU_SOURCE   -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DHAVE_OPENSSL -DTCNATIVE_LINUX -DHAVE_POLLSET_WAKEUP   -I./include -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux  -I/usr/include/apr-1   -version-info 2:36:2   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o libtcnative-1.la -rpath /usr/lib64 src/address.lo src/bb.lo src/dir.lo src/error.lo src/file.lo src/info.lo src/jnilib.lo src/lock.lo src/misc.lo src/mmap.lo src/multicast.lo src/network.lo src/os.lo src/poll.lo src/pool.lo src/proc.lo src/shm.lo src/ssl.lo src/sslconf.lo src/sslcontext.lo src/sslinfo.lo src/sslnetwork.lo src/sslutils.lo src/stdlib.lo src/thread.lo src/user.lo os/unix/system.lo os/unix/uxpipe.lo -lssl -lcrypto -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 /usr/lib64/libapr-1.la  -lpthread
/usr/bin/ld: cannot find -luuid: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: Leaving directory '/builddir/build/BUILD/tomcat-native-1.2.36-src/native'
make[1]: *** [Makefile:71: libtcnative-1.la] Error 1
make: *** [/builddir/build/BUILD/tomcat-native-1.2.36-src/native/build/rules.mk:119: all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.Md5Axw (%build)
    Bad exit status from /var/tmp/rpm-tmp.Md5Axw (%build)
RPM build errors:
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status
    raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode)
mockbuild.exception.Error: Command failed: 
 # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/tomcat-native.spec