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/perl-DBD-Pg.spec'], chrootPath='/var/lib/mock/module-perl-DBD-Pg-3.7-8040020211125094456-e76a1c5a-build-58471-29834/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/perl-DBD-Pg.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 sh: perl: command not found sh: /usr/bin/perl: No such file or directory 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/perl-DBD-Pg-3.7.4-4.module+an8.4.0+10526+6606ca90.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/perl-DBD-Pg.spec'], chrootPath='/var/lib/mock/module-perl-DBD-Pg-3.7-8040020211125094456-e76a1c5a-build-58471-29834/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/perl-DBD-Pg.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.THEhvB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf DBD-Pg-3.7.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/DBD-Pg-3.7.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd DBD-Pg-3.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (DBD-Pg-3.7.4-Fix-ping-error-detection-on-PostgreSQL-12.patch):' Patch #0 (DBD-Pg-3.7.4-Fix-ping-error-detection-on-PostgreSQL-12.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dbdimp.c + echo 'Patch #1 (DBD-Pg-3.7.4-Fix-client_min_messages-FATAL-test-on-upcoming-Postg.patch):' Patch #1 (DBD-Pg-3.7.4-Fix-client_min_messages-FATAL-test-on-upcoming-Postg.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/02attribs.t Patch #2 (DBD-Pg-3.7.4-Inline-no-longer-conditional-catalog-query-fragments.patch): + echo 'Patch #2 (DBD-Pg-3.7.4-Inline-no-longer-conditional-catalog-query-fragments.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Pg.pm + echo 'Patch #3 (DBD-Pg-3.7.4-Remove-usage-of-deprecated-pg_attrdef.adsrc-column.patch):' Patch #3 (DBD-Pg-3.7.4-Remove-usage-of-deprecated-pg_attrdef.adsrc-column.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Pg.pm Hunk #1 succeeded at 350 (offset 1 line). + echo 'Patch #4 (DBD-Pg-3.7.4-Fix-test-to-allow-for-changed-message-of-pg_ctl-outp.patch):' Patch #4 (DBD-Pg-3.7.4-Fix-test-to-allow-for-changed-message-of-pg_ctl-outp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/dbdpg_test_setup.pl Hunk #1 succeeded at 336 (offset 5 lines). Patch #5 (DBD-Pg-3.7.4-Remove-usage-of-deprecated-pg_constraint.consrc-colu.patch): + echo 'Patch #5 (DBD-Pg-3.7.4-Remove-usage-of-deprecated-pg_constraint.consrc-colu.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Pg.pm Hunk #1 succeeded at 532 (offset 2 lines). + echo 'Patch #6 (DBD-Pg-3.7.4-Adjust-tests-for-removal-of-WITH-OIDS-in-PostgreSQL-.patch):' Patch #6 (DBD-Pg-3.7.4-Adjust-tests-for-removal-of-WITH-OIDS-in-PostgreSQL-.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/03dbmethod.t Patch #7 (DBD-Pg-3.7.4-Don-t-try-to-silence-ERRORs-in-test.patch): + echo 'Patch #7 (DBD-Pg-3.7.4-Don-t-try-to-silence-ERRORs-in-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file t/04misc.t + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kCkbCA + umask 022 + cd /builddir/build/BUILD + cd DBD-Pg-3.7.4 + perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g' NO_PACKLIST=1 Configuring DBD::Pg 3.7.4 DBI.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) error: Bad exit status from /var/tmp/rpm-tmp.kCkbCA (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.kCkbCA (%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/perl-DBD-Pg.spec