Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/wesnoth.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.Cva8mz:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ed7d64be861f415889a4192e90faf613', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.Cva8mz:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/wesnoth.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: sh: /usr/bin/python: No such file or directory BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: i686 Building for target i686 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 i686 --nodeps /builddir/build/SPECS/wesnoth.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.Cva8mz:/etc/resolv.conf']shell=Falseuid=1001chrootPath='/var/lib/mock/centos-7-i386/root'gid=135user='mockbuild'env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}logger=unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '87ac65c64ca140919fedacdaafee1256', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.Cva8mz:/etc/resolv.conf', '--setenv=LANG=en_US.UTF-8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/wesnoth.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system BUILDSTDERR: Failed to create directory /var/lib/mock/centos-7-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U77cAG + 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 . + echo 'Patch #0 (wesnoth-1.2.8-gcc43.patch):' 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 + echo 'Patch #8 (wesnoth-1.12.2-CVE-2015-5069.patch):' 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). + echo 'Patch #9 (wesnoth-1.12.2-CVE-2015-5070.patch):' 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). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uUIdL0 + 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 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -j4 scons: Reading SConscript files ... Building Wesnoth version 1.12.6 Mkdir("build") BUILDSTDERR: AttributeError: 'module' object has no attribute 'config_checks': BUILDSTDERR: File "/builddir/build/BUILD/wesnoth-1.12.6/SConstruct", line 281: BUILDSTDERR: configure_args = dict(custom_tests = init_metasconf(env, ["cplusplus", "python_devel", "sdl", "boost", "pango", "pkgconfig", "gettext", "lua"]), config_h = "$build_dir/config.h", BUILDSTDERR: File "scons/metasconf.py", line 8: BUILDSTDERR: config_checks.update(module.config_checks) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.uUIdL0 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.uUIdL0 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 636, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # /usr/bin/systemd-nspawn -q -M 87ac65c64ca140919fedacdaafee1256 -D /var/lib/mock/centos-7-i386/root --capability=cap_ipc_lock --bind=/tmp/mock-resolv.Cva8mz:/etc/resolv.conf --setenv=LANG=en_US.UTF-8 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOSTNAME=mock --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=HOME=/builddir --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PS1= \s-\v\$ -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/wesnoth.spec