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-285522-27666/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 0x7f5f8257e190>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-2.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-285522-27666/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 0x7f5f8257e190>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.dCmEQb
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf jabberd-2.6.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jabberd-2.6.1.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jabberd-2.6.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #0 (jabberd-crypto-policy.patch):
+ echo 'Patch #0 (jabberd-crypto-policy.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sx/ssl.c
Patch #1 (jabberd-fix-paths.patch):
+ echo 'Patch #1 (jabberd-fix-paths.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file etc/c2s.xml.dist.in
patching file etc/router.xml.dist.in
patching file etc/s2s.xml.dist.in
patching file etc/sm.xml.dist.in
Patch #2 (unbreak-autoreconf.patch):
+ echo 'Patch #2 (unbreak-autoreconf.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
Patch #3 (0001-configure.ac-adapt-to-openssl-1.1.patch):
+ echo 'Patch #3 (0001-configure.ac-adapt-to-openssl-1.1.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure.ac
Hunk #1 succeeded at 402 (offset -4 lines).
Patch #4 (0002-authreg_ldapfull-adapt-to-openssl-1.1.patch):
+ echo 'Patch #4 (0002-authreg_ldapfull-adapt-to-openssl-1.1.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file storage/authreg_ldapfull.c
Patch #5 (0003-sx-ssl.c-adapt-to-openssl-1.1.patch):
+ echo 'Patch #5 (0003-sx-ssl.c-adapt-to-openssl-1.1.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sx/ssl.c
Patch #7 (181e736dcbb19c828266d88837f4343510b4d20e.patch):
+ echo 'Patch #7 (181e736dcbb19c828266d88837f4343510b4d20e.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file sx/ssl.c
Hunk #1 succeeded at 125 (offset 1 line).
Patch #8 (jabberd-c99.patch):
+ echo 'Patch #8 (jabberd-c99.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file configure
patching file configure.ac
patching file storage/authreg_ldapfull.c
patching file storage/authreg_mysql.c
patching file storage/authreg_pgsql.c
patching file storage/authreg_sqlite.c
patching file sx/websocket.c
patching file util/crypt_blowfish.h
+ autoreconf --verbose --force --install
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: aclocal --force 
autoreconf: running: /usr/bin/autoconf --force
configure.ac:7: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:7: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:7: the top level
configure.ac:13: warning: The macro `AC_PROG_CC_STDC' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from...
configure.ac:13: the top level
configure.ac:21: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete.
configure.ac:21: You should run autoupdate.
aclocal.m4:8514: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:21: the top level
configure.ac:21: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you
configure.ac:21: put the 'dlopen' option into LT_INIT's first parameter.
./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from...
aclocal.m4:8514: AC_LIBTOOL_DLOPEN is expanded from...
configure.ac:21: the top level
configure.ac:22: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:22: You should run autoupdate.
aclocal.m4:122: AC_PROG_LIBTOOL is expanded from...
configure.ac:22: the top level
configure.ac:29: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:29: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:29: the top level
configure.ac:37: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:37: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:37: the top level
configure.ac:49: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:49: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:49: the top level
configure.ac:52: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:52: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:52: the top level
configure.ac:59: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:59: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:59: the top level
configure.ac:65: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:65: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:65: the top level
configure.ac:71: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:71: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:71: the top level
configure.ac:81: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:81: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:81: the top level
configure.ac:83: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:83: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:83: the top level
configure.ac:126: warning: The macro `AC_HEADER_TIME' is obsolete.
configure.ac:126: You should run autoupdate.
./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from...
configure.ac:126: the top level
configure.ac:134: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:134: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
acinclude.m4:5: AC_COMPILE_CHECK_SIZEOF is expanded from...
acinclude.m4:35: AC_CREATE_STDINT_H is expanded from...
configure.ac:134: the top level
configure.ac:143: warning: The macro `AC_TYPE_SIGNAL' is obsolete.
configure.ac:143: You should run autoupdate.
./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from...
configure.ac:143: the top level
configure.ac:346: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:346: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/types.m4:149: _AC_CHECK_TYPE_NEW is expanded from...
./lib/autoconf/types.m4:233: AC_CHECK_TYPE is expanded from...
acinclude.m4:498: TYPE_SOCKLEN_T is expanded from...
configure.ac:346: the top level
configure.ac:398: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:398: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:398: the top level
configure.ac:435: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:435: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:435: the top level
configure.ac:436: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:436: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:436: the top level
configure.ac:504: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:504: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:504: the top level
configure.ac:542: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:542: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:542: the top level
configure.ac:595: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:595: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:595: the top level
configure.ac:641: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:641: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:641: the top level
configure.ac:644: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:644: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:644: the top level
configure.ac:688: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:688: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:688: the top level
configure.ac:724: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:724: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:724: the top level
configure.ac:740: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:740: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:740: the top level
configure.ac:759: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:759: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:759: the top level
configure.ac:768: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:768: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:768: the top level
configure.ac:776: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:776: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:776: the top level
configure.ac:838: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:838: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:838: the top level
configure.ac:903: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:903: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:903: the top level
configure.ac:909: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:909: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:909: the top level
configure.ac:915: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:915: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:915: the top level
configure.ac:922: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:922: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:922: the top level
configure.ac:929: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:929: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
configure.ac:929: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:12: installing './compile'
configure.ac:8: installing './missing'
c2s/Makefile.am: installing './depcomp'
autoreconf: './config.guess' is updated
autoreconf: Leaving directory '.'
Patch #6 (0001-Fix-build-errors-with-MariaDB-10.2.patch):
+ echo 'Patch #6 (0001-Fix-build-errors-with-MariaDB-10.2.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file storage/authreg_mysql.c
Hunk #1 succeeded at 488 (offset 1 line).
Hunk #2 succeeded at 621 (offset 1 line).
Hunk #3 succeeded at 631 (offset 1 line).
patching file storage/storage_mysql.c
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X9BW7N
+ 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-24 09:56:15.453889829 +0800
+++ ./configure	2024-09-24 09:56:16.877888548 +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-24 09:56:16.877888548 +0800
+++ ./configure	2024-09-24 09:56:16.902888525 +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 s2s.xml.dist from s2s.xml.dist.in
generating sm.xml.dist from sm.xml.dist.in
generating jabberd.cfg.dist from jabberd.cfg.dist.in
generating router-users.xml.dist from router-users.xml.dist.in
generating router-filter.xml.dist from router-filter.xml.dist.in
generating jabberd-sm.service from jabberd-sm.service.in
generating jabberd.service from jabberd.service.in
generating jabberd-s2s.service from jabberd-s2s.service.in
generating jabberd-router.service from jabberd-router.service.in
generating jabberd-c2s.service from jabberd-c2s.service.in
make[3]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/etc'
Making all in man
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/man'
generating jabberd.8 from jabberd.8.in
generating c2s.8 from c2s.8.in
generating router.8 from router.8.in
generating s2s.8 from s2s.8.in
generating sm.8 from sm.8.in
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/man'
Making all in subst
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
  CC       dirent.lo
  CC       getopt.lo
  CC       gettimeofday.lo
  CC       inet_aton.lo
  CC       inet_ntop.lo
  CC       inet_pton.lo
  CC       snprintf.lo
  CC       syslog.lo
  CC       strndup.lo
  CC       timegm.lo
  CCLD     libsubst.la
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/subst'
Making all in tools
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
generating jabberd from jabberd.in
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/tools'
Making all in mio
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
  CC       mio.lo
  CC       mio_epoll.lo
  CC       mio_poll.lo
  CC       mio_select.lo
  CC       mio_kqueue.lo
  CC       mio_wsasync.lo
  CCLD     libmio.la
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/mio'
Making all in sx
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
  CC       callback.lo
  CC       chain.lo
  CC       client.lo
  CC       env.lo
  CC       error.lo
  CC       io.lo
  CC       server.lo
  CC       sx.lo
  CC       sasl.lo
  CC       ack.lo
  CC       ssl.lo
  CC       compress.lo
  CC       websocket.lo
ssl.c: In function 'sx_ssl_get_DHparams':
ssl.c:97:1: warning: 'PEM_read_bio_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   97 | DECLARE_sx_ssl_getparams(DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ssl.h:36,
                 from plugins.h:60,
                 from sx.h:418,
                 from ssl.c:26:
/usr/include/openssl/pem.h:469:1: note: declared here
  469 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, DHparams, DH)
      | ^~~~~~~~~~~~~~~~~~~
ssl.c: In function 'sx_ssl_get_ECPKParameters':
ssl.c:98:1: warning: 'PEM_read_bio_ECPKParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   98 | DECLARE_sx_ssl_getparams(ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/pem.h:461:1: note: declared here
  461 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, ECPKParameters, EC_GROUP)
      | ^~~~~~~~~~~~~~~~~~~
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);
      |                                          ~~~~~~^~~
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();
      |     ^~
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);
      |                                          ~~~~~~^~~
In file included from /usr/include/openssl/dsa.h:51,
                 from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/ssl.h:31:
/usr/include/openssl/dh.h:203:27: note: declared here
  203 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void);
      |                           ^~~~~~
ssl.c:132:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  132 |         if (p == NULL || g == NULL || !DH_set0_pqg(dh, p, NULL, g)) {
      |         ^~
/usr/include/openssl/dh.h:259:27: note: declared here
  259 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
      |                           ^~~~~~~~~~~
ssl.c:133:13: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  133 |             DH_free(dh);
      |             ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
ssl.c: In function 'sx_ssl_free_dh_params':
ssl.c:147:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  147 |         DH_free(dhparams[i].dh);
      |         ^~~~~~~
/usr/include/openssl/dh.h:204:28: note: declared here
  204 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh);
      |                            ^~~~~~~
websocket.c: In function '_sx_websocket_rio':
websocket.c:358:21: warning: 'SHA1_Init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  358 |                     sha1_init(&sha1);
      |                     ^~~~~~~~~
In file included from ../util/sha1.h:41,
                 from ../util/util.h:102:
/usr/include/openssl/sha.h:49:27: note: declared here
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
websocket.c:359:21: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  359 |                     sha1_append(&sha1, key, j_strlen(key));
      |                     ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
websocket.c:360:21: warning: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  360 |                     sha1_append(&sha1, websocket_guid, sizeof(websocket_guid) -1);
      |                     ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
websocket.c:361:21: warning: 'SHA1_Final' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  361 |                     sha1_finish(&sha1, hash);
      |                     ^~~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
websocket.c:362:48: warning: pointer targets in passing argument 1 of 'b64_encode' differ in signedness [-Wpointer-sign]
  362 |                     char * accept = b64_encode(hash, sizeof(hash));
      |                                                ^~~~
      |                                                |
      |                                                unsigned char *
../util/util.h:362:37: note: expected 'char *' but argument is of type 'unsigned char *'
  362 | JABBERD2_API char *b64_encode(char *buf, int len);
      |                               ~~~~~~^~~
ssl.c: In function 'sx_ssl_server_addcert':
ssl.c:1090:5: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1090 |     SSL_CTX_set_tmp_dh_callback(ctx, _sx_ssl_tmp_dh_callback);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:2324:6: note: declared here
 2324 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
ssl.c:1098:9: warning: 'DH_bits' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1098 |         _sx_debug(ZONE, "custom DH parameters loaded from certificate", DH_bits(dhparams));
      |         ^~~~~~~~~
/usr/include/openssl/dh.h:206:27: note: declared here
  206 | OSSL_DEPRECATEDIN_3_0 int DH_bits(const DH *dh);
      |                           ^~~~~~~
ssl.c:1103:5: warning: 'EC_KEY_new_by_curve_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1103 |     if((ecparams = sx_ssl_get_ECPKParameters(pemfile)) && (nid = EC_GROUP_get_curve_name(ecparams)) && (eckey = EC_KEY_new_by_curve_name(nid))) {
      |     ^~
In file included from /usr/include/openssl/x509.h:33:
/usr/include/openssl/ec.h:998:31: note: declared here
  998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid);
      |                               ^~~~~~~~~~~~~~~~~~~~~~~~
ssl.c:1118:5: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
 1118 |     EC_KEY_free(eckey);
      |     ^~~~~~~~~~~
/usr/include/openssl/ec.h:1003:28: note: declared here
 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key);
      |                            ^~~~~~~~~~~
  CCLD     libsx.la
make[2]: Leaving directory '/builddir/build/BUILD/jabberd-2.6.1/sx'
Making all in util
make[2]: Entering directory '/builddir/build/BUILD/jabberd-2.6.1/util'
  CC       access.lo
  CC       base64.lo
  CC       config.lo
  CC       datetime.lo
  CC       hex.lo
  CC       jid.lo
  CC       inaddr.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 ());
      |                                    ~~~~~~~~~~~~~~~~~
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);
      |                             ^
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 ());
      |                                    ~~~~~~~~~~~~~~~~~
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);
      |                ~~~~~~~~~~~~~~~^~~
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);
      |                             ^
  CCLD     authreg_anon.la
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);
      |                ~~~~~~~~~~~~~~~^~~
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,
      |                                      ^~~
  CCLD     storage_fs.la
  CCLD     libstorage.la
  CCLD     storage_ldapvcard.la
  CCLD     storage_db.la
  CCLD     authreg_pam.la
  CCLD     authreg_pipe.la
  CCLD     authreg_db.la
  CCLD     storage_mysql.la
  CCLD     storage_sqlite.la
  CCLD     authreg_ldap.la
  CCLD     authreg_sqlite.la
  CCLD     storage_pgsql.la
  CCLD     authreg_mysql.la
  CCLD     authreg_pgsql.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_template_roster.lo
  CC       mod_status.lo
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);
      |                           ^~~~~~~~~~
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;
      |                   ~~~~~~^~~~~
  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-time.la
  CCLD     mod_pep.la
  CCLD     mod_active.la
  CCLD     mod_deliver.la
  CCLD     mod_iq-last.la
  CCLD     mod_presence.la
  CCLD     mod_iq-version.la
  CCLD     mod_echo.la
  CCLD     mod_iq-private.la
  CCLD     mod_iq-ping.la
  CCLD     mod_status.la
  CCLD     mod_session.la
  CCLD     mod_template-roster.la
  CCLD     mod_iq-vcard.la
  CCLD     mod_help.la
  CCLD     mod_announce.la
  CCLD     mod_offline.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     sm
  CCLD     mod_validate.la
  CCLD     mod_amp.la
  CCLD     mod_roster.la
  CCLD     mod_vacation.la
  CCLD     mod_disco.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.04viLg
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64
+ cd jabberd-2.6.1
+ rm -rf /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64
+ make install DESTDIR=/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/etc/jabberd/templates'
 /usr/bin/install -c -m 644 roster.xml.dist '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.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-2.ocs23.x86_64/etc/jabberd'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/usr/etc/init'
 /usr/bin/mkdir -p '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.ocs23.x86_64/etc/jabberd/c2s.xml
 /usr/bin/install -c -m 644 router.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/router.xml
 /usr/bin/install -c -m 644 s2s.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/s2s.xml
 /usr/bin/install -c -m 644 sm.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/sm.xml
 /usr/bin/install -c -m 644 jabberd.cfg.dist /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/jabberd.cfg
 /usr/bin/install -c -m 644 router-users.xml.dist /builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.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-2.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-2.ocs23.x86_64/usr/bin'
 /usr/bin/install -c jabberd '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c c2s '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c router '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c s2s '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.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-2.ocs23.x86_64/usr/bin'
  /bin/sh ../libtool --quiet   --mode=install /usr/bin/install -c sm '/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.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-2.ocs23.x86_64//var/lib/jabberd/log /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64//var/lib/jabberd/pid /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64//var/lib/jabberd/db
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/pam.d/
+ install -Dpm 644 tools/pam_jabberd /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/pam.d/jabberd
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/jabberd/
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.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-2.ocs23.x86_64/usr/share/jabberd/
+ install -dpm 755 /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/
+ find /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64 -name '*.la' -delete
+ rm -f '/builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/*.conf'
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/etc/init/jabberd-c2s.conf /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/etc/init/jabberd-router.conf /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/etc/init/jabberd-s2s.conf /builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/etc/jabberd/c2s.xml
+ touch /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/server.pem
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/bin/jabberd
+ rm -f /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/etc/jabberd/jabberd.cfg /builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23 --unique-debug-suffix -2.6.1-2.ocs23.x86_64 --unique-debug-src-base jabberd-2.6.1-2.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/jabberd-2.6.1
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/bin/router
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/bin/s2s
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/bin/sm
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_db.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_anon.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_ldap.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_mysql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/bin/c2s
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_pam.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_ldapfull.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_pgsql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_active.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_pipe.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/authreg_sqlite.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/libstorage.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_amp.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-last.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-ping.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_deliver.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_help.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-version.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-vcard.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_offline.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_pep.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_disco.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_privacy.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_presence.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-private.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_roster-publish.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_iq-time.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_announce.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_echo.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_roster.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_session.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_status.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_template-roster.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_vacation.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_validate.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/mod_verify.so.0.0.0
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_db.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_fs.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_ldapvcard.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_mysql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_pgsql.so
extracting debug info from /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/lib64/jabberd/storage_sqlite.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-2.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hDKeKK
+ umask 022
+ cd /builddir/build/BUILD
+ cd jabberd-2.6.1
+ DOCDIR=/builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr AUTHORS /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr COPYING /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr ChangeLog /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr NEWS /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr README /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr TODO /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64/usr/share/doc/jabberd
+ cp -pr README /builddir/build/BUILDROOT/jabberd-2.6.1-2.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-2.ocs23 jabberd = 2.6.1-2.ocs23 jabberd(x86-64) = 2.6.1-2.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-2.ocs23.x86_64
Provides: jabberd-debugsource = 2.6.1-2.ocs23 jabberd-debugsource(x86-64) = 2.6.1-2.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-2.ocs23.x86_64
Provides: debuginfo(build-id) = 0300ede7f79a96f9d74a65936d7b44a05517a2e3 debuginfo(build-id) = 04cf20034c747548ce03567d99c35c6bcf9b838e debuginfo(build-id) = 06b1b95e3aab3266fa79dc255418f0e1a284a216 debuginfo(build-id) = 0a8f7714e86245d82e7378d58dbb613131addd47 debuginfo(build-id) = 0d8f04e44f08afbe984a5ec64ed6cd108ea9c970 debuginfo(build-id) = 0e1ffa75924211f8dd35582a9435eeea65df72ec debuginfo(build-id) = 12337c259d09d1ca4db727838a1a3859ca6f7c14 debuginfo(build-id) = 12a183cc42e609e156fefc17be2da5a01a85f777 debuginfo(build-id) = 1c8a804376cb47d909804096efb49318ff316993 debuginfo(build-id) = 1cd57f3436457fbd5cf2b4f67d5f20a6cb3ee0a6 debuginfo(build-id) = 37c3a7e3b6db53b2d06ce36816cb7dc4a2b2be9b debuginfo(build-id) = 389d7452d1e171f7889490cef9e0244f846901c9 debuginfo(build-id) = 3f3d391d5cf615f590cf15897bd196e3c41922b3 debuginfo(build-id) = 4002f6ac6c4ad14e8fa36dfad31362aa00882364 debuginfo(build-id) = 48815e4c2766af00d9a3a598be3de6af518b9fbd debuginfo(build-id) = 4e804f5a143512a7e238767fe5536dfc18800a93 debuginfo(build-id) = 5474451e7ae63418ea7480696cbd855d206037ff debuginfo(build-id) = 5f089df716e1e8dd0f7f1f91247f379ab71d144b debuginfo(build-id) = 61539312989ec1194e2e17f0bb671bf94440e1cb debuginfo(build-id) = 6b4ed76b89c410edb28cdd2bd9e9f9717cb18df4 debuginfo(build-id) = 6b508673b8fcd5852aaaaf595311d2c478a09a35 debuginfo(build-id) = 773af9a1b696bb83fdbf822e3b3f1fa446619409 debuginfo(build-id) = 799287e53e3e529e0531d28ebc6c96e87a0d1928 debuginfo(build-id) = 84f78dc3eb9d32d8c7d623bf7fd0d687a44be2f1 debuginfo(build-id) = 90adff91353dc2c8914d6b186864488c7ec2d184 debuginfo(build-id) = 945bd4fc931634bb24e9c573a13c3ebaa4d49ecb debuginfo(build-id) = ad2d62e0f22d858c16a3759a44e4829dc85fc450 debuginfo(build-id) = af7d308ab0e88785e3b6769ad62371827882c72d debuginfo(build-id) = afb1f93796cbe994428dda0d43bcfe0ed538738e debuginfo(build-id) = bbb6b55e53ba03677be6f31a1920de1c29725386 debuginfo(build-id) = be688c1418e5d503061d6bfa00589393504b670b debuginfo(build-id) = bf0c6c61d75d60ec5b92cfb2bc2b9326bf2fac23 debuginfo(build-id) = c9021008cc6e771b06e4d08989c91daac1644053 debuginfo(build-id) = cf20e52ea160a6093efb3463592ca825661aebe4 debuginfo(build-id) = d17eba145b2d5b2a49204b98912164fde43a9a09 debuginfo(build-id) = d1d2d4b57f49ee86b3fa6f065c7e9a48900fd7b4 debuginfo(build-id) = d3ae2bb3920589bf2565c24c42f291918cde59f5 debuginfo(build-id) = eba7afcbc3c894b8873e31657ada717c48614b5f debuginfo(build-id) = ee2338bbf98631bd2b8243fd998c25b598d9302e debuginfo(build-id) = f42e089e09eae2526df8e52ec20d65a2f195b4b7 debuginfo(build-id) = f42ec51856dd11708f1f7a236f22f77b2714bdb0 debuginfo(build-id) = fa54ed689abebdd76063aecb6d892f81b9c97d1a debuginfo(build-id) = fa64ba41b99b8eb2351709165d9832801c97e293 debuginfo(build-id) = fac3ccd2bb3adc3fa01047edf0c4cd4f0036ea95 debuginfo(build-id) = ff0406101e8e8e9f76ec4d679313b486bc80c7ef jabberd-debuginfo = 2.6.1-2.ocs23 jabberd-debuginfo(x86-64) = 2.6.1-2.ocs23 libstorage.so.0.0.0-2.6.1-2.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-2.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/jabberd-2.6.1-2.ocs23.x86_64
Wrote: /builddir/build/RPMS/jabberd-debugsource-2.6.1-2.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/jabberd-2.6.1-2.ocs23.x86_64.rpm