Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-freeipa.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-404592-72436/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-freeipa.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/ansible-freeipa-1.13.2-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-freeipa.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-404592-72436/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-freeipa.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mS3dLD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ansible-freeipa-1.13.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/ansible-freeipa-1.13.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ansible-freeipa-1.13.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GIjDUf + umask 022 + cd /builddir/build/BUILD + cd ansible-freeipa-1.13.2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ErYrSq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch ++ dirname /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch + cd ansible-freeipa-1.13.2 + install -m 755 -d /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipaserver /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipaserver/README.md README-server.md + cp -rp roles/ipareplica /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipareplica/README.md README-replica.md + cp -rp roles/ipaclient /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipaclient/README.md README-client.md + cp -rp roles/ipabackup /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipabackup/README.md README-backup.md + cp -rp roles/ipasmartcard_server /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipasmartcard_server/README.md README-smartcard_server.md + cp -rp roles/ipasmartcard_client /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/roles/ + cp -rp roles/ipasmartcard_client/README.md README-smartcard_client.md + install -m 755 -d /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/plugins/ + cp -rp plugins/doc_fragments plugins/inventory plugins/module_utils plugins/modules /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/plugins/ + install -m 755 -d /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible-freeipa + cp requirements-dev.txt requirements-tests.txt requirements.txt /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible-freeipa/ + cp -rp utils /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible-freeipa/ + install -m 755 -d /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible-freeipa/tests + cp -rp tests /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible-freeipa/ + utils/build-galaxy-release.sh -o 1.13.2 -p /builddir/build/BUILDROOT/ansible-freeipa-1.13.2-1.0.1.an8.noarch/usr/share/ansible/collections/ansible_collections/.. freeipa ansible_freeipa Building collection: freeipa-ansible_freeipa-1.13.2 Copying files to build dir .galaxy-build ... Copying files to build dir .galaxy-build ... DONE utils/build-galaxy-release.sh: line 141: python: command not found error: Bad exit status from /var/tmp/rpm-tmp.ErYrSq (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ErYrSq (%install) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ansible-freeipa.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 612, 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 noarch --nodeps /builddir/build/SPECS/ansible-freeipa.spec'