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/jabberd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283965-27407/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=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/jabberd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/jabberd-2.6.1-1.ocs23.src.rpm RPM build warnings: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/jabberd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-283965-27407/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=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/jabberd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xfRg5z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jabberd-2.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jabberd-2.6.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd jabberd-2.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (jabberd-crypto-policy.patch): + echo 'Patch #0 (jabberd-crypto-policy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sx/ssl.c Patch #1 (jabberd-fix-paths.patch): + echo 'Patch #1 (jabberd-fix-paths.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file etc/c2s.xml.dist.in patching file etc/router.xml.dist.in patching file etc/s2s.xml.dist.in patching file etc/sm.xml.dist.in Patch #2 (unbreak-autoreconf.patch): + echo 'Patch #2 (unbreak-autoreconf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Patch #3 (0001-configure.ac-adapt-to-openssl-1.1.patch): + echo 'Patch #3 (0001-configure.ac-adapt-to-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Hunk #1 succeeded at 402 (offset -4 lines). Patch #4 (0002-authreg_ldapfull-adapt-to-openssl-1.1.patch): + echo 'Patch #4 (0002-authreg_ldapfull-adapt-to-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file storage/authreg_ldapfull.c Patch #5 (0003-sx-ssl.c-adapt-to-openssl-1.1.patch): + echo 'Patch #5 (0003-sx-ssl.c-adapt-to-openssl-1.1.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sx/ssl.c Patch #7 (181e736dcbb19c828266d88837f4343510b4d20e.patch): + echo 'Patch #7 (181e736dcbb19c828266d88837f4343510b4d20e.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sx/ssl.c Hunk #1 succeeded at 125 (offset 1 line). Patch #8 (jabberd-c99.patch): + echo 'Patch #8 (jabberd-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.ac patching file storage/authreg_ldapfull.c patching file storage/authreg_mysql.c patching file storage/authreg_pgsql.c patching file storage/authreg_sqlite.c patching file sx/websocket.c patching file util/crypt_blowfish.h + autoreconf --verbose --force --install autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './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. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:7: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:7: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:7: the top level configure.ac:13: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:13: the top level configure.ac:21: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:21: You should run autoupdate. aclocal.m4:8514: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:21: the top level configure.ac:21: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:21: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:8514: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:21: the top level configure.ac:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:22: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:22: the top level configure.ac:29: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:29: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:29: the top level configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:37: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:37: the top level configure.ac:49: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:49: the top level configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:52: the top level configure.ac:59: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:59: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:59: the top level configure.ac:65: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:65: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:65: the top level configure.ac:71: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:71: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:71: the top level configure.ac:81: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:81: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:81: the top level configure.ac:83: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:83: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:83: the top level configure.ac:126: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:126: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:126: the top level configure.ac:134: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:134: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... acinclude.m4:5: AC_COMPILE_CHECK_SIZEOF is expanded from... acinclude.m4:35: AC_CREATE_STDINT_H is expanded from... configure.ac:134: the top level configure.ac:143: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:143: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:143: the top level configure.ac:346: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:346: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from... ./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from... acinclude.m4:498: TYPE_SOCKLEN_T is expanded from... configure.ac:346: the top level configure.ac:398: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:398: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:398: the top level configure.ac:435: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:435: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:435: the top level configure.ac:436: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:436: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:436: the top level configure.ac:504: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:504: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:504: the top level configure.ac:542: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:542: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:542: the top level configure.ac:595: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:595: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:595: the top level configure.ac:641: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:641: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:641: the top level configure.ac:644: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:644: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:644: the top level configure.ac:688: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:688: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:688: the top level configure.ac:724: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:724: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:724: the top level configure.ac:740: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:740: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:740: the top level configure.ac:759: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:759: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:759: the top level configure.ac:768: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:768: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:768: the top level configure.ac:776: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:776: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:776: the top level configure.ac:838: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:838: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:838: the top level configure.ac:903: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:903: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:903: the top level configure.ac:909: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:909: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:909: the top level configure.ac:915: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:915: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:915: the top level configure.ac:922: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:922: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:922: the top level configure.ac:929: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:929: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:929: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:12: installing './compile' configure.ac:8: installing './missing' c2s/Makefile.am: installing './depcomp' autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' Patch #6 (0001-Fix-build-errors-with-MariaDB-10.2.patch): + echo 'Patch #6 (0001-Fix-build-errors-with-MariaDB-10.2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file storage/authreg_mysql.c Hunk #1 succeeded at 488 (offset 1 line). Hunk #2 succeeded at 621 (offset 1 line). Hunk #3 succeeded at 631 (offset 1 line). patching file storage/storage_mysql.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LURKbZ + 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 jabberd-2.6.1 + export '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' + 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' + '[' '-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 --- ./configure.backup 2024-09-19 21:38:03.591393542 +0800 +++ ./configure 2024-09-19 21:38:05.035401501 +0800 @@ -1864,7 +1864,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 --- ./configure.backup 2024-09-19 21:38:05.035401501 +0800 +++ ./configure 2024-09-19 21:38:05.055401611 +0800 @@ -7388,7 +7388,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20490,7 +20490,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 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 ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./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 --sysconfdir=/etc/jabberd --localstatedir=/var/lib --enable-pam --enable-db --enable-mysql --with-extra-library-path=/usr/lib64/mariadb --enable-ldap --enable-pgsql --enable-sqlite --enable-fs --enable-anon --enable-pipe --enable-ssl --enable-websocket --enable-debug checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes 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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... aarch64-opencloudos-linux-gnu checking host system type... aarch64-opencloudos-linux-gnu checking how to print strings... printf 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 the maximum length of command line arguments... 1572864 checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-opencloudos-linux-gnu-file... no checking for file... file checking for aarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for aarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for aarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7394: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 aarch64-opencloudos-linux-gnu-mt... no 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 sys/time.h... yes checking for vfork.h... no checking for sys/select.h... yes checking for sys/socket.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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/types.h... (cached) yes checking for netinet/in.h... yes checking for arpa/nameser.h... yes checking for netdb.h... yes checking for resolv.h... yes checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for arpa/nameser.h... (cached) yes checking for fcntl.h... yes checking for netinet/in.h... (cached) yes checking for signal.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/filio.h... no checking for sys/ioctl.h... yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/timeb.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/utsname.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for windows.h... no checking for winsock2.h... no checking for resolv.h... (cached) yes checking for windns.h... no checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gcc options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for stdint-types....... "(putting them into ac-stdint.h)" checking for uintptr_t... yes checking for uint64_t... yes ... seen our uintptr_t in stdint.h (uint64_t too) creating ac-stdint.h : _AC_STDINT_H checking for int_least32_t... yes checking for int_fast32_t... yes ..adding include stdint.h ... seen good stdint.h inttypes ... seen good uint64_t ... DONE ac-stdint.h checking whether closedir returns void... no checking for working alloca.h... yes checking for alloca... yes checking for mbstate_t... yes checking whether getenv is declared... yes checking for btowc... yes checking for mbsrtowcs... yes checking for mempcpy... yes checking for wmempcpy... yes checking for fork... yes checking for vfork... yes checking for alarm... yes checking for vprintf... yes checking for working POSIX fnmatch... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working memcmp... yes checking for working mktime... yes checking types of arguments for select... int,fd_set *,struct timeval * checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking types of arguments for select... (cached) int,fd_set *,struct timeval * checking for close... yes checking for dup2... yes checking for fcntl... yes checking for _findfirst... no checking for gethostname... yes checking for getopt... yes checking for getpagesize... yes checking for getpid... yes checking for gettimeofday... yes checking for inet_aton... yes checking for inet_ntoa... yes checking for ioctl... yes checking for isascii... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for _mkdir... no checking for modf... yes checking for select... yes checking for setenv... yes checking for sleep... yes checking for Sleep... no checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for stricmp... no checking for strncasecmp... yes checking for strndup... yes checking for strnicmp... no checking for strstr... yes checking for tzset... yes checking for uname... yes checking for crypt... no checking for crypt in -lcrypt... yes checking for connect... yes checking for _head_libws2_32_a in -lws2_32... no checking for gethostbyname... yes checking for gethostbyname... (cached) yes checking for library containing inet_ntop... none required checking for library containing inet_pton... none required checking for res_query... yes checking for syslog... yes checking for vsyslog... yes checking for snprintf... yes checking for vsnprintf... yes checking if snprintf can handle NULL arguments... yes checking if vsnprintf can handle NULL arguments... yes checking for socklen_t... yes checking for XML_ParserCreate in -lexpat... yes checking for stringprep_check_version in -lidn... yes checking for Libidn version >= 0.3.0... yes checking for dns_init in -ludns... yes checking for gsasl.h... yes checking for gsasl_check_version in -lgsasl... yes checking for GnuSASL version >= 1.4.0... yes checking for openssl/crypto.h... yes checking for HMAC_Update in -lcrypto... yes checking for openssl/ssl.h... yes checking for SSL_connect in -lssl... yes checking for OpenSSL version >= 1.0.1... yes checking for inflateEnd in -lz... yes checking for zlib.h... yes checking for mysql_config... /usr/bin/mysql_config checking MySQL libraries... "-L/usr/lib64/ -lmariadb" checking mysql includes... "-I/usr/include/mysql -I/usr/include/mysql/mysql" checking for pg_config... /usr/bin/pg_config checking PostgresSQL libraries... "-L/usr/lib64 -lpq" checking pgsql includes... "-I/usr/include" checking for sqlite3.h... yes checking for sqlite3_open in -lsqlite3... yes checking for db.h... yes checking for db_create in -ldb43... no checking for db_create in -ldb42... no checking for db_create in -ldb-4.3... no checking for db_create in -ldb-4.2... no checking for db_create in -ldb-4.1... no checking for db_create in -ldb-4... no checking for db_create in -ldb4... no checking for db_create in -ldb41... no checking for db_create in -ldb... yes checking for Berkeley DB version >= 4.1.25... yes checking for lber.h... yes checking for ldap.h... yes checking for ber_alloc in -llber... yes checking for ldap_init in -lldap... yes checking for OpenLDAP version >= 2.1.0... yes checking for security/pam_appl.h... yes checking for pam_start in -lpam... yes checking for sys/wait.h... (cached) yes checking for working fork... (cached) yes checking for working vfork... (cached) yes checking for pipe... yes checking for wait... yes checking for http_parser_init in -lhttp_parser... yes checking for in_port_t... yes checking for sa_family_t... yes checking for struct sockaddr_storage... yes checking for struct sockaddr_in6... yes checking for struct in6_addr... yes checking for broken __ss_family member in struct sockaddr_storage... no checking for broken __ss_len member in struct sockaddr_storage... no checking for sys/select.h... (cached) yes checking for select... (cached) yes checking for poll.h... yes checking for poll... yes checking for sys/epoll.h... yes checking for epoll_create... yes checking for sys/event.h... no configure: using MIO backend: epoll checking for aarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for check >= 0.9.4... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Doxyfile config.status: creating Makefile config.status: creating etc/Makefile config.status: creating etc/templates/Makefile config.status: creating man/Makefile config.status: creating subst/Makefile config.status: creating util/Makefile config.status: creating mio/Makefile config.status: creating sx/Makefile config.status: creating storage/Makefile config.status: creating c2s/Makefile config.status: creating router/Makefile config.status: creating s2s/Makefile config.status: creating sm/Makefile config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j32 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1' Making all in etc make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc' Making all in templates make[3]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates' generating roster.xml.dist from roster.xml.dist.in make[3]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates' make[3]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc' generating jabberd-c2s.conf from jabberd-c2s.conf.in generating jabberd-router.conf from jabberd-router.conf.in generating jabberd-s2s.conf from jabberd-s2s.conf.in generating jabberd-sm.conf from jabberd-sm.conf.in generating c2s.xml.dist from c2s.xml.dist.in generating router.xml.dist from router.xml.dist.in generating s2s.xml.dist from s2s.xml.dist.in generating sm.xml.dist from sm.xml.dist.in generating jabberd.cfg.dist from jabberd.cfg.dist.in generating router-users.xml.dist from router-users.xml.dist.in generating router-filter.xml.dist from router-filter.xml.dist.in generating jabberd-sm.service from jabberd-sm.service.in generating jabberd.service from jabberd.service.in generating jabberd-s2s.service from jabberd-s2s.service.in generating jabberd-router.service from jabberd-router.service.in generating jabberd-c2s.service from jabberd-c2s.service.in make[3]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc' make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc' Making all in man make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/man' generating jabberd.8 from jabberd.8.in generating c2s.8 from c2s.8.in generating router.8 from router.8.in generating s2s.8 from s2s.8.in generating sm.8 from sm.8.in make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/man' Making all in subst make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/subst' CC dirent.lo CC getopt.lo CC gettimeofday.lo CC inet_aton.lo CC inet_ntop.lo CC inet_pton.lo CC snprintf.lo CC syslog.lo CC strndup.lo CC timegm.lo CCLD libsubst.la make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/subst' Making all in tools make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/tools' generating jabberd from jabberd.in make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/tools' Making all in mio make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/mio' CC mio.lo CC mio_epoll.lo CC mio_poll.lo CC mio_select.lo CC mio_kqueue.lo CC mio_wsasync.lo CCLD libmio.la make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/mio' Making all in sx make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sx' CC callback.lo CC chain.lo CC client.lo CC env.lo CC error.lo CC io.lo CC server.lo CC sx.lo CC sasl.lo CC ack.lo CC ssl.lo CC compress.lo CC websocket.lo ssl.c: In function 'sx_ssl_get_DHparams': ssl.c:97:1: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 97 | DECLARE_sx_ssl_getparams(DHparams, DH) | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ssl.h:36, from plugins.h:60, from sx.h:418, from ssl.c:26: /usr/include/openssl/pem.h:469:1: note: declared here 469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH) | ^~~~~~~~~~~~~~~~~~~ ssl.c: In function 'sx_ssl_get_ECPKParameters': ssl.c:98:1: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 98 | DECLARE_sx_ssl_getparams(ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/pem.h:461:1: note: declared here 461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP) | ^~~~~~~~~~~~~~~~~~~ ssl.c: In function 'sx_ssl_make_dh_params': ssl.c:114:5: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 114 | 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: /usr/include/openssl/dh.h:203:27: note: declared here 203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ ssl.c:132:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 132 | if (p == NULL || g == NULL || !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); | ^~~~~~~~~~~ ssl.c:133:13: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 133 | DH_free(dh); | ^~~~~~~ /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ ssl.c: In function 'sx_ssl_free_dh_params': ssl.c:147:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 147 | DH_free(dhparams[i].dh); | ^~~~~~~ /usr/include/openssl/dh.h:204:28: note: declared here 204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ websocket.c: In function '_sx_websocket_http_header_field': websocket.c:257:38: warning: passing argument 2 of 'strunescape' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 257 | strunescape(sc->p, spool_print(sc->field)), | ^~~~~~~~~~~~~~~~~~~~~~ In file included from sx.h:31, from websocket.c:26: ../util/util.h:135:48: note: expected 'char *' but argument is of type 'const char *' 135 | JABBERD2_API char *strunescape(pool_t p, char* buf); | ~~~~~~^~~ websocket.c:258:38: warning: passing argument 2 of 'strunescape' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | strunescape(sc->p, spool_print(sc->value))); | ^~~~~~~~~~~~~~~~~~~~~~ ../util/util.h:135:48: note: expected 'char *' but argument is of type 'const char *' 135 | JABBERD2_API char *strunescape(pool_t p, char* buf); | ~~~~~~^~~ websocket.c: In function '_sx_websocket_rio': websocket.c:358:21: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 358 | sha1_init(&sha1); | ^~~~~~~~~ In file included from ../util/sha1.h:41, from ../util/util.h:102: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ websocket.c:359:21: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 359 | sha1_append(&sha1, key, j_strlen(key)); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ websocket.c:360:21: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 360 | sha1_append(&sha1, websocket_guid, sizeof(websocket_guid) -1); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ websocket.c:361:21: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 361 | sha1_finish(&sha1, hash); | ^~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ websocket.c:362:48: warning: pointer targets in passing argument 1 of 'b64_encode' differ in signedness [-Wpointer-sign] 362 | char * accept = b64_encode(hash, sizeof(hash)); | ^~~~ | | | unsigned char * ../util/util.h:362:37: note: expected 'char *' but argument is of type 'unsigned char *' 362 | JABBERD2_API char *b64_encode(char *buf, int len); | ~~~~~~^~~ ssl.c: In function 'sx_ssl_server_addcert': ssl.c:1090:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1090 | SSL_CTX_set_tmp_dh_callback(ctx, _sx_ssl_tmp_dh_callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ssl.h:2324:6: note: declared here 2324 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ssl.c:1098:9: warning: 'DH_bits' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1098 | _sx_debug(ZONE, "custom DH parameters loaded from certificate", DH_bits(dhparams)); | ^~~~~~~~~ /usr/include/openssl/dh.h:206:27: note: declared here 206 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh); | ^~~~~~~ ssl.c:1103:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1103 | if((ecparams = sx_ssl_get_ECPKParameters(pemfile)) && (nid = EC_GROUP_get_curve_name(ecparams)) && (eckey = EC_KEY_new_by_curve_name(nid))) { | ^~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~ ssl.c:1118:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 1118 | 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); | ^~~~~~~~~~~ CCLD libsx.la make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sx' Making all in util make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/util' CC access.lo CC base64.lo CC config.lo CC datetime.lo CC hex.lo CC inaddr.lo CC jid.lo CC jqueue.lo CC jsignal.lo CC log.lo CC md5.lo CC nad.lo CC pool.lo CC rate.lo CC serial.lo CC sha1.lo CC stanza.lo CC str.lo CC xdata.lo CC xhash.lo CC crypt_blowfish.lo str.c: In function 'j_attr': str.c:99:19: warning: comparison between pointer and zero character constant [-Wpointer-compare] 99 | while(atts[i] != '\0') | ^~ str.c:99:11: note: did you mean to dereference the pointer? 99 | while(atts[i] != '\0') | ^ CCLD libutil.la make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/util' Making all in c2s make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/c2s' CC c2s-authreg.o CC c2s-bind.o CC c2s-c2s.o CC c2s-main.o CC c2s-sm.o CC c2s-pbx.o CC c2s-pbx_commands.o CC c2s-address.o authreg.c: In function '_authreg_auth_set': authreg.c:337:40: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 280 [-Wformat-truncation=] 337 | snprintf(hash, 280, "%s%s", sess->s->id, str); | ^~ ~~~ In file included from /usr/include/stdio.h:964, from ../mio/mio.h:49, from c2s.h:27, from authreg.c:21: In function 'snprintf', inlined from '_authreg_auth_set' at authreg.c:337:17: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 1 or more bytes (assuming 1024) into a destination of size 280 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ CCLD c2s make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/c2s' Making all in router make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/router' CC aci.o CC main.o CC router.o CC user.o CC filter.o CCLD router