Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/livepatch-mgr.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-303436-66035/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/livepatch-mgr.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/livepatch-mgr-0.1.3-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/livepatch-mgr.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-303436-66035/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/livepatch-mgr.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.8CRokc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf livepatch-mgr-v0.1.3 + /usr/bin/tar -xof /builddir/build/SOURCES/livepatch-mgr-v0.1.3.tar.gz + cd livepatch-mgr-v0.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pathfix.py -pni '/usr/libexec/platform-python -s' . recursedown('.') recursedown('./man') recursedown('./src') + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZaSKgB + umask 022 + cd /builddir/build/BUILD + cd livepatch-mgr-v0.1.3 + make -C man make: Entering directory '/builddir/build/BUILD/livepatch-mgr-v0.1.3/man' gzip -c -9 livepatch-mgr.1 > livepatch-mgr.1.gz make: Leaving directory '/builddir/build/BUILD/livepatch-mgr-v0.1.3/man' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yBXKVX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch ++ dirname /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch + cd livepatch-mgr-v0.1.3 + mkdir -p /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/usr/bin/ + mkdir -p /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/etc/livepatch-mgr/ + make install PREFIX=/usr DESTDIR=/builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch -C man make: Entering directory '/builddir/build/BUILD/livepatch-mgr-v0.1.3/man' install -d /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/usr/share/man/man1 install -m 644 livepatch-mgr.1.gz /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/usr/share/man/man1 make: Leaving directory '/builddir/build/BUILD/livepatch-mgr-v0.1.3/man' + install -m 0755 src/config.ini /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/etc/livepatch-mgr/config.ini + install -m 0755 src/livepatch-mgr.py /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/etc/livepatch-mgr/livepatch-mgr + install -m 0755 src/livepatch_reminder.sh /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/etc/livepatch-mgr/livepatch_reminder.sh + /usr/lib/rpm/find-debuginfo.sh -j80 --strict-build-id -m -i --build-id-seed 0.1.3-1.an8 --unique-debug-suffix -0.1.3-1.an8.noarch --unique-debug-src-base livepatch-mgr-0.1.3-1.an8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/livepatch-mgr-v0.1.3 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/livepatch-mgr-0.1.3-1.an8.noarch/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/livepatch-mgr/config.ini is executable but has no shebang, removing executable bit *** ERROR: ambiguous python shebang in /etc/livepatch-mgr/livepatch-mgr: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. *** WARNING: Cannot read the first line from ./etc/livepatch-mgr/livepatch_reminder.sh, removing executable bit error: Bad exit status from /var/tmp/rpm-tmp.yBXKVX (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yBXKVX (%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/livepatch-mgr.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 598, 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 --noclean --target noarch --nodeps /builddir/build/SPECS/livepatch-mgr.spec