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/lasso.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41098-21227/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/lasso.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/lasso-2.6.0-8.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/lasso.spec'], chrootPath='/var/lib/mock/dist-el8-loongarch64-build-41098-21227/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/lasso.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.DRsU8e + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lasso-2.6.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/lasso-2.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lasso-2.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (use-specified-python-interpreter.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (use-specified-python-interpreter.patch): patching file bindings/java/Makefile.am patching file bindings/python/tests/Makefile.am patching file lasso/Makefile.am patching file tools/check-lasso-sections.py Patch #2 (build-scripts-py3-compatible.patch): + echo 'Patch #2 (build-scripts-py3-compatible.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bindings/python/examples/get_attributes_from_assertion.py patching file bindings/python/tests/binding_tests.py patching file bindings/python/tests/idwsf2_tests.py patching file lasso/build_strerror.py + echo 'Patch #3 (duplicate-python-LogoutTestCase.patch):' Patch #3 (duplicate-python-LogoutTestCase.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bindings/python/tests/profiles_tests.py + echo 'Patch #4 (versioned-python-configure.patch):' Patch #4 (versioned-python-configure.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure.ac Patch #5 (0005-tests-use-self-generated-certificate-to-sign-federat.patch): + echo 'Patch #5 (0005-tests-use-self-generated-certificate-to-sign-federat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/basic_tests.c patching file tests/data/lasso.crt patching file tests/data/lasso.csr patching file tests/data/lasso.key patching file tests/data/metadata/metadata-federation-renater.crt patching file tests/data/metadata/renater-metadata.xml patching file tests/data/rootCA.crt patching file tests/data/rootCA.key patching file tests/data/rootCA.srl + echo 'Patch #6 (0006-Fix-ECP-signature-not-found-error-when-only-assertio.patch):' Patch #6 (0006-Fix-ECP-signature-not-found-error-when-only-assertio.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lasso/saml-2.0/login.c patching file lasso/saml-2.0/profile.c patching file tests/login_tests_saml2.c + echo 'Patch #7 (0007-PAOS-Do-not-populate-Destination-attribute.patch):' Patch #7 (0007-PAOS-Do-not-populate-Destination-attribute.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lasso/saml-2.0/login.c patching file lasso/saml-2.0/profile.c ++ grep -r -l -E '^#![[:blank:]]*(/usr/bin/python[^3]?)|(/usr/bin/env[[:blank:]]+python[^3]?)' AUTHORS COPYING ChangeLog HACKING INSTALL Makefile.am Makefile.in NEWS README README.JAVA README.WIN32 abi aclocal.m4 autogen.sh bindings compile config.guess config.h.in config.sub configure configure.ac depcomp docs gtk-doc.make install-sh lasso lasso-src-config.in lasso.doap lasso.pc.in logos ltmain.sh m4 missing test-driver tests tools win32 + sed -i -E -e '/^#![[:blank:]]*(\/usr\/bin\/env[[:blank:]]+python[^3]?\>)|(\/usr\/bin\/python[^3]?\>)/d' bindings/python/tests/tests.py bindings/python/tests/binding_tests.py bindings/python/tests/profiles_tests.py bindings/python/tests/idwsf2_tests.py bindings/python/tests/idwsf1_tests.py bindings/bindings.py lasso/extract_symbols.py lasso/extract_types.py lasso/extract_sections.py lasso/build_strerror.py tools/check-lasso-sections.py tools/generate_idwsf2_classes.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pfhUSn + umask 022 + cd /builddir/build/BUILD + cd lasso-2.6.0 + ./autogen.sh I am going to run ./configure with no arguments - if you wish to pass any to it, please specify them on the ./autogen.sh command line. * Running libtoolize libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' * Running gtkdocize * Running aclocal-1.16 * Running autoconf * Running automake-1.16 configure.ac:93: installing './compile' configure.ac:31: installing './missing' bindings/java/Makefile.am: installing './depcomp' checking build system type... ./config.guess: unable to guess system type This script (version 2018-02-24), has failed to recognize the operating system you are using. If your script is old, overwrite *all* copies of config.guess and config.sub with the latest versions from: https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess and https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub If ./config.guess has already been updated, send the following data and any information you think might be pertinent to config-patches@gnu.org to provide the necessary information to handle your system. config.guess timestamp = 2018-02-24 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 = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = loongarch64 /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = "loongarch64" UNAME_RELEASE = "4.19.190-1.lns8.loongarch64" UNAME_SYSTEM = "Linux" UNAME_VERSION = "#1 SMP Tue Jul 13 17:53:26 CST 2021" configure: error: cannot guess build type; you must specify one RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.pfhUSn (%build) Bad exit status from /var/tmp/rpm-tmp.pfhUSn (%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/lasso.spec