Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/wesnoth.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-2aff822bce6f0fb3fb8528fbf5b765978e196593/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=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/wesnoth.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 sh: /usr/bin/python: No such file or directory sh: /usr/bin/python: No such file or directory Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/wesnoth-1.12.6-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/wesnoth.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-2aff822bce6f0fb3fb8528fbf5b765978e196593/root'shell=Falseuid=995env={'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 armv7hl --nodeps /builddir/build/SPECS/wesnoth.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: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Wpf534 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wesnoth-1.12.6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/wesnoth-1.12.6.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd wesnoth-1.12.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (wesnoth-1.2.8-gcc43.patch): + echo 'Patch #0 (wesnoth-1.2.8-gcc43.patch):' + /usr/bin/cat /builddir/build/SOURCES/wesnoth-1.2.8-gcc43.patch + /usr/bin/patch -p1 -b --suffix .gcc43 --fuzz=0 patching file src/server/game.cpp Patch #8 (wesnoth-1.12.2-CVE-2015-5069.patch): + echo 'Patch #8 (wesnoth-1.12.2-CVE-2015-5069.patch):' + /usr/bin/cat /builddir/build/SOURCES/wesnoth-1.12.2-CVE-2015-5069.patch + /usr/bin/patch -p0 --fuzz=0 patching file src/filesystem.cpp Hunk #1 succeeded at 1034 (offset 9 lines). patching file src/filesystem_boost.cpp Hunk #1 succeeded at 988 (offset 12 lines). Patch #9 (wesnoth-1.12.2-CVE-2015-5070.patch): + echo 'Patch #9 (wesnoth-1.12.2-CVE-2015-5070.patch):' + /usr/bin/cat /builddir/build/SOURCES/wesnoth-1.12.2-CVE-2015-5070.patch + /usr/bin/patch -p0 --fuzz=0 patching file src/filesystem.cpp Hunk #1 succeeded at 1034 (offset 9 lines). patching file src/filesystem_boost.cpp Hunk #1 succeeded at 988 (offset 12 lines). Patch #1000 (wesnoth-1.12.6-fix-boost.patch): + echo 'Patch #1000 (wesnoth-1.12.6-fix-boost.patch):' + /usr/bin/cat /builddir/build/SOURCES/wesnoth-1.12.6-fix-boost.patch + /usr/bin/patch -p1 --fuzz=0 patching file scons/metasconf.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4weLVw + umask 022 + cd /builddir/build/BUILD + cd wesnoth-1.12.6 + scons wesnoth exploder cutter wesnothd campaignd prefix=/usr bindir=/usr/bin libdir=/usr/lib localedirname=locale python_site_packages_dir=/usr/lib/python2.7/site-packages/wesnoth 'extra_flags_release=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 scons: Reading SConscript files ... Building Wesnoth version 1.12.6 Mkdir("build") Module:cplusplus Module:python_devel Module:sdl Module:boost Module:pango Module:pkgconfig Module:gettext AttributeError: 'module' object has no attribute 'config_checks': File "/builddir/build/BUILD/wesnoth-1.12.6/SConstruct", line 281: configure_args = dict(custom_tests = init_metasconf(env, ["cplusplus", "python_devel", "sdl", "boost", "pango", "pkgconfig", "gettext", "lua"]), config_h = "$build_dir/config.h", File "scons/metasconf.py", line 9: config_checks.update(module.config_checks) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.4weLVw (%build) Bad exit status from /var/tmp/rpm-tmp.4weLVw (%build) 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 armv7hl --nodeps /builddir/build/SPECS/wesnoth.spec