Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cyrus-imapd.spec'], chrootPath='/var/lib/mock/f33-build-220126-48451/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cyrus-imapd.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': 'en_US.UTF-8'} and shell False sh: /usr/bin/perl: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/cyrus-imapd-3.0.13-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cyrus-imapd.spec'], chrootPath='/var/lib/mock/f33-build-220126-48451/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cyrus-imapd.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FWb0Yg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cyrus-imapd-3.0.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/cyrus-imapd-3.0.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cyrus-imapd-3.0.13 + /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 'cyrus-imapd-3.0.13 base' + /usr/bin/cat /builddir/build/SOURCES/patch-cyrus-testsuite-timeout + /usr/bin/git apply --index --reject -p1 - Checking patch cunit/unit.c... Applied patch cunit/unit.c cleanly. + /usr/bin/git commit -q -m patch-cyrus-testsuite-timeout --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/patch-cyrus-default-configs + /usr/bin/git apply --index --reject -p1 - Checking patch doc/examples/cyrus_conf/prefork.conf... Checking patch doc/examples/imapd_conf/normal.conf... Applied patch doc/examples/cyrus_conf/prefork.conf cleanly. Applied patch doc/examples/imapd_conf/normal.conf cleanly. + /usr/bin/git commit -q -m patch-cyrus-default-configs --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/patch-cyrus-rename-quota + /usr/bin/git apply --index --reject -p1 - Checking patch imap/imapd.c... Hunk #1 succeeded at 7653 (offset 17 lines). Applied patch imap/imapd.c cleanly. + /usr/bin/git commit -q -m patch-cyrus-rename-quota --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/patch-vzic-proper-cflags + /usr/bin/git apply --index --reject -p1 - Checking patch tools/vzic/Makefile... Applied patch tools/vzic/Makefile cleanly. + /usr/bin/git commit -q -m patch-vzic-proper-cflags --author 'rpm-build ' + /usr/bin/git apply --index --reject -p1 - + /usr/bin/cat /builddir/build/SOURCES/patch-cyrus-perl-linking Checking patch perl/imap/Makefile.PL.in... Checking patch perl/sieve/managesieve/Makefile.PL.in... Applied patch perl/imap/Makefile.PL.in cleanly. Applied patch perl/sieve/managesieve/Makefile.PL.in cleanly. + /usr/bin/git commit -q -m patch-cyrus-perl-linking --author 'rpm-build ' + echo 3.0.13 + install -m 644 /builddir/build/SOURCES/README.rpm doc/ + tar xf /builddir/build/SOURCES/cassandane-c8040fd.tar.gz + ln -s cassandane-c8040fd9e3a3c9ec96a7b58ff8a0601756108d46 cassandane + pushd cassandane ~/build/BUILD/cyrus-imapd-3.0.13/cassandane ~/build/BUILD/cyrus-imapd-3.0.13 + mkdir work + tar xf /builddir/build/SOURCES/cassandane-testdata-20170523.tar.gz + patch -p1 patching file Cassandane/Util/Log.pm Hunk #1 succeeded at 50 (offset -2 lines). + patch -p1 patching file utils/annotator.pl + cp /builddir/build/SOURCES/cassandane.ini cassandane.ini ++ pwd + sed -i -e 's!CASSDIR!/builddir/build/BUILD/cyrus-imapd-3.0.13/cassandane!' -e 's!BUILDROOT!/builddir/build/BUILDROOT/cyrus-imapd-3.0.13-2.fc33.riscv64!' cassandane.ini + popd ~/build/BUILD/cyrus-imapd-3.0.13 + sed -i -e '1{/usr.bin.perl/d}' perl/annotator/Message.pm perl/annotator/Daemon.pm + sed -i -e '1i#!/usr/bin/perl' -e 1d tools/rehash + sed -i -e '1i#!/usr/bin/perl -w' -e '/^exec perl/d' -e '/^#!perl -w/d' -e '/^#!\/bin\/sh/d' -e '/^#! \/bin\/sh/d' snmp/snmpgen perl/sieve/scripts/installsieve.pl perl/sieve/scripts/sieveshell.pl perl/imap/cyradm.sh tools/config2header tools/masssievec tools/config2rst tools/mknewsgroups tools/config2sample tools/config2man tools/mkimap tools/translatesieve + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.a0JHLi + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/cyrus-imapd-3.0.13/cassandane ~/build/BUILD/cyrus-imapd-3.0.13 + cd cyrus-imapd-3.0.13 + pushd cassandane + make make[1]: Entering directory '/builddir/build/BUILD/cyrus-imapd-3.0.13/cassandane-c8040fd9e3a3c9ec96a7b58ff8a0601756108d46/utils' gcc -g -O0 -Wall -Wextra -c -o lemming.o lemming.c gcc -g -O0 -Wall -Wextra -o lemming lemming.o gcc -g -O0 -Wall -Wextra -c -o gdbtramp.o gdbtramp.c gcc -g -O0 -Wall -Wextra -o gdbtramp gdbtramp.o gcc -g -O0 -Wall -Wextra -c -o crash.o crash.c gcc -g -O0 -Wall -Wextra -o crash crash.o make[1]: Leaving directory '/builddir/build/BUILD/cyrus-imapd-3.0.13/cassandane-c8040fd9e3a3c9ec96a7b58ff8a0601756108d46/utils' ./utils/annotator.pl syntax check SKIPPED ./genmail3.pl syntax OK ./imap-append.pl syntax OK ./jenkins-xml-summary.pl syntax OK ./listmail.pl syntax OK ./pop3showafter.pl syntax OK ./split-by-thread.pl syntax OK ./sprinkle.pl syntax OK Can't locate User/pwent.pm in @INC (you may need to install the User::pwent module) (@INC contains: . /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Cassandane/Util/Setup.pm line 45. BEGIN failed--compilation aborted at Cassandane/Util/Setup.pm line 45. Compilation failed in require at ./start-instance.pl line 46. BEGIN failed--compilation aborted at ./start-instance.pl line 46. Can't locate User/pwent.pm in @INC (you may need to install the User::pwent module) (@INC contains: . /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at Cassandane/Util/Setup.pm line 45. BEGIN failed--compilation aborted at Cassandane/Util/Setup.pm line 45. Compilation failed in require at ./testrunner.pl line 45. BEGIN failed--compilation aborted at ./testrunner.pl line 45. ./Cassandane/Address.pm syntax OK ./Cassandane/BuildInfo.pm syntax OK ./Cassandane/Cassini.pm syntax OK ./Cassandane/Config.pm syntax OK ./Cassandane/Cyrus/ACL.pm syntax OK ./Cassandane/Cyrus/Admin.pm syntax OK ./Cassandane/Cyrus/Annotator.pm syntax OK ./Cassandane/Cyrus/Archive.pm syntax OK ./Cassandane/Cyrus/Autocreate.pm syntax OK ./Cassandane/Cyrus/Backups.pm syntax OK ./Cassandane/Cyrus/Bug3072.pm syntax OK ./Cassandane/Cyrus/Bug3463.pm syntax OK ./Cassandane/Cyrus/Bug3470.pm syntax OK ./Cassandane/Cyrus/Bug3649.pm syntax OK ./Cassandane/Cyrus/Bug3903.pm syntax OK ./Cassandane/Cyrus/Caldav.pm syntax OK ./Cassandane/Cyrus/CaldavAlarm.pm syntax OK ./Cassandane/Cyrus/Carddav.pm syntax OK ./Cassandane/Cyrus/ClamAV.pm syntax OK ./Cassandane/Cyrus/Conversations.pm syntax OK ./Cassandane/Cyrus/CyrusDB.pm syntax OK ./Cassandane/Cyrus/Delete.pm syntax OK ./Cassandane/Cyrus/Delivery.pm syntax OK ./Cassandane/Cyrus/Deny.pm syntax OK ./Cassandane/Cyrus/Expunge.pm syntax OK ./Cassandane/Cyrus/Fetch.pm syntax OK ./Cassandane/Cyrus/Flags.pm syntax OK ./Cassandane/Cyrus/ID.pm syntax OK ./Cassandane/Cyrus/Idle.pm syntax OK ./Cassandane/Cyrus/ImapTest.pm syntax OK ./Cassandane/Cyrus/Info.pm syntax OK ./Cassandane/Cyrus/JMAPCalendars.pm syntax OK ./Cassandane/Cyrus/JMAPContacts.pm syntax OK ./Cassandane/Cyrus/JMAPCore.pm syntax OK ./Cassandane/Cyrus/JMAPMail.pm syntax OK ./Cassandane/Cyrus/List.pm syntax OK ./Cassandane/Cyrus/Lsub.pm syntax OK ./Cassandane/Cyrus/Master.pm syntax OK ./Cassandane/Cyrus/Metadata.pm syntax OK ./Cassandane/Cyrus/Move.pm syntax OK ./Cassandane/Cyrus/Murder.pm syntax OK ./Cassandane/Cyrus/Nntp.pm syntax OK ./Cassandane/Cyrus/Objectid.pm syntax OK ./Cassandane/Cyrus/Pop3.pm syntax OK ./Cassandane/Cyrus/Prometheus.pm syntax OK ./Cassandane/Cyrus/Quota.pm syntax OK ./Cassandane/Cyrus/Reconstruct.pm syntax OK ./Cassandane/Cyrus/Rename.pm syntax OK ./Cassandane/Cyrus/Replication.pm syntax OK ./Cassandane/Cyrus/Search.pm syntax OK ./Cassandane/Cyrus/SearchFuzzy.pm syntax OK ./Cassandane/Cyrus/Sieve.pm syntax OK ./Cassandane/Cyrus/Simple.pm syntax OK ./Cassandane/Cyrus/Specialuse.pm syntax OK ./Cassandane/Cyrus/T116.pm syntax OK ./Cassandane/Cyrus/TestCase.pm syntax OK ./Cassandane/Cyrus/TesterCalDAV.pm syntax OK ./Cassandane/Cyrus/TesterCardDAV.pm syntax OK ./Cassandane/Cyrus/TesterJMAP.pm syntax OK ./Cassandane/Cyrus/Thread.pm syntax OK ./Cassandane/Cyrus/Userid.pm syntax OK ./Cassandane/Daemon.pm syntax OK ./Cassandane/Generator.pm syntax OK ./Cassandane/IMAPMessageStore.pm syntax OK ./Cassandane/IMAPService.pm syntax OK ./Cassandane/Instance.pm syntax OK ./Cassandane/MaildirMessageStore.pm syntax OK ./Cassandane/MasterEntry.pm syntax OK ./Cassandane/MasterEvent.pm syntax OK ./Cassandane/MasterStart.pm syntax OK ./Cassandane/MboxMessageStore.pm syntax OK ./Cassandane/Mboxname.pm syntax OK ./Cassandane/Message.pm syntax OK ./Cassandane/MessageStore.pm syntax OK ./Cassandane/MessageStoreFactory.pm syntax OK ./Cassandane/Net/SMTPServer.pm syntax OK ./Cassandane/POP3MessageStore.pm syntax OK ./Cassandane/PortManager.pm syntax OK ./Cassandane/SequenceGenerator.pm syntax OK ./Cassandane/Service.pm syntax OK ./Cassandane/ServiceFactory.pm syntax OK ./Cassandane/Test/Address.pm syntax OK ./Cassandane/Test/Cassini.pm syntax OK ./Cassandane/Test/Clone.pm syntax OK ./Cassandane/Test/Config.pm syntax OK ./Cassandane/Test/Core.pm syntax OK ./Cassandane/Test/DateTime.pm syntax OK ./Cassandane/Test/Mboxname.pm syntax OK ./Cassandane/Test/Message.pm syntax OK ./Cassandane/Test/MessageStoreFactory.pm syntax OK ./Cassandane/Test/Metronome.pm syntax OK ./Cassandane/Test/Parameter.pm syntax OK ./Cassandane/Test/Sample.pm syntax OK ./Cassandane/Test/Skip.pm syntax OK ./Cassandane/ThreadedGenerator.pm syntax OK ./Cassandane/Unit/Runner.pm syntax OK ./Cassandane/Unit/RunnerPretty.pm syntax OK ./Cassandane/Unit/RunnerXML.pm syntax OK ./Cassandane/Unit/TestCase.pm syntax OK ./Cassandane/Unit/TestPlan.pm syntax OK ./Cassandane/Util/DateTime.pm syntax OK ./Cassandane/Util/Log.pm syntax OK ./Cassandane/Util/Metronome.pm syntax OK ./Cassandane/Util/NetString.pm syntax OK ./Cassandane/Util/SHA.pm syntax OK ./Cassandane/Util/Sample.pm syntax OK Can't locate User/pwent.pm in @INC (you may need to install the User::pwent module) (@INC contains: /usr/local/lib64/perl5/5.30 /usr/local/share/perl5/5.30 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Cassandane/Util/Setup.pm line 45. BEGIN failed--compilation aborted at ./Cassandane/Util/Setup.pm line 45. ./Cassandane/Util/Socket.pm syntax OK ./Cassandane/Util/Wait.pm syntax OK ./Cassandane/Util/Words.pm syntax OK ./Cyrus/CheckReplication.pm syntax OK ./Cyrus/DList.pm syntax OK ./Cyrus/IndexFile.pm syntax OK ./Net/XmtpServer.pm syntax OK make: *** [Makefile:49: all] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.a0JHLi (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.a0JHLi (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 riscv64 --nodeps /builddir/build/SPECS/cyrus-imapd.spec