Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-181361-12089/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 0xffff90bfd990>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/cyrus-sasl.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 (1 usages found), use %patch N (or %patch -P N)
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/cyrus-sasl-2.1.28-8.ocs23.src.rpm
RPM build warnings:
    %patchN is deprecated (1 usages found), use %patch N (or %patch -P N)
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cyrus-sasl.spec'], chrootPath='/var/lib/mock/dist-ocs23-rebuild-test-0-build-181361-12089/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 0xffff90bfd990>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/cyrus-sasl.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 (1 usages found), use %patch N (or %patch -P N)
Building target platforms: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BC9tE7
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf cyrus-sasl-2.1.28
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cyrus-sasl-2.1.28.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cyrus-sasl-2.1.28
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #3000 (cyrus-sasl-no_rpath.patch):
+ echo 'Patch #3000 (cyrus-sasl-no_rpath.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file m4/cyrus.m4
Hunk #1 succeeded at 31 (offset -1 lines).
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QCSq8C
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd cyrus-sasl-2.1.28
+ autoreconf -f
configure.ac:152: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:152: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK 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/functions.m4:66: AC_CHECK_FUNC is expanded from...
m4/bsd_sockets.m4:8: CMU_SOCKETS is expanded from...
configure.ac:152: the top level
configure.ac:156: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:156: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:156: the top level
configure.ac:156: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:156: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/berkdb.m4:204: CYRUS_BERKELEY_DB_CHK_LIB is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
m4/berkdb.m4:268: CYRUS_BERKELEY_DB_CHK is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:156: the top level
configure.ac:156: warning: The macro `AC_ERROR' is obsolete.
configure.ac:156: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:156: the top level
configure.ac:156: warning: back quotes and double quotes must not be escaped in: Use either \"berkeley\", \"gdbm\", \"lmdb\", \"ndbm\" or \"none\"
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:156: the top level
configure.ac:333: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:333: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
m4/common.m4:40: CMU_FIND_LIB_SUBDIR is expanded from...
m4/openssl.m4:5: CMU_HAVE_OPENSSL is expanded from...
configure.ac:333: the top level
configure.ac:496: warning: The macro `AC_WARN' is obsolete.
configure.ac:496: You should run autoupdate.
./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from...
m4/kerberos_v4.m4:78: SASL_KERBEROS_V4_CHK is expanded from...
configure.ac:496: the top level
configure.ac:497: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:497: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from...
m4/sasl2.m4:6: SASL_GSSAPI_CHK is expanded from...
configure.ac:497: the top level
configure.ac:497: warning: The macro `AC_HELP_STRING' is obsolete.
configure.ac:497: You should run autoupdate.
./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
m4/sasl2.m4:6: SASL_GSSAPI_CHK is expanded from...
configure.ac:497: the top level
configure.ac:497: warning: The macro `AC_WARN' is obsolete.
configure.ac:497: You should run autoupdate.
./lib/autoconf/oldnames.m4:33: AC_WARN is expanded from...
m4/sasl2.m4:6: SASL_GSSAPI_CHK is expanded from...
configure.ac:497: the top level
configure.ac:497: warning: The macro `AC_WARN' is obsolete.
configure.ac:497: You should run autoupdate.
./lib/autoconf/oldnames.m4:33: AC_WARN 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:2771: AC_EGREP_CPP is expanded from...
m4/sasl2.m4:6: SASL_GSSAPI_CHK is expanded from...
configure.ac:497: the top level
configure.ac:497: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:497: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN 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/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
m4/sasl2.m4:6: SASL_GSSAPI_CHK is expanded from...
configure.ac:497: the top level
configure.ac:542: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:542: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
m4/berkdb.m4:204: CYRUS_BERKELEY_DB_CHK_LIB is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
m4/berkdb.m4:268: CYRUS_BERKELEY_DB_CHK is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:542: the top level
configure.ac:542: warning: The macro `AC_ERROR' is obsolete.
configure.ac:542: You should run autoupdate.
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:542: the top level
configure.ac:542: warning: back quotes and double quotes must not be escaped in: Use either \"berkeley\", \"gdbm\", \"lmdb\", \"ndbm\" or \"none\"
./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from...
m4/sasldb.m4:6: SASL_DB_CHECK is expanded from...
configure.ac:542: the top level
configure.ac:1236: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:1236: 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...
m4/ipv6.m4:66: IPv6_CHECK_SS_FAMILY is expanded from...
configure.ac:1236: the top level
configure.ac:1237: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:1237: 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...
m4/ipv6.m4:82: IPv6_CHECK_SA_LEN is expanded from...
configure.ac:1237: the top level
configure.ac:1238: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:1238: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK 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...
m4/ipv6.m4:98: IPv6_CHECK_SOCKLEN_T is expanded from...
configure.ac:1238: the top level
++ krb5-config --prefix
+ krb5_prefix=/usr
+ test x/usr = x/usr
+ krb5_prefix=
+ LIBS=-lcrypt
+ export LIBS
+ pkg-config openssl
++ pkg-config --cflags-only-I openssl
+ CPPFLAGS=' '
+ export CPPFLAGS
++ pkg-config --libs-only-L openssl
+ LDFLAGS=' -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
++ mysql_config --include
+ INC_DIR='-I/usr/include/mysql -I/usr/include/mysql/mysql'
+ test 'x-I/usr/include/mysql -I/usr/include/mysql/mysql' '!=' x-I/usr/include
+ CPPFLAGS='-I/usr/include/mysql -I/usr/include/mysql/mysql  '
+ export CPPFLAGS
++ mysql_config --libs
++ sed -e 's,-[^L][^ ]*,,g' -e 's,^ *,,' -e 's, *$,,' -e 's,  *, ,g'
+ LIB_DIR=-L/usr/lib64/
+ test x-L/usr/lib64/ '!=' x-L/usr/lib64
+ LDFLAGS='-L/usr/lib64/  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
++ pg_config --includedir
+ INC_DIR=-I/usr/include
+ test x-I/usr/include '!=' x-I/usr/include
++ pg_config --libdir
+ LIB_DIR=-L/usr/lib64
+ test x-L/usr/lib64 '!=' x-L/usr/lib64
+ export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql   -fPIC -pie -Wl,-z,relro -Wl,-z,now'
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/mysql -I/usr/include/mysql/mysql   -fPIC -pie -Wl,-z,relro -Wl,-z,now'
+ '[' '-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-06-18 10:11:29.427865840 +0800
+++ ./configure	2024-06-18 10:11:31.737888609 +0800
@@ -1950,7 +1950,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-06-18 10:11:31.737888609 +0800
+++ ./configure	2024-06-18 10:11:31.807889299 +0800
@@ -9025,7 +9025,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'"
@@ -23330,7 +23330,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/config.sub
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config/config.sub
'/usr/lib/rpm/OpenCloudOS/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config/config.guess
'/usr/lib/rpm/OpenCloudOS/config.guess' -> './config/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"~' ./config/ltmain.sh
+ ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static --disable-java --with-plugindir=/usr/lib64/sasl2 --with-configdir=/usr/lib64/sasl2:/etc/sasl2 --disable-krb4 --enable-gssapi --with-gss_impl=mit --with-rc4 --with-dblib=gdbm --with-dbpath=/etc/sasl2/sasldb2 --with-saslauthd=/run/saslauthd --without-pwcheck --with-ldap --with-devrandom=/dev/urandom --enable-anon --enable-cram --enable-digest --enable-ntlm --enable-plain --enable-login --enable-alwaystrue --enable-httpform --disable-otp --enable-ldapdb --enable-sql --with-mysql=yes --with-pgsql=yes --without-sqlite
configure: WARNING: unrecognized options: --disable-java
configure: creating cache ./config.cache
checking build system type... aarch64-opencloudos-linux-gnu
checking host system type... aarch64-opencloudos-linux-gnu
checking target system type... aarch64-opencloudos-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking 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 UID '981' is supported by ustar format... yes
checking whether GID '135' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for aarch64-opencloudos-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking for gcc... gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) gawk
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
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 wchar.h... yes
checking for minix/config.h... no
checking for sys/time.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert aarch64-opencloudos-linux-gnu file names to aarch64-opencloudos-linux-gnu format... func_convert_file_noop
checking how to convert aarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for aarch64-opencloudos-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for aarch64-opencloudos-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for aarch64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for aarch64-opencloudos-linux-gnu-strip... no
checking for strip... strip
checking for aarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9031:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for aarch64-opencloudos-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for sys/socket.h... yes
checking for ws2tcpip.h... no
checking for socket... yes
checking for connect... yes
checking for res_search... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking DB path to use... /etc/sasl2/sasldb2
checking for gdbm.h... yes
checking for gdbm_open in -lgdbm... yes
checking DB library to use... gdbm
checking if DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... yes
checking PRNG to use... /dev/urandom
checking for nm... /usr/bin/nm -B
checking for underscore before symbols... no
checking for syslog... yes
checking if I should include saslauthd... /run/saslauthd
checking to include Courier authdaemond support... /dev/null
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... yes
checking if we should enable sasl_checkapop... enabled
checking CRAM-MD5... enabled
checking size of long... 8
checking what directory libraries are found in... lib64
checking for RSAPublicEncrypt in -lrsaref... no
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... yes
checking for SHA512 in -lcrypto... yes
checking for OpenSSL... yes
checking for des_cbc_encrypt in -lcrypto... no
checking for DES_cbc_encrypt in -lcrypto... yes
checking for openssl/des.h... yes
checking DIGEST-MD5... enabled
checking SCRAM... enabled
checking OTP... disabled
checking SRP... disabled
checking KERBEROS_V4... disabled
checking for crypt... yes
checking for gcc options needed to detect all undeclared functions... none needed
checking for gssapi.h... yes
checking for gssapi/gssapi_ext.h... yes
checking for res_search in -lresolv... yes
checking for gss_unwrap in -lgssapi_krb5... yes
checking GSSAPI... with implementation mit
checking for res_search in -lresolv... (cached) yes
checking for gsskrb5_register_acceptor_identity... no
checking for gssapi/gssapi_krb5.h... yes
checking whether gsskrb5_register_acceptor_identity is declared... yes
checking for gss_decapsulate_token... yes
checking for gss_encapsulate_token... yes
checking for gss_oid_equal... yes
checking for gss_get_name_attribute... yes
checking for gss_inquire_sec_context_by_oid... yes
checking for SPNEGO support in GSSAPI libraries... yes
checking to use mutexes aroung GSS calls... yes
checking for crypt... (cached) yes
checking for pam_start in -lpam... yes
checking for security/pam_appl.h... yes
checking for PAM support... yes
checking PLAIN... enabled
checking ANONYMOUS... enabled
checking LOGIN... enabled
checking NTLM... enabled
checking PASSDSS... disabled
checking to include LDAP support... yes
checking for ldap_initialize in -lldap... yes
checking SQL... enabled
checking for mysql_select_db in -lmysqlclient... yes
checking for PQsetdbLogin in -lpq... yes
configure: WARNING: SQLite3 Library not found
checking LDAPDB... enabled
checking for ldap.h... yes
checking for lber.h... yes
checking OpenLDAP api... yes
checking for ldap_initialize in -lldap... (cached) yes
checking OpenLDAP version... yes
checking for dmalloc library... no
checking for sfio library... no
checking for getsubopt... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for inet_aton in -lresolv... yes
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for crypt.h... yes
checking for des.h... no
checking for dlfcn.h... (cached) yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for malloc.h... yes
checking for paths.h... yes
checking for strings.h... (cached) yes
checking for sys/file.h... yes
checking for sys/time.h... (cached) yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for sys/uio.h... yes
checking for sys/param.h... yes
checking for sysexits.h... yes
checking for stdarg.h... yes
checking for varargs.h... no
checking for krb5.h... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... no