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/spamassassin.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-58503-29916/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '92ca8c84a792474093e9c6799384ba4e', '-D', '/var/lib/mock/dist-an8-loongarch64-build-58503-29916/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/spamassassin.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/spamassassin-3.4.4-3.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/spamassassin.spec'], chrootPath='/var/lib/mock/dist-an8-loongarch64-build-58503-29916/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '35ce88a76aad4f028b8488cb1aee6c35', '-D', '/var/lib/mock/dist-an8-loongarch64-build-58503-29916/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/spamassassin.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Sc8iVC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Mail-SpamAssassin-3.4.4 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/Mail-SpamAssassin-3.4.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Mail-SpamAssassin-3.4.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spamassassin-3.3.2-gnupg2.patch):' Patch #0 (spamassassin-3.3.2-gnupg2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sa-update.raw Hunk #1 succeeded at 357 (offset 76 lines). Patch #1 (spamassassin-3.4.1-add-logfile-homedir-options.patch): + echo 'Patch #1 (spamassassin-3.4.1-add-logfile-homedir-options.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/Mail/SpamAssassin/Plugin/Razor2.pm Hunk #1 succeeded at 164 (offset -1 lines). patching file spamd/spamd.raw Hunk #1 succeeded at 364 (offset 3 lines). Hunk #2 succeeded at 1152 (offset 1 line). + echo 'Patch #2 (spamassassin-3.4.2-drop-geoip.patch):' Patch #2 (spamassassin-3.4.2-drop-geoip.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file MANIFEST patching file lib/Mail/SpamAssassin/Plugin/RelayCountry.pm patching file lib/Mail/SpamAssassin/Plugin/URILocalBL.pm patching file lib/Mail/SpamAssassin/Util/DependencyInfo.pm patching file rules/init.pre patching file rules/v341.pre patching file spamassassin.raw + rm -f lib/Mail/SpamAssassin/Plugin/RelayCountry.pm + rm -f lib/Mail/SpamAssassin/Plugin/URILocalBL.pm + echo 'Patch #3 (0001-Drop-the-ResourceLimits-plugin.patch):' Patch #3 (0001-Drop-the-ResourceLimits-plugin.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file MANIFEST patching file lib/Mail/SpamAssassin/Util/DependencyInfo.pm patching file rules/v342.pre + rm -f lib/Mail/SpamAssassin/Plugin/ResourceLimits.pm + echo 'Patch #4 (spamassassin-sql92_syntax.patch):' Patch #4 (spamassassin-sql92_syntax.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file lib/Mail/SpamAssassin/AutoWhitelist.pm patching file lib/Mail/SpamAssassin/DBBasedAddrList.pm patching file lib/Mail/SpamAssassin/Plugin/TxRep.pm patching file lib/Mail/SpamAssassin/SQLBasedAddrList.pm patching file sql/README.awl patching file sql/awl_mysql.sql patching file sql/awl_pg.sql patching file sql/txrep_mysql.sql patching file sql/txrep_pg.sql patching file UPGRADE + echo 'Patch #5 (spamassassin-disable_tests_for_deleted_modules.patch):' Patch #5 (spamassassin-disable_tests_for_deleted_modules.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/all_modules.t patching file t/data/01_test_rules.pre Patch #100 (spamassassin-cert_update.patch): + echo 'Patch #100 (spamassassin-cert_update.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/data/etc/testhost.cert patching file t/data/etc/testhost.key + echo 'RHEL=8 FEDORA=' RHEL=8 FEDORA= + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PVIxha + umask 022 + cd /builddir/build/BUILD + cd Mail-SpamAssassin-3.4.4 + export 'CFLAGS=-O2 -g' + CFLAGS='-O2 -g' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/perl Makefile.PL DESTDIR=/builddir/build/BUILDROOT/spamassassin-3.4.4-3.an8.loongarch64/ SYSCONFDIR=/etc INSTALLDIRS=vendor ENABLE_SSL=yes DBI.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) error: Bad exit status from /var/tmp/rpm-tmp.PVIxha (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.PVIxha (%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: # /usr/bin/systemd-nspawn -q -M 35ce88a76aad4f028b8488cb1aee6c35 -D /var/lib/mock/dist-an8-loongarch64-build-58503-29916/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.67lgyyw5:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/spamassassin.spec