Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-577060-93843/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1788220800 warning: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy Wrote: /builddir/build/SRPMS/whois-5.6.6-1.an27.src.rpm RPM build warnings: %clamp_mtime_to_source_date_epoch is deprecated, please use %build_mtime_policy Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.spec'], chrootPath='/var/lib/mock/dist-an27-pre-build-577060-93843/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=989gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1788220800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.XTebrT Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rx45yp + umask 022 + cd /builddir/build/BUILD/whois-5.6.6-build ++ mktemp --tmpdir -d whois-XXXXXXX + export GNUPGHOME=/tmp/whois-3jkOtVy + GNUPGHOME=/tmp/whois-3jkOtVy + TMPKEY=/tmp/whois-3jkOtVy/keyring.key + gpg --no-default-keyring --keyring /tmp/whois-3jkOtVy/keyring.key --trust-model always --import /builddir/build/SOURCES/gpgkey-374D8CE4DB96E9CBD4C0972A606D084E4683C079.gpg gpg: keybox '/tmp/whois-3jkOtVy/keyring.key' created gpg: key 606D084E4683C079: public key "Debian tag2upload service (key 1) " imported gpg: error running '/usr/bin/gpg-agent': probably not installed gpg: failed to start gpg-agent '/usr/bin/gpg-agent': Configuration error gpg: can't connect to the gpg-agent: Configuration error gpg: Total number processed: 1 gpg: imported: 1 error: Bad exit status from /var/tmp/rpm-tmp.rx45yp (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.rx45yp (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.spec'\n", 1)] 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 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/whois.spec'