Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/krb5.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-39535-19388/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/krb5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/krb5-1.18.2-8.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/krb5.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-39535-19388/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/krb5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZdkU7l + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf krb5-1.18.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/krb5-1.18.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd krb5-1.18.2 + /usr/bin/tar -xof /builddir/build/SOURCES/krb5-1.18.2-pdfs.tar + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'krb5-1.18.2 base' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/downstream-ksu-pam-integration.patch :46: trailing whitespace. dnl :343: trailing whitespace. * :738: trailing whitespace. * :109: new blank line at EOF. + warning: 4 lines add whitespace errors. + /usr/bin/git commit -q -m downstream-ksu-pam-integration.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/downstream-SELinux-integration.patch + /usr/bin/git commit -q -m downstream-SELinux-integration.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/downstream-Adjust-build-configuration.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m downstream-Adjust-build-configuration.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/downstream-netlib-and-dns.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m downstream-netlib-and-dns.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/downstream-fix-debuginfo-with-y.tab.c.patch + /usr/bin/git apply --index - :28: trailing whitespace. $(YACC.y) $< warning: 1 line adds whitespace errors. + /usr/bin/git commit -q -m downstream-fix-debuginfo-with-y.tab.c.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/downstream-Remove-3des-support.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m downstream-Remove-3des-support.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/rhel-Use-backported-version-of-OpenSSL-3-KDF-interfa.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m rhel-Use-backported-version-of-OpenSSL-3-KDF-interfa.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/downstream-FIPS-with-PRNG-and-RADIUS-and-MD4-5.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m downstream-FIPS-with-PRNG-and-RADIUS-and-MD4-5.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Allow-certauth-modules-to-set-hw-authent-flag.patch + /usr/bin/git commit -q -m Allow-certauth-modules-to-set-hw-authent-flag.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Refresh-manually-acquired-creds-from-client-keytab.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Refresh-manually-acquired-creds-from-client-keytab.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Add-finalization-safety-check-to-com_err.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Add-finalization-safety-check-to-com_err.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Eliminate-redundant-PKINIT-responder-invocation.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Eliminate-redundant-PKINIT-responder-invocation.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Correctly-import-service-GSS-host-based-name.patch + /usr/bin/git commit -q -m Correctly-import-service-GSS-host-based-name.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Do-expiration-warnings-for-all-init_creds-APIs.patch + /usr/bin/git commit -q -m Do-expiration-warnings-for-all-init_creds-APIs.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Pass-gss_localname-through-SPNEGO.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Pass-gss_localname-through-SPNEGO.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Omit-KDC-indicator-check-for-S4U2Self-requests.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Omit-KDC-indicator-check-for-S4U2Self-requests.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Fix-typo-in-in-in-the-ksu-man-page.patch + /usr/bin/git commit -q -m Fix-typo-in-in-in-the-ksu-man-page.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Omit-PA_FOR_USER-if-we-can-t-compute-its-checksum.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Omit-PA_FOR_USER-if-we-can-t-compute-its-checksum.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Improve-negoex_parse_token-code-hygiene.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Improve-negoex_parse_token-code-hygiene.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Refactor-krb5-GSS-checksum-handling.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Refactor-krb5-GSS-checksum-handling.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Implement-GSS_C_CHANNEL_BOUND_FLAG.patch + /usr/bin/git commit -q -m Implement-GSS_C_CHANNEL_BOUND_FLAG.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Implement-KERB_AP_OPTIONS_CBT-server-side.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Implement-KERB_AP_OPTIONS_CBT-server-side.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Add-client_aware_channel_bindings-option.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Add-client_aware_channel_bindings-option.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Pass-channel-bindings-through-SPNEGO.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Pass-channel-bindings-through-SPNEGO.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Add-channel-bindings-tests.patch + /usr/bin/git commit -q -m Add-channel-bindings-tests.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Ignore-bad-enctypes-in-krb5_string_to_keysalts.patch + /usr/bin/git commit -q -m Ignore-bad-enctypes-in-krb5_string_to_keysalts.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Fix-leak-in-KERB_AP_OPTIONS_CBT-server-support.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Fix-leak-in-KERB_AP_OPTIONS_CBT-server-support.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/Unify-kvno-option-documentation.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m Unify-kvno-option-documentation.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Document-k-option-in-kvno-1-synopsis.patch + /usr/bin/git commit -q -m Document-k-option-in-kvno-1-synopsis.patch --author 'rpm-build ' + /usr/bin/git apply --index - + /usr/bin/cat /builddir/build/SOURCES/Add-recursion-limit-for-ASN.1-indefinite-lengths.patch + /usr/bin/git commit -q -m Add-recursion-limit-for-ASN.1-indefinite-lengths.patch --author 'rpm-build ' + ln NOTICE LICENSE + inldif=src/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif + cat + sed -r 's,^ , ,g' + sed -r 's,^ , ,g' + egrep -iv '(^$|^dn:|^changetype:|^add:)' src/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif + touch -r src/plugins/kdb/ldap/libkdb_ldap/kerberos.ldif 60kerberos.ldif + pushd src ~/build/BUILD/krb5-1.18.2/src ~/build/BUILD/krb5-1.18.2 + autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: configure.ac: not using aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: Leaving directory `.' ~/build/BUILD/krb5-1.18.2 + popd + cfg='src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py' ++ getconf LONG_BIT + LONG_BIT=64 ++ expr 61000 + 64 - 48 + PORT=61016 ++ expr 61016 + 0 + sed -i -e s,61000,61016,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 1750 + 64 - 48 + PORT=1766 ++ expr 1766 + 0 + sed -i -e s,1750,1766,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 1766 + 1 + sed -i -e s,1751,1767,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 1766 + 2 + sed -i -e s,1752,1768,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 8888 + 64 - 48 + PORT=8904 ++ expr 8904 - 0 + sed -i -e s,8888,8904,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 8904 - 1 + sed -i -e s,8887,8903,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 8904 - 2 + sed -i -e s,8886,8902,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 7777 + 64 - 48 + PORT=7793 ++ expr 7793 + 0 + sed -i -e s,7777,7793,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py ++ expr 7793 + 1 + sed -i -e s,7778,7794,g src/kadmin/testing/proto/kdc.conf.proto src/kadmin/testing/proto/krb5.conf.proto src/lib/kadm5/unit-test/api.current/init-v2.exp src/util/k5test.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vAyPoY + umask 022 + cd /builddir/build/BUILD + cd krb5-1.18.2 + source /usr/lib64/tclConfig.sh ++ TCL_VERSION=8.6 ++ TCL_MAJOR_VERSION=8 ++ TCL_MINOR_VERSION=6 ++ TCL_PATCH_LEVEL=.8 ++ TCL_CC=loongarch64-loongson-linux-gnu-gcc ++ TCL_DEFS='-DPACKAGE_NAME=\"tcl\" -DPACKAGE_TARNAME=\"tcl\" -DPACKAGE_VERSION=\"8.6\" -DPACKAGE_STRING=\"tcl\ 8.6\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_PTHREAD_ATFORK=1 -DTCL_THREADS=1 -DTCL_CFGVAL_ENCODING=\"iso8859-1\" -DHAVE_ZLIB=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -DHAVE_HIDDEN=1 -DHAVE_CAST_TO_UNION=1 -DTCL_SHLIB_EXT=\".so\" -DTCL_TOMMATH=1 -DMP_PREC=4 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_MKSTEMP=1 -DHAVE_OPENDIR=1 -DHAVE_STRTOL=1 -DHAVE_WAITPID=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETADDRINFO=1 -DHAVE_FREEADDRINFO=1 -DHAVE_GAI_STRERROR=1 -DHAVE_STRUCT_ADDRINFO=1 -DHAVE_STRUCT_IN6_ADDR=1 -DHAVE_STRUCT_SOCKADDR_IN6=1 -DHAVE_STRUCT_SOCKADDR_STORAGE=1 -DHAVE_GETPWUID_R_5=1 -DHAVE_GETPWUID_R=1 -DHAVE_GETPWNAM_R_5=1 -DHAVE_GETPWNAM_R=1 -DHAVE_GETGRGID_R_5=1 -DHAVE_GETGRGID_R=1 -DHAVE_GETGRNAM_R_5=1 -DHAVE_GETGRNAM_R=1 -DHAVE_GETHOSTBYNAME_R_6=1 -DHAVE_GETHOSTBYNAME_R=1 -DHAVE_GETHOSTBYADDR_R_8=1 -DHAVE_GETHOSTBYADDR_R=1 -DHAVE_TERMIOS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_MKTIME=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_STRUCT_STAT_ST_BLOCKS=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_BLKCNT_T=1 -DHAVE_INTPTR_T=1 -DHAVE_UINTPTR_T=1 -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_MKSTEMPS=1 -DHAVE_FTS=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_UNLOAD_DLLS=1 -DUSE_DTRACE=1' ++ TCL_DBGX= ++ TCL_CFLAGS_DEBUG=-g ++ TCL_CFLAGS_OPTIMIZE=-O2 ++ TCL_LDFLAGS_DEBUG= ++ TCL_LDFLAGS_OPTIMIZE= ++ TCL_SHARED_BUILD=1 ++ TCL_LIB_FILE=libtcl8.6.so ++ TCL_LIBS='-ldl -lz -lpthread -lm' ++ TCL_PREFIX=/usr ++ TCL_EXEC_PREFIX=/usr ++ TCL_SHLIB_CFLAGS=-fPIC ++ TCL_CFLAGS_WARNING=-Wall ++ TCL_EXTRA_CFLAGS='-O2 -g -pipe ' ++ TCL_SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}' ++ TCL_STLIB_LD='${AR} cr' ++ TCL_SHLIB_LD_LIBS='${LIBS}' ++ TCL_SHLIB_SUFFIX=.so ++ TCL_DL_LIBS=-ldl ++ TCL_LD_FLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/loongson/loongson-hardened-ld -Wl,--export-dynamic ' ~/build/BUILD/krb5-1.18.2/src ~/build/BUILD/krb5-1.18.2 ++ TCL_CC_SEARCH_FLAGS= ++ TCL_LD_SEARCH_FLAGS= ++ TCL_COMPAT_OBJS= ++ TCL_RANLIB=ranlib ++ TCL_LIB_FLAG=-ltcl8.6 ++ TCL_BUILD_LIB_SPEC='-L/usr/lib64 -ltcl8.6' ++ TCL_LIB_SPEC='-L/usr/lib64 -ltcl8.6' ++ TCL_INCLUDE_SPEC=-I/usr/include ++ TCL_LIB_VERSIONS_OK=ok ++ TCL_SHARED_LIB_SUFFIX='${VERSION}.so' ++ TCL_UNSHARED_LIB_SUFFIX='${VERSION}.a' ++ TCL_SRC_DIR=/usr/include/tcl-private ++ TCL_PACKAGE_PATH='/usr/lib64/tcl8.6 /usr/share/tcl8.6 /usr/lib64/tk8.6 /usr/share/tk8.6 ' ++ TCL_SUPPORTS_STUBS=1 ++ TCL_STUB_LIB_FILE=libtclstub8.6.a ++ TCL_STUB_LIB_FLAG=-ltclstub8.6 ++ TCL_BUILD_STUB_LIB_SPEC='-L/usr/lib64 -ltclstub8.6' ++ TCL_STUB_LIB_SPEC='-L/usr/lib64 -ltclstub8.6' ++ TCL_BUILD_STUB_LIB_PATH=/usr/lib64/libtclstub8.6.a ++ TCL_STUB_LIB_PATH=/usr/lib64/libtclstub8.6.a ++ TCL_THREADS=1 + pushd src + export runstatedir=/var/run + runstatedir=/var/run + INCLUDES=-I/usr/include/et ++ echo -O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all + CFLAGS='-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all' ++ echo -I/usr/include/et + CPPFLAGS=-I/usr/include/et + CFLAGS='-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/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/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 CC=loongarch64-redhat-linux-gnu-gcc 'CFLAGS=-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all' CPPFLAGS=-I/usr/include/et SS_LIB=-lss --enable-shared --localstatedir=/var/kerberos --disable-rpath --without-krb5-config --with-system-et --with-system-ss --with-netlib=-lresolv --with-tcl --enable-dns-for-realm --with-ldap --with-dirsrv-account-locking --enable-pkinit --with-crypto-impl=openssl --with-pkinit-crypto-impl=openssl --with-tls-impl=openssl --with-system-verto --with-pam --with-selinux --with-prng-alg=os configure: WARNING: unrecognized options: --disable-dependency-tracking, --with-dirsrv-account-locking, --with-pkinit-crypto-impl checking for loongarch64-Anolis-linux-gcc... loongarch64-redhat-linux-gnu-gcc checking whether the C compiler works... no configure: error: in `/builddir/build/BUILD/krb5-1.18.2/src': configure: error: C compiler cannot create executables See `config.log' for more details + cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Kerberos 5 configure 1.18.2, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 CC=loongarch64-redhat-linux-gnu-gcc CFLAGS=-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all CPPFLAGS=-I/usr/include/et SS_LIB=-lss --enable-shared --localstatedir=/var/kerberos --disable-rpath --without-krb5-config --with-system-et --with-system-ss --with-netlib=-lresolv --with-tcl --enable-dns-for-realm --with-ldap --with-dirsrv-account-locking --enable-pkinit --with-crypto-impl=openssl --with-pkinit-crypto-impl=openssl --with-tls-impl=openssl --with-system-verto --with-pam --with-selinux --with-prng-alg=os ## --------- ## ## Platform. ## ## --------- ## hostname = openanlios004 uname -m = loongarch64 uname -r = 4.19.190-1.lns8.loongarch64 uname -s = Linux uname -v = #1 SMP Tue Jul 13 17:53:26 CST 2021 /usr/bin/uname -p = loongarch64 /bin/uname -X = unknown /bin/arch = loongarch64 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/bin PATH: /bin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/sbin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2897: checking for loongarch64-Anolis-linux-gcc configure:2924: result: loongarch64-redhat-linux-gnu-gcc configure:3193: checking for C compiler version configure:3202: loongarch64-redhat-linux-gnu-gcc --version >&5 ./configure: line 3204: loongarch64-redhat-linux-gnu-gcc: command not found configure:3213: $? = 127 configure:3202: loongarch64-redhat-linux-gnu-gcc -v >&5 ./configure: line 3204: loongarch64-redhat-linux-gnu-gcc: command not found configure:3213: $? = 127 configure:3202: loongarch64-redhat-linux-gnu-gcc -V >&5 ./configure: line 3204: loongarch64-redhat-linux-gnu-gcc: command not found configure:3213: $? = 127 configure:3202: loongarch64-redhat-linux-gnu-gcc -qversion >&5 ./configure: line 3204: loongarch64-redhat-linux-gnu-gcc: command not found configure:3213: $? = 127 configure:3233: checking whether the C compiler works configure:3255: loongarch64-redhat-linux-gnu-gcc -O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all -I/usr/include/et -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld conftest.c >&5 ./configure: line 3257: loongarch64-redhat-linux-gnu-gcc: command not found configure:3259: $? = 127 configure:3297: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "Kerberos 5" | #define PACKAGE_TARNAME "krb5" | #define PACKAGE_VERSION "1.18.2" | #define PACKAGE_STRING "Kerberos 5 1.18.2" | #define PACKAGE_BUGREPORT "krb5-bugs@mit.edu" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:3302: error: in `/builddir/build/BUILD/krb5-1.18.2/src': configure:3304: error: C compiler cannot create executables See `config.log' for more details ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_env_CCC_set= ac_cv_env_CCC_value= ac_cv_env_CC_set=set ac_cv_env_CC_value=loongarch64-redhat-linux-gnu-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value=-I/usr/include/et ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_CXXFLAGS_set=set ac_cv_env_CXXFLAGS_value='-O2 -g' ac_cv_env_CXX_set= ac_cv_env_CXX_value= ac_cv_env_DB_HEADER_set= ac_cv_env_DB_HEADER_value= ac_cv_env_DB_LIB_set= ac_cv_env_DB_LIB_value= ac_cv_env_DEFCCNAME_set= ac_cv_env_DEFCCNAME_value= ac_cv_env_DEFCKTNAME_set= ac_cv_env_DEFCKTNAME_value= ac_cv_env_DEFKTNAME_set= ac_cv_env_DEFKTNAME_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ac_cv_env_LD_set= ac_cv_env_LD_value= ac_cv_env_LIBEDIT_CFLAGS_set= ac_cv_env_LIBEDIT_CFLAGS_value= ac_cv_env_LIBEDIT_LIBS_set= ac_cv_env_LIBEDIT_LIBS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set=set ac_cv_env_PKG_CONFIG_PATH_value=:/usr/lib64/pkgconfig:/usr/share/pkgconfig ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_SS_LIB_set=set ac_cv_env_SS_LIB_value=-lss ac_cv_env_VERTO_CFLAGS_set= ac_cv_env_VERTO_CFLAGS_value= ac_cv_env_VERTO_LIBS_set= ac_cv_env_VERTO_LIBS_value= ac_cv_env_YACC_set= ac_cv_env_YACC_value= ac_cv_env_YFLAGS_set= ac_cv_env_YFLAGS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=loongarch64-Anolis-linux ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=loongarch64-Anolis-linux ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_prog_CC=loongarch64-redhat-linux-gnu-gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## AESNI_FLAGS='' AESNI_OBJ='' AR='' ARADD='' ARCHIVE='' ASAN='' ASAN_FLAGS='' AUDIT_IMPL_LIBS='' AWK='' BASH='/bin/sh' CC='loongarch64-redhat-linux-gnu-gcc' CC_LINK='' CFLAGS='-O2 -g -I/usr/include/et -fPIC -fno-strict-aliasing -fstack-protector-all' CMOCKA_LIBS='' COM_ERR_VERSION='' CONFIG_RELTOPDIR='' CPP='' CPPFLAGS='-I/usr/include/et' CRYPTO_IMPL='' CRYPTO_IMPL_CFLAGS='' CRYPTO_IMPL_LIBS='' CXX='' CXXFLAGS='-O2 -g' CXX_LINK='' DB_EXTRA_LIBS='' DB_HEADER='' DB_HEADER_VERSION='' DB_LIB='' DB_VERSION='' DEFCCNAME='' DEFCKTNAME='' DEFKTNAME='' DEFS='' DEPLIBEXT='' DIG='' DL_LIB='' DO_ALL='' DO_TCL='' DO_TEST='' DYNOBJEXT='' DYNOBJ_EXPDEPS='' DYNOBJ_EXPFLAGS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' EXPECT='' EXTRA_FILES='' EXTRA_SUPPORT_SYMS='' FCTSH='' FNMATCH_OBJ='' FNMATCH_ST_OBJ='' GEN_LIB='' GETOPT_LONG_OBJ='' GETOPT_LONG_ST_OBJ='' GETOPT_OBJ='' GETOPT_ST_OBJ='' GETTIMEOFDAY_OBJ='' GETTIMEOFDAY_ST_OBJ='' GREP='' GROFF='' GSSRPC__BSD_TYPEALIASES='' GSSRPC__NETDB_H='' GSSRPC__SYS_PARAM_H='' GSSRPC__SYS_SELECT_H='' GSSRPC__SYS_TIME_H='' GSSRPC__UNISTD_H='' HAVE_CMOCKA='' HAVE_GCC='' HAVE_LMDB='' HAVE_PYTHON='' HAVE_RESOLV_WRAPPER='' HAVE_RUNTEST='' HAVE_SASL='' HAVE_SPAKE_OPENSSL='' HESIOD_DEFS='' HESIOD_LIBS='' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' INSTALL_SHLIB='' KDB5_DB_LIB='' KDB5_PLUGIN_DEPLIBS='' KDB5_PLUGIN_LIBS='' KRB5_RCTMPDIR='' KRB5_RUN_ENV='' KRB5_RUN_VARS='' KRB5_VERSION='' KSU_LIBS='' LD='' LDAP='' LDAP_LIBS='' LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' LEX='' LEXLIB='' LEX_OUTPUT_ROOT='' LIBEDIT_CFLAGS='' LIBEDIT_LIBS='' LIBINSTLIST='' LIBLINKS='' LIBLIST='' LIBOBJS='' LIBS='' LIBUTIL='' LMDB_LIBS='' LN_S='' LTLIBOBJS='' MAINT='' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='' MAKE_DYNOBJ_COMMAND='' MAKE_SHLIB_COMMAND='' MKSTEMP_OBJ='' MKSTEMP_ST_OBJ='' MSGFMT='' NON_PAM_MAN='' NSLOOKUP='' OBJEXT='' OBJLISTS='' OSX='' PACKAGE_BUGREPORT='krb5-bugs@mit.edu' PACKAGE_NAME='Kerberos 5' PACKAGE_STRING='Kerberos 5 1.18.2' PACKAGE_TARNAME='krb5' PACKAGE_URL='' PACKAGE_VERSION='1.18.2' PAM_LIBS='' PAM_MAN='' PASS='' PATH_SEPARATOR=':' PERL='' PFLIBEXT='' PFOBJEXT='' PICFLAGS='' PKG_CONFIG='' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH=':/usr/lib64/pkgconfig:/usr/share/pkgconfig' PKINIT='' PLUGIN='' PLUGININST='' PLUGINLINK='' PRINTF_OBJ='' PRINTF_ST_OBJ='' PRIOCNTL_HACK='' PRNG_ALG='' PROFFLAGS='' PROG_RPATH_FLAGS='' PTHREAD_CC='' PTHREAD_CFLAGS='' PTHREAD_LIBS='' PYTHON='' PYTHON_MINVERSION='' RANLIB='' RBUILD='' RL_CFLAGS='' RL_LIBS='' RPATH_FLAG='' RUNTEST='' SECURE_GETENV_INIT='' SECURE_GETENV_OBJ='' SECURE_GETENV_ST_OBJ='' SED='' SELINUX_LIBS='' SETENVOBJ='' SH5='' SH='' SHELL='/bin/sh' SHLIBEXT='' SHLIBSEXT='' SHLIBVEXT='' SHLIB_EXPFLAGS='' SHLIB_EXPORT_FILE_DEP='' SHLIB_RPATH_FLAGS='' SHOBJEXT='' SIZEOF_TIME_T='' SPAKE_OPENSSL_LIBS='' SS_LIB='-lss' SS_VERSION='' STLIBEXT='' STOBJEXT='' STRLCPY_OBJ='' STRLCPY_ST_OBJ='' SUPPORTLIB_MAJOR='' SYSCONFCONF='' S_TOP='' TCL_INCLUDES='' TCL_LIBPATH='' TCL_LIBS='' TCL_MAYBE_RPATH='' TCL_RPATH='' THREAD_SUPPORT='' TLS_IMPL='' TLS_IMPL_CFLAGS='' TLS_IMPL_LIBS='' UNDEF_CHECK='' VERTO_CFLAGS='' VERTO_LIBS='' VERTO_VERSION='' WARN_CFLAGS='' WARN_CXXFLAGS='' YACC='' YASM='' YFLAGS='' ac_ct_CC='' ac_ct_CXX='' audit_plugin='' ax_pthread_config='' bindir='/usr/bin' build='loongarch64-Anolis-linux' build_alias='loongarch64-Anolis-linux' build_cpu='' build_os='' build_vendor='' compile_et='' datadir='/usr/share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/usr' have_PERL='' have_RUNTEST='' host='loongarch64-Anolis-linux' host_alias='loongarch64-Anolis-linux' host_cpu='' host_os='' host_vendor='' htmldir='${docdir}' include_xom='' includedir='/usr/include' infodir='/usr/share/info' krb5_cv_host='' ldap_plugin_dir='' libdir='/usr/lib64' libexecdir='/usr/libexec' lmdb_plugin_dir='' localedir='${datarootdir}/locale' localstatedir='/var/kerberos' mandir='/usr/share/man' oldincludedir='/usr/include' pdfdir='${docdir}' po='' prefix='/usr' program_transform_name='s,x,x,' psdir='${docdir}' rpcent_define='' runstatedir='/var/run' sam2_plugin='' sbindir='/usr/sbin' sharedstatedir='/var/lib' sysconfdir='/etc' target_alias='' ## ------------------- ## ## File substitutions. ## ## ------------------- ## lib_frag='' libnodeps_frag='' libnover_frag='' libobj_frag='' libpriv_frag='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "Kerberos 5" #define PACKAGE_TARNAME "krb5" #define PACKAGE_VERSION "1.18.2" #define PACKAGE_STRING "Kerberos 5 1.18.2" #define PACKAGE_BUGREPORT "krb5-bugs@mit.edu" #define PACKAGE_URL "" configure: exit 77 RPM build errors: + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.vAyPoY (%build) Bad exit status from /var/tmp/rpm-tmp.vAyPoY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/krb5.spec