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 x86_64 --nodeps /builddir/build/SPECS/jabberd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-280277-26726/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 0x7fab0c515950>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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: x86_64
Building for target x86_64
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 x86_64 --nodeps /builddir/build/SPECS/jabberd.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-280277-26726/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 0x7fab0c515950>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fFxOMV
+ 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 .
+ echo 'Patch #0 (jabberd-crypto-policy.patch):'
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.1scPDI
+ 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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-09 23:54:54.121727410 +0800
+++ ./configure	2024-09-09 23:54:55.484731748 +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-09 23:54:55.484731748 +0800
+++ ./configure	2024-09-09 23:54:55.506731818 +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=x86_64-opencloudos-linux-gnu --host=x86_64-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 x86_64-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... x86_64-opencloudos-linux-gnu
checking host system type... x86_64-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 x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-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 x86_64-opencloudos-linux-gnu-file... no
checking for file... file
checking for x86_64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-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 x86_64-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 -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking 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 x86_64-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 sm.xml.dist from sm.xml.dist.in
generating s2s.xml.dist from s2s.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
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_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);
      |                            ^~~~~~~
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
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/router'
Making all in s2s
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
  CC       in.o
  CC       main.o
  CC       out.o
  CC       router.o
  CC       db.o
  CC       util.o
main.c: In function '_s2s_config_expand':
main.c:156:25: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign]
  156 |         if (!RAND_bytes(secret, 40)) {
      |                         ^~~~~~
      |                         |
      |                         char *
In file included from main.c:26:
/usr/include/openssl/rand.h:61:31: note: expected 'unsigned char *' but argument is of type 'char *'
   61 | int RAND_bytes(unsigned char *buf, int num);
      |                ~~~~~~~~~~~~~~~^~~
main.c: In function 'main':
main.c:1079:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
 1079 |                     write(fd, buf, len);
      |                     ^~~~~~~~~~~~~~~~~~~
out.c: In function '_dns_result_a':
out.c:1035:21: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 260 [-Wstringop-truncation]
 1035 |                     strncpy(szIP, szLine, ciMaxIPLen - 1);
      |                     ^
  CCLD     s2s
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
Making all in storage
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
  CC       libstorage_la-storage.lo
  CC       libstorage_la-object.lo
  CC       authreg_anon.lo
  CC       authreg_db.lo
  CC       storage_db.lo
  CC       storage_fs.lo
  CC       authreg_ldap.lo
  CC       authreg_ldapfull.lo
  CC       storage_ldapvcard.lo
  CC       authreg_mysql_la-authreg_mysql.lo
  CC       storage_mysql_la-storage_mysql.lo
  CC       authreg_pam.lo
  CC       authreg_pgsql_la-authreg_pgsql.lo
  CC       storage_pgsql_la-storage_pgsql.lo
  CC       authreg_pipe.lo
  CC       authreg_sqlite.lo
  CC       storage_sqlite.lo
storage_fs.c: In function '_st_fs_put':
storage_fs.c:173:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  173 |                             fprintf(f, "%s %d %d\n", key, ot, ((int)val != 0) ? 1 : 0);
      |                                                                ^
storage_fs.c:177:63: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  177 |                             fprintf(f, "%s %d %d\n", key, ot, (int) val);
      |                                                               ^
storage_sqlite.c: In function '_st_sqlite_put_guts':
storage_sqlite.c:304:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  304 |                       sqlite3_bind_int (stmt, i + 2, ((int)val != 0) ? 1 : 0);
      |                                                       ^
storage_sqlite.c:308:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  308 |                       sqlite3_bind_int (stmt, i + 2, (int)val);
      |                                                      ^
storage_sqlite.c: In function '_st_sqlite_put':
storage_sqlite.c:359:11: warning: unused variable 'err_msg' [-Wunused-variable]
  359 |     char *err_msg = NULL;
      |           ^~~~~~~
storage_sqlite.c:358:9: warning: unused variable 'res' [-Wunused-variable]
  358 |     int res;
      |         ^~~
storage_sqlite.c:357:15: warning: unused variable 'data' [-Wunused-variable]
  357 |     drvdata_t data = (drvdata_t) drv->private;
      |               ^~~~
storage_sqlite.c: In function '_st_sqlite_replace':
storage_sqlite.c:600:11: warning: unused variable 'err_msg' [-Wunused-variable]
  600 |     char *err_msg = NULL;
      |           ^~~~~~~
storage_sqlite.c:599:9: warning: unused variable 'res' [-Wunused-variable]
  599 |     int res;
      |         ^~~
storage_sqlite.c:597:15: warning: unused variable 'data' [-Wunused-variable]
  597 |     drvdata_t data = (drvdata_t) drv->private;
      |               ^~~~
storage_fs.c: In function '_st_fs_delete':
storage_fs.c:383:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
  383 |         snprintf(file, 1024, "%s/%s", path, dirent->d_name);
      |                                  ^~
In file included from /usr/include/stdio.h:964,
                 from ../util/util.h:27,
                 from storage.h:38,
                 from storage_fs.c:36:
In function 'snprintf',
    inlined from '_st_fs_delete' at storage_fs.c:383:9:
/usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
authreg_pgsql.c: In function 'calc_a1hash':
authreg_pgsql.c:89:5: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   89 |     MD5((unsigned char*)buf, strlen(buf), md5digest);
      |     ^~~
In file included from ../util/md5.h:70,
                 from ../util/util.h:103,
                 from ../sx/sx.h:31,
                 from ../c2s/c2s.h:28,
                 from authreg_pgsql.c:24:
/usr/include/openssl/md5.h:52:38: note: declared here
   52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
      |                                      ^~~
authreg_pgsql.c: In function 'bcrypt_hash':
authreg_pgsql.c:99:20: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign]
   99 |     if(!RAND_bytes(salt, 16))
      |                    ^~~~
      |                    |
      |                    char *
In file included from authreg_pgsql.c:42:
/usr/include/openssl/rand.h:61:31: note: expected 'unsigned char *' but argument is of type 'char *'
   61 | int RAND_bytes(unsigned char *buf, int num);
      |                ~~~~~~~~~~~~~~~^~~
storage_pgsql.c: In function '_st_pgsql_put_guts':
storage_pgsql.c:225:29: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
  225 |                             strncpy(cval, "NAD", 3);
      |                             ^
storage_fs.c: In function '_st_fs_get':
storage_fs.c:239:34: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
  239 |         snprintf(file, 1024, "%s/%s", path, dirent->d_name);
      |                                  ^~
In function 'snprintf',
    inlined from '_st_fs_get' at storage_fs.c:239:9:
/usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 2 and 1280 bytes into a destination of size 1024
   54 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   55 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   56 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
storage_mysql.c: In function '_st_mysql_put_guts':
storage_mysql.c:224:29: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation]
  224 |                             strncpy(cval, "NAD", 3);
      |                             ^
authreg_sqlite.c: In function 'calc_a1hash':
authreg_sqlite.c:93:5: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   93 |     MD5((unsigned char*)buf, strlen(buf), md5digest);
      |     ^~~
In file included from ../util/md5.h:70,
                 from ../util/util.h:103,
                 from ../sx/sx.h:31,
                 from ../c2s/c2s.h:28,
                 from authreg_sqlite.c:33:
/usr/include/openssl/md5.h:52:38: note: declared here
   52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
      |                                      ^~~
authreg_mysql.c: In function 'calc_a1hash':
authreg_mysql.c:89:5: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   89 |     MD5((unsigned char*)buf, strlen(buf), md5digest);
      |     ^~~
In file included from ../util/md5.h:70,
                 from ../util/util.h:103,
                 from ../sx/sx.h:31,
                 from ../c2s/c2s.h:28,
                 from authreg_mysql.c:24:
/usr/include/openssl/md5.h:52:38: note: declared here
   52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
      |                                      ^~~
authreg_mysql.c: In function 'bcrypt_hash':
authreg_mysql.c:99:20: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness [-Wpointer-sign]
   99 |     if(!RAND_bytes(salt, 16)) abort(); //we've got a problem
      |                    ^~~~
      |                    |
      |                    char *
In file included from authreg_mysql.c:27:
/usr/include/openssl/rand.h:61:31: note: expected 'unsigned char *' but argument is of type 'char *'
   61 | int RAND_bytes(unsigned char *buf, int num);
      |                ~~~~~~~~~~~~~~~^~~
  CCLD     authreg_anon.la
  CCLD     libstorage.la
  CCLD     storage_fs.la
  CCLD     authreg_pipe.la
  CCLD     authreg_pam.la
  CCLD     storage_db.la
  CCLD     authreg_db.la
  CCLD     authreg_sqlite.la
  CCLD     storage_ldapvcard.la
  CCLD     authreg_pgsql.la
  CCLD     storage_sqlite.la
  CCLD     storage_mysql.la
  CCLD     storage_pgsql.la
  CCLD     authreg_ldap.la
  CCLD     authreg_mysql.la
  CCLD     authreg_ldapfull.la
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
Making all in sm
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
  CC       sm-aci.o
  CC       sm-dispatch.o
  CC       sm-feature.o
  CC       sm-main.o
  CC       sm-mm.o
  CC       sm-pkt.o
  CC       sm-pres.o
  CC       sm-sess.o
  CC       sm-sm.o
  CC       sm-user.o
  CC       mod_active.lo
  CC       mod_announce.lo
  CC       mod_amp.lo
  CC       mod_deliver.lo
  CC       mod_disco.lo
  CC       mod_echo.lo
  CC       mod_help.lo
  CC       mod_iq_last.lo
  CC       mod_iq_ping.lo
  CC       mod_iq_private.lo
  CC       mod_iq_time.lo
  CC       mod_iq_vcard.lo
  CC       mod_iq_version.lo
  CC       mod_offline.lo
  CC       mod_pep.lo
  CC       mod_presence.lo
  CC       mod_privacy.lo
  CC       mod_roster.lo
  CC       mod_roster_publish.lo
  CC       mod_session.lo
  CC       mod_status.lo
  CC       mod_template_roster.lo
mm.c: In function 'mm_new':
mm.c:216:29: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  216 |                     free(mod->name);
      |                          ~~~^~~~~~
In file included from /usr/include/expat.h:47,
                 from ../sx/sx.h:30,
                 from sm.h:33,
                 from mm.c:21:
/usr/include/stdlib.h:687:25: note: expected 'void *' but argument is of type 'const char *'
  687 | extern void free (void *__ptr) __THROW;
      |                   ~~~~~~^~~~~
sess.c: In function 'sess_start':
sess.c:181:5: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  181 |     sha1_init(&sha1);
      |     ^~~~~~~~~
In file included from ../util/sha1.h:41,
                 from ../util/util.h:102,
                 from ../sx/sx.h:31,
                 from sm.h:33,
                 from sess.c:21:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
sess.c:183:5: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  183 |     sha1_append(&sha1, sess->sm_id, strlen(sess->sm_id));
      |     ^~~~~~~~~~~
/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);
      |                           ^~~~~~~~~~~
sess.c:184:5: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  184 |     sha1_append(&sha1, jid_full(sess->jid), strlen(jid_full(sess->jid)));
      |     ^~~~~~~~~~~
/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);
      |                           ^~~~~~~~~~~
sess.c:185:5: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  185 |     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);
      |                           ^~~~~~~~~~
  CC       mod_vacation.lo
mod_iq_time.c: In function '_iq_time_pkt_sm':
mod_iq_time.c:44:11: warning: unused variable 'c' [-Wunused-variable]
   44 |     char *c;
      |           ^
mod_iq_time.c:42:16: warning: variable 'tm' set but not used [-Wunused-but-set-variable]
   42 |     struct tm *tm;
      |                ^~
  CC       mod_validate.lo
  CC       mod_verify.lo
  CCLD     mod_iq-ping.la
  CCLD     mod_echo.la
  CCLD     mod_deliver.la
  CCLD     mod_iq-time.la
  CCLD     mod_active.la
  CCLD     mod_pep.la
  CCLD     mod_iq-last.la
  CCLD     mod_presence.la
  CCLD     mod_iq-version.la
  CCLD     mod_session.la
  CCLD     mod_status.la
  CCLD     mod_announce.la
  CCLD     mod_help.la
  CCLD     mod_iq-private.la
  CCLD     mod_iq-vcard.la
  CCLD     mod_offline.la
  CCLD     mod_template-roster.la
  CCLD     mod_amp.la
mod_roster.c: In function '_roster_in_sess':
mod_roster.c:487:15: warning: 'attr' may be used uninitialized [-Wmaybe-uninitialized]
  487 |     int elem, attr, ver = 0;
      |               ^~~~
  CCLD     mod_roster-publish.la
  CCLD     mod_disco.la
  CCLD     sm
  CCLD     mod_roster.la
  CCLD     mod_vacation.la
  CCLD     mod_validate.la
  CCLD     mod_verify.la
  CCLD     mod_privacy.la
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1'
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TPHJwu
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
+ cd jabberd-2.6.1
+ rm -rf /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
+ make install DESTDIR=/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
Making install in etc
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
Making install in templates
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
make[3]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/templates'
 /usr/bin/install -c -m 644 roster.xml.dist '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/templates'
make  install-data-hook
make[4]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
 /usr/bin/install -c -m 644 roster.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/templates/roster.xml
make[4]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
make[3]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc/templates'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
make[3]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd'
 /usr/bin/install -c -m 644 c2s.xml.dist router.xml.dist s2s.xml.dist sm.xml.dist jabberd.cfg.dist router-users.xml.dist router-filter.xml.dist '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init'
 /usr/bin/install -c -m 644 jabberd-c2s.conf jabberd-router.conf jabberd-s2s.conf jabberd-sm.conf '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib/systemd/system'
 /usr/bin/install -c -m 644 jabberd-sm.service jabberd.service jabberd-s2s.service jabberd-router.service jabberd-c2s.service '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib/systemd/system'
make  install-data-hook
make[4]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
 /usr/bin/install -c -m 644 c2s.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/c2s.xml
 /usr/bin/install -c -m 644 router.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/router.xml
 /usr/bin/install -c -m 644 s2s.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/s2s.xml
 /usr/bin/install -c -m 644 sm.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/sm.xml
 /usr/bin/install -c -m 644 jabberd.cfg.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/jabberd.cfg
 /usr/bin/install -c -m 644 router-users.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/router-users.xml
 /usr/bin/install -c -m 644 router-filter.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/router-filter.xml
make[4]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
make[3]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
Making install in man
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/man'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/man/man8'
 /usr/bin/install -c -m 644 jabberd.8 c2s.8 router.8 s2s.8 sm.8 '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/man/man8'
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/man'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/man'
Making install in subst
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
Making install in tools
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
 /usr/bin/install -c jabberd '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
Making install in mio
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
Making install in sx
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
Making install in util
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/util'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/util'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/util'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/util'
Making install in c2s
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/c2s'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/c2s'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c c2s '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/c2s'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/c2s'
Making install in router
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/router'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/router'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c router '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/router'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/router'
Making install in s2s
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c s2s '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/s2s'
Making install in storage
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd'
 /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c   libstorage.la authreg_anon.la authreg_db.la storage_db.la storage_fs.la authreg_ldap.la authreg_ldapfull.la storage_ldapvcard.la authreg_mysql.la storage_mysql.la authreg_pam.la authreg_pgsql.la storage_pgsql.la authreg_pipe.la authreg_sqlite.la storage_sqlite.la '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd'
libtool: warning: remember to run 'libtool --finish /usr/lib64/jabberd'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/storage'
Making install in sm
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c sm '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin'
libtool: warning: '../storage/libstorage.la' has not been installed in '/usr/lib64/jabberd'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd'
 /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c   mod_active.la mod_announce.la mod_amp.la mod_deliver.la mod_disco.la mod_echo.la mod_help.la mod_iq-last.la mod_iq-ping.la mod_iq-private.la mod_iq-time.la mod_iq-vcard.la mod_iq-version.la mod_offline.la mod_pep.la mod_presence.la mod_privacy.la mod_roster.la mod_roster-publish.la mod_session.la mod_status.la mod_template-roster.la mod_vacation.la mod_validate.la mod_verify.la '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd'
libtool: warning: remember to run 'libtool --finish /usr/lib64/jabberd'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sm'
make[1]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1'
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1'
make[1]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1'
+ sed -i 's|/usr/pkg/bin/perl|/usr/bin/env perl|' tools/bdbdump.pl tools/jabberd-authpipe-pam-0.1.pl tools/migrate-jd14dir-2-sqlite.pl tools/migrate.pl tools/pipe-auth.pl
+ install -dpm 700 /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64//var/lib/jabberd/log /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64//var/lib/jabberd/pid /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64//var/lib/jabberd/db
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/pam.d/
+ install -Dpm 644 tools/pam_jabberd /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/pam.d/jabberd
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
++ ls tools
+ for i in `ls tools`
+ '[' Makefile == Makefile -o Makefile == Makefile.am -o Makefile == Makefile.in -o Makefile == jabberd.in -o Makefile == jabberd.rc -o Makefile == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' Makefile.am == Makefile -o Makefile.am == Makefile.am -o Makefile.am == Makefile.in -o Makefile.am == jabberd.in -o Makefile.am == jabberd.rc -o Makefile.am == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' Makefile.in == Makefile -o Makefile.in == Makefile.am -o Makefile.in == Makefile.in -o Makefile.in == jabberd.in -o Makefile.in == jabberd.rc -o Makefile.in == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' bdb2mysql.rb == Makefile -o bdb2mysql.rb == Makefile.am -o bdb2mysql.rb == Makefile.in -o bdb2mysql.rb == jabberd.in -o bdb2mysql.rb == jabberd.rc -o bdb2mysql.rb == pam_jabberd ']'
+ sed -i 's|\r||g' tools/bdb2mysql.rb
+ install -pm 755 tools/bdb2mysql.rb /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' bdbdump.pl == Makefile -o bdbdump.pl == Makefile.am -o bdbdump.pl == Makefile.in -o bdbdump.pl == jabberd.in -o bdbdump.pl == jabberd.rc -o bdbdump.pl == pam_jabberd ']'
+ sed -i 's|\r||g' tools/bdbdump.pl
+ install -pm 755 tools/bdbdump.pl /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-jd14-2-jd2.sql == Makefile -o db-jd14-2-jd2.sql == Makefile.am -o db-jd14-2-jd2.sql == Makefile.in -o db-jd14-2-jd2.sql == jabberd.in -o db-jd14-2-jd2.sql == jabberd.rc -o db-jd14-2-jd2.sql == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-jd14-2-jd2.sql
+ install -pm 755 tools/db-jd14-2-jd2.sql /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-setup.mysql == Makefile -o db-setup.mysql == Makefile.am -o db-setup.mysql == Makefile.in -o db-setup.mysql == jabberd.in -o db-setup.mysql == jabberd.rc -o db-setup.mysql == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-setup.mysql
+ install -pm 755 tools/db-setup.mysql /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-setup.oracle == Makefile -o db-setup.oracle == Makefile.am -o db-setup.oracle == Makefile.in -o db-setup.oracle == jabberd.in -o db-setup.oracle == jabberd.rc -o db-setup.oracle == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-setup.oracle
+ install -pm 755 tools/db-setup.oracle /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-setup.pgsql == Makefile -o db-setup.pgsql == Makefile.am -o db-setup.pgsql == Makefile.in -o db-setup.pgsql == jabberd.in -o db-setup.pgsql == jabberd.rc -o db-setup.pgsql == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-setup.pgsql
+ install -pm 755 tools/db-setup.pgsql /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-setup.sqlite == Makefile -o db-setup.sqlite == Makefile.am -o db-setup.sqlite == Makefile.in -o db-setup.sqlite == jabberd.in -o db-setup.sqlite == jabberd.rc -o db-setup.sqlite == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-setup.sqlite
+ install -pm 755 tools/db-setup.sqlite /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-update.mysql == Makefile -o db-update.mysql == Makefile.am -o db-update.mysql == Makefile.in -o db-update.mysql == jabberd.in -o db-update.mysql == jabberd.rc -o db-update.mysql == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-update.mysql
+ install -pm 755 tools/db-update.mysql /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-update.pgsql == Makefile -o db-update.pgsql == Makefile.am -o db-update.pgsql == Makefile.in -o db-update.pgsql == jabberd.in -o db-update.pgsql == jabberd.rc -o db-update.pgsql == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-update.pgsql
+ install -pm 755 tools/db-update.pgsql /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' db-update.sqlite == Makefile -o db-update.sqlite == Makefile.am -o db-update.sqlite == Makefile.in -o db-update.sqlite == jabberd.in -o db-update.sqlite == jabberd.rc -o db-update.sqlite == pam_jabberd ']'
+ sed -i 's|\r||g' tools/db-update.sqlite
+ install -pm 755 tools/db-update.sqlite /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' jabberd == Makefile -o jabberd == Makefile.am -o jabberd == Makefile.in -o jabberd == jabberd.in -o jabberd == jabberd.rc -o jabberd == pam_jabberd ']'
+ sed -i 's|\r||g' tools/jabberd
+ install -pm 755 tools/jabberd /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' jabberd-authpipe-pam-0.1.pl == Makefile -o jabberd-authpipe-pam-0.1.pl == Makefile.am -o jabberd-authpipe-pam-0.1.pl == Makefile.in -o jabberd-authpipe-pam-0.1.pl == jabberd.in -o jabberd-authpipe-pam-0.1.pl == jabberd.rc -o jabberd-authpipe-pam-0.1.pl == pam_jabberd ']'
+ sed -i 's|\r||g' tools/jabberd-authpipe-pam-0.1.pl
+ install -pm 755 tools/jabberd-authpipe-pam-0.1.pl /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' jabberd.in == Makefile -o jabberd.in == Makefile.am -o jabberd.in == Makefile.in -o jabberd.in == jabberd.in -o jabberd.in == jabberd.rc -o jabberd.in == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' jabberd.rc == Makefile -o jabberd.rc == Makefile.am -o jabberd.rc == Makefile.in -o jabberd.rc == jabberd.in -o jabberd.rc == jabberd.rc -o jabberd.rc == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' jabberd2.schema == Makefile -o jabberd2.schema == Makefile.am -o jabberd2.schema == Makefile.in -o jabberd2.schema == jabberd.in -o jabberd2.schema == jabberd.rc -o jabberd2.schema == pam_jabberd ']'
+ sed -i 's|\r||g' tools/jabberd2.schema
+ install -pm 755 tools/jabberd2.schema /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' migrate-jd14dir-2-sqlite.pl == Makefile -o migrate-jd14dir-2-sqlite.pl == Makefile.am -o migrate-jd14dir-2-sqlite.pl == Makefile.in -o migrate-jd14dir-2-sqlite.pl == jabberd.in -o migrate-jd14dir-2-sqlite.pl == jabberd.rc -o migrate-jd14dir-2-sqlite.pl == pam_jabberd ']'
+ sed -i 's|\r||g' tools/migrate-jd14dir-2-sqlite.pl
+ install -pm 755 tools/migrate-jd14dir-2-sqlite.pl /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' migrate.pl == Makefile -o migrate.pl == Makefile.am -o migrate.pl == Makefile.in -o migrate.pl == jabberd.in -o migrate.pl == jabberd.rc -o migrate.pl == pam_jabberd ']'
+ sed -i 's|\r||g' tools/migrate.pl
+ install -pm 755 tools/migrate.pl /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ for i in `ls tools`
+ '[' pam_jabberd == Makefile -o pam_jabberd == Makefile.am -o pam_jabberd == Makefile.in -o pam_jabberd == jabberd.in -o pam_jabberd == jabberd.rc -o pam_jabberd == pam_jabberd ']'
+ continue
+ for i in `ls tools`
+ '[' pipe-auth.pl == Makefile -o pipe-auth.pl == Makefile.am -o pipe-auth.pl == Makefile.in -o pipe-auth.pl == jabberd.in -o pipe-auth.pl == jabberd.rc -o pipe-auth.pl == pam_jabberd ']'
+ sed -i 's|\r||g' tools/pipe-auth.pl
+ install -pm 755 tools/pipe-auth.pl /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/jabberd/
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/
+ find /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64 -name '*.la' -delete
+ rm -f '/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/*.conf'
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init/jabberd-c2s.conf /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init/jabberd-router.conf /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init/jabberd-s2s.conf /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/etc/init/jabberd-sm.conf
+ sed -i -e ':a;N;$!ba' -e 's,<module>mysql</module>,<module>pam</module>,g' -e 's,register-enable='\''true'\''>,realm='\'''\'' require-starttls='\''true'\'' pemfile='\''/etc/jabberd/server.pem'\''>,g' /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/c2s.xml
+ touch /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/server.pem
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin/jabberd
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/jabberd.cfg /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/etc/jabberd/jabberd.cfg.dist
+ cp /builddir/build/SOURCES/README .
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.6.1-1.ocs23 --unique-debug-suffix -2.6.1-1.ocs23.x86_64 --unique-debug-src-base jabberd-2.6.1-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/jabberd-2.6.1
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin/c2s
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin/router
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin/s2s
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/bin/sm
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_anon.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_db.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_ldapfull.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_ldap.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_mysql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_pipe.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_pam.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_pgsql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/authreg_sqlite.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/libstorage.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_amp.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_announce.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_deliver.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_active.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_disco.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_help.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_echo.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-ping.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-private.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-time.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-version.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-last.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_offline.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_presence.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_pep.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_iq-vcard.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_privacy.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_roster-publish.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_roster.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_session.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_template-roster.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_vacation.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_validate.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_db.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_status.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_fs.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_pgsql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_mysql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_sqlite.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/mod_verify.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/lib64/jabberd/storage_ldapvcard.so
3159 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
*** WARNING: ./usr/share/jabberd/db-update.mysql is executable but has no shebang, removing executable bit
mangling shebang in /usr/share/jabberd/jabberd from /bin/sh to #!/usr/bin/sh
*** WARNING: ./usr/share/jabberd/db-setup.oracle is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/db-setup.pgsql is executable but has no shebang, removing executable bit
mangling shebang in /usr/share/jabberd/migrate-jd14dir-2-sqlite.pl from /usr/bin/env perl -w to #!/usr/bin/perl -w
*** WARNING: ./usr/share/jabberd/db-update.sqlite is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/jabberd2.schema is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/db-jd14-2-jd2.sql is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/db-setup.sqlite is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/db-update.pgsql is executable but has no shebang, removing executable bit
*** WARNING: ./usr/share/jabberd/db-setup.mysql is executable but has no shebang, removing executable bit
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: jabberd-2.6.1-1.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ykJcTR
+ umask 022
+ cd /builddir/build/BUILD
+ cd jabberd-2.6.1
+ DOCDIR=/builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr AUTHORS /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr COPYING /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr ChangeLog /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr NEWS /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr README /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr TODO /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr README /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64/usr/share/doc/jabberd
+ RPM_EC=0
++ jobs -p
+ exit 0
warning: File listed twice: /usr/share/doc/jabberd/README
Provides: config(jabberd) = 2.6.1-1.ocs23 jabberd = 2.6.1-1.ocs23 jabberd(x86-64) = 2.6.1-1.ocs23 libstorage.so.0()(64bit)
Requires(interp): /bin/sh /bin/sh /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(pre): /bin/sh shadow-utils
Requires(post): /bin/sh openssl systemd-sysv systemd-units
Requires(preun): /bin/sh shadow-utils systemd-units
Requires(postun): /bin/sh systemd-units
Requires: /usr/bin/perl /usr/bin/ruby /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(XCRYPT_2.0)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libdb-5.3.so()(64bit) libexpat.so.1()(64bit) libgsasl.so.7()(64bit) libgsasl.so.7(LIBGSASL_1.1)(64bit) libhttp_parser.so.2()(64bit) libidn.so.12()(64bit) libidn.so.12(LIBIDN_1.0)(64bit) liblber.so.2()(64bit) liblber.so.2(OPENLDAP_2.200)(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpq.so.5()(64bit) libpq.so.5(PG_9.6)(64bit) libsqlite3.so.0()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libstorage.so.0()(64bit) libudns.so.0()(64bit) libz.so.1()(64bit) perl(Authen::PAM) perl(BerkeleyDB) perl(DBI) perl(Data::Dumper) perl(Digest::SHA1) perl(Getopt::Long) perl(MIME::Base64) perl(Net::Jabber) >= 1.29 perl(XML::Simple) perl(strict) rtld(GNU_HASH)
Processing files: jabberd-debugsource-2.6.1-1.ocs23.x86_64
Provides: jabberd-debugsource = 2.6.1-1.ocs23 jabberd-debugsource(x86-64) = 2.6.1-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: jabberd-debuginfo-2.6.1-1.ocs23.x86_64
Provides: debuginfo(build-id) = 07ed5bf2cfedcc8d11d27ee784778d115cf21107 debuginfo(build-id) = 0bbb1924ec38d500991951f2fd216f12f603eebf debuginfo(build-id) = 15328488c7ea0b6395cd6ca109a0fe5ac104bfd5 debuginfo(build-id) = 19446242238ca3582d9c91ce1f629c1ff0e7f386 debuginfo(build-id) = 2305993af94ff8b6ab6e0c9331de9105142da81f debuginfo(build-id) = 27a58e5216dc0af0b8395a3c2e38c633cf27ff4d debuginfo(build-id) = 2893f51fa862f24fc93888af93d563350ca32079 debuginfo(build-id) = 34574e65ab39331b11a010d7688c799154fb7def debuginfo(build-id) = 364cc4728b34f1930938ec633bc70e87e004aaf7 debuginfo(build-id) = 4561eabca357ddaa2c9b31312433c30db311660f debuginfo(build-id) = 4b7a39c88dc32a8bee2203f4b10813038fe1ab5b debuginfo(build-id) = 524b1f38a62bb6a1783c016d9a6b8d5cc08ca9aa debuginfo(build-id) = 5352ea001e96bf1165bd95502eea64a3c6adc078 debuginfo(build-id) = 5b31f72cc546ad9b96a9e389363de72cca773bd1 debuginfo(build-id) = 5bc4e364bdfde70b9a72d52607b9cbf48f75b4c9 debuginfo(build-id) = 62af6c5769a54ccdf25aecc88d1f60baac34fd3a debuginfo(build-id) = 635ab36e4409cbba8dddc41eae90a30bc82d7234 debuginfo(build-id) = 695d7aae98dcaeff9a2f0350bd6d4bd040a20403 debuginfo(build-id) = 6c42ee96a758315c54ba5cb54d1a688141c47f21 debuginfo(build-id) = 6d07ca8ad31be8f4c89f3137accafebbb5440fe3 debuginfo(build-id) = 71bf8907725c514baebda95f6b9530fc9943534b debuginfo(build-id) = 73203017bb34a37b4af31071182a9030b2ad7037 debuginfo(build-id) = 7a5705de5a10aa21faed59fd31d29cdcba297ee4 debuginfo(build-id) = 8190c98e14eadb82aeb5f676f4d7aa6f33b20591 debuginfo(build-id) = 87fc405e9b7d95b8a8b8d0aead3372af1f7f33cd debuginfo(build-id) = 889e891b1b27e13c2abd9b441d262fb78d2153f3 debuginfo(build-id) = 898da06d40927d00440956c481ee28840cfa1085 debuginfo(build-id) = 97d54ad1a1698a00864ba5954cc541d1fa0b0df8 debuginfo(build-id) = 9e287c88d972e0d3fd418ff91dffd9215308ec3b debuginfo(build-id) = 9f2711897c161ae70c084a2f4fa9ef5de593e459 debuginfo(build-id) = 9f886d9053ff45385ab94a156a3eddb989e0d87e debuginfo(build-id) = a291e502ad79aa1d1746b73aa98a5dfb521444fa debuginfo(build-id) = a545bfcd3a0d426594e0ef6b4ece319ef8600808 debuginfo(build-id) = bf2ba6130e44b2ca50bd7399a114c2b4bcc9dcb5 debuginfo(build-id) = c8b69ff5016e9e015f151e91f82262ffe0b7d312 debuginfo(build-id) = cc2b8254e2e45e50737a1c6f241070b29e7755f8 debuginfo(build-id) = ce2193cf217a689c9ec60676eb7b99b35b92dacc debuginfo(build-id) = d8161bec9053a92295ea1f51cbde82d9f74beec9 debuginfo(build-id) = db4053faee5a23e46af5331ba2d870dadf8a9676 debuginfo(build-id) = e0fe2f0410f36803c92ff5624c89cf405429f316 debuginfo(build-id) = e4c9e544f4083f738c1d4639b4522a171cf7c09c debuginfo(build-id) = e688800d7b0ae15b3a56ff6aa0e52ba46a7856e6 debuginfo(build-id) = e9bab2fef85b0a9a36d97fe045e62b6d1aaf9dfa debuginfo(build-id) = f297bfbb5e26e5b9e1056ae9fa13b38445f2405c debuginfo(build-id) = fb83ebfe05489e4dd896de13b404f40d0769c887 jabberd-debuginfo = 2.6.1-1.ocs23 jabberd-debuginfo(x86-64) = 2.6.1-1.ocs23 libstorage.so.0.0.0-2.6.1-1.ocs23.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: jabberd-debugsource(x86-64) = 2.6.1-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jabberd-2.6.1-1.ocs23.x86_64
Wrote: /builddir/build/RPMS/jabberd-debugsource-2.6.1-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/jabberd-2.6.1-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/jabberd-debuginfo-2.6.1-1.ocs23.x86_64.rpm
RPM build warnings:
    %patchN is deprecated (9 usages found), use %patch N (or %patch -P N)
    File listed twice: /usr/share/doc/jabberd/README
Child return code was: 0