Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/imapsync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1658834509.736914/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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', '162b34bf13df4cd0a67c018cec45c552', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1658834509.736914/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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', '--console=pipe', '--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 x86_64 --nodeps /builddir/build/SPECS/imapsync.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644192000 Wrote: /builddir/build/SRPMS/imapsync-2.140-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/imapsync.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1658834509.736914/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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', '950dc8d741ec41979d8dca8fa6f58b0b', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1658834509.736914/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.n2saje30:/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', '--console=pipe', '--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 x86_64 --nodeps /builddir/build/SPECS/imapsync.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', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1644192000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZziChw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf imapsync-imapsync-2.140 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/2.140.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imapsync-imapsync-2.140 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (makefile.patch): + echo 'Patch #0 (makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7zFexy + umask 022 + cd /builddir/build/BUILD + cd imapsync-imapsync-2.140 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NohnpQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 + cd imapsync-imapsync-2.140 + rm -rf /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/W + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 make: hostname: No such file or directory /bin/sh: line 1: lsb_release: command not found /bin/sh: line 1: lsb_release: command not found /bin/sh: line 1: lsb_release: command not found sh INSTALL.d/prerequisites_imapsync $SHELL says /bin/bash $0 gives INSTALL.d/prerequisites_imapsync ps -ef gives mockbui+ 58 42 0 11:22 ? 00:00:00 sh INSTALL.d/prerequisites_imapsync Linux 950dc8d741ec41979d8dca8fa6f58b0b 5.17.7-200.fc35.x86_64 #1 SMP PREEMPT Thu May 12 14:56:48 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux Ok: Found Perl 5.32.1 make[1]: Entering directory '/builddir/build/BUILD/imapsync-imapsync-2.140' make[1]: Nothing to be done for 'foo'. make[1]: Leaving directory '/builddir/build/BUILD/imapsync-imapsync-2.140' Ok: Found make GNU Make 4.3 Ok: Found Perl module App::cpanminus Ok: Found Perl module Authen::NTLM Ok: Found Perl module CGI Ok: Found Perl module Compress::Zlib Ok: Found Perl module Crypt::OpenSSL::RSA Ok: Found Perl module Data::Dumper Ok: Found Perl module Data::Uniqid Ok: Found Perl module Digest::HMAC Ok: Found Perl module Digest::HMAC_MD5 Ok: Found Perl module Digest::MD5 Ok: Found Perl module Dist::CheckConflicts Ok: Found Perl module Encode Ok: Found Perl module Encode::Byte Ok: Found Perl module Encode::IMAPUTF7 Ok: Found Perl module File::Copy::Recursive Ok: Found Perl module File::Tail Ok: Found Perl module IO::Socket::INET Ok: Found Perl module IO::Socket::INET6 Ok: Found Perl module IO::Socket::SSL Ok: Found Perl module IO::Tee Ok: Found Perl module JSON Ok: Found Perl module JSON::WebToken Ok: Found Perl module JSON::WebToken::Crypt::RSA Ok: Found Perl module HTML::Entities Ok: Found Perl module LWP::UserAgent Ok: Found Perl module Mail::IMAPClient Ok: Found Perl module MIME::Base64 Ok: Found Perl module Module::Implementation Ok: Found Perl module Module::Runtime Ok: Found Perl module Module::ScanDeps Ok: Found Perl module Net::SSLeay Ok: Found Perl module Package::Stash Ok: Found Perl module Package::Stash::XS Ok: Found Perl module PAR::Packer Ok: Found Perl module Parse::RecDescent Ok: Found Perl module Pod::Usage Ok: Found Perl module Readonly Ok: Found Perl module Regexp::Common Ok: Found Perl module Sys::MemInfo Ok: Found Perl module Term::ReadKey Ok: Found Perl module Test::Fatal Ok: Found Perl module Test::Mock::Guard Ok: Found Perl module Test::MockObject Ok: Found Perl module Test::More Ok: Found Perl module Test::Pod Ok: Found Perl module Test::Requires Ok: Found Perl module Test::Deep Ok: Found Perl module Text::ParseWords Ok: Found Perl module Try::Tiny Ok: Found Perl module Unicode::String Ok: Found Perl module URI::Escape All needed modules are already installed Ok: Found cpanm cpanm (App::cpanminus) version 1.7044 (/usr/bin/cpanm) imapsync syntax OK mkdir W pod2man imapsync > W/imapsync.1 mkdir -p /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/bin install imapsync /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/bin/imapsync chmod 755 /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/bin/imapsync mkdir -p /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/man/man1 install W/imapsync.1 /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/man/man1/imapsync.1 chmod 644 /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/man/man1/imapsync.1 + iconv -f iso-8859-1 -t utf-8 -o ChangeLog.utf8 ChangeLog + /usr/bin/mv ChangeLog.utf8 ChangeLog + iconv -f iso-8859-1 -t utf-8 -o TODO.utf8 TODO + /usr/bin/mv TODO.utf8 TODO + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 2.140-2.el9 --unique-debug-suffix -2.140-2.el9.x86_64 --unique-debug-src-base imapsync-2.140-2.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/imapsync-imapsync-2.140 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/imapsync from /usr/bin/env perl to #!/usr/bin/perl Processing files: imapsync-2.140-2.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3WYAUh + umask 022 + cd /builddir/build/BUILD + cd imapsync-imapsync-2.140 + DOCDIR=/builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr ChangeLog /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr CREDITS /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr INSTALL /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr INSTALL.d /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr TODO /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr README /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr FAQ /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr FAQ.d /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr LICENSE /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + cp -pr NOLIMIT /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64/usr/share/doc/imapsync + RPM_EC=0 ++ jobs -p + exit 0 Provides: imapsync = 2.140-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/perl Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 Wrote: /builddir/build/RPMS/imapsync-2.140-2.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w8z0Ww + umask 022 + cd /builddir/build/BUILD + cd imapsync-imapsync-2.140 + /usr/bin/rm -rf /builddir/build/BUILDROOT/imapsync-2.140-2.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0