Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/yamllint.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-d5607fe6b6609d58ba4fe10d4fe570b51d42b84d/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/yamllint.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/yamllint-1.4.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/yamllint.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-d5607fe6b6609d58ba4fe10d4fe570b51d42b84d/root'shell=Falseuid=996env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/yamllint.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.c38txN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yamllint-1.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/yamllint-1.4.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd yamllint-1.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-test-cli-Try-en_US.UTF-8-when-C.UTF-8-not-available.patch + /usr/bin/patch -s The text leading up to this was: -------------------------- |From 05274c99cc105eb3a6fa596d66f2801d09a75711 Mon Sep 17 00:00:00 2001 |From: =?UTF-8?q?Adrien=20Verg=C3=A9?= |Date: Mon, 19 Sep 2016 19:00:40 +0200 |Subject: [PATCH] test(cli): Try en_US.UTF-8 when C.UTF-8 not available | |--- | tests/test_cli.py | 5 ++++- | 1 file changed, 4 insertions(+), 1 deletion(-) | |diff --git a/tests/test_cli.py b/tests/test_cli.py |index da139a8..8338963 100644 |--- a/tests/test_cli.py |+++ b/tests/test_cli.py -------------------------- File to patch: Skip this patch? [y] 1 out of 1 hunk ignored RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.c38txN (%prep) Bad exit status from /var/tmp/rpm-tmp.c38txN (%prep) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/yamllint.spec