Mock Version: 1.4.11 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libdasm.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.P1DF3o:/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', '824c61d8e76c439a9768facfb488c841', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.P1DF3o:/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/libdasm.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/libdasm-1.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/libdasm.spec'], timeout=0nspawn_args=['--bind=/tmp/mock-resolv.P1DF3o:/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', 'ef07ac00781047488e4cc5cca28e2da4', '-D', '/var/lib/mock/centos-7-i386/root', '--bind=/tmp/mock-resolv.P1DF3o:/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/libdasm.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.YSl2Xe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libdasm-1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/libdasm-1.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libdasm-1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e 's|#!/usr/bin/env.*|#!/usr/bin/python2|;' pydasm/das.py + rm -rf bin + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qJjZFr + umask 022 + cd /builddir/build/BUILD + cd libdasm-1.6 + make -j4 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC' PREFIX=/usr LIBDIR=/usr/lib BINDIR=/usr/bin gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -c -o libdasm.o libdasm.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -shared -fPIC -Wl,-soname,libdasm.so.1 -o libdasm.so libdasm.c ar rc libdasm.a libdasm.o && ranlib libdasm.a make -C examples make[1]: Entering directory `/builddir/build/BUILD/libdasm-1.6/examples' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -c -o das.o das.c BUILDSTDERR: das.c: In function 'read_file': BUILDSTDERR: das.c:185:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] BUILDSTDERR: return (buf); BUILDSTDERR: ^ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -o das das.o -l dasm -L ../ gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -c -o simple.o simple.c gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -o simple simple.o -l dasm -L ../ make[1]: Leaving directory `/builddir/build/BUILD/libdasm-1.6/examples' make -C pydasm make[1]: Entering directory `/builddir/build/BUILD/libdasm-1.6/pydasm' BUILDSTDERR: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. python setup.py build running build running build_ext building 'pydasm' extension creating build creating build/temp.linux-i686-2.7 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -fPIC -I/usr/include/python2.7 -I/usr/include/python2.7 -c ../libdasm.c -o build/temp.linux-i686-2.7/../libdasm.o gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC -fPIC -I/usr/include/python2.7 -I/usr/include/python2.7 -c pydasm.c -o build/temp.linux-i686-2.7/pydasm.o creating build/lib.linux-i686-2.7 gcc -pthread -shared -Wl,-z,relro -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -fPIC build/temp.linux-i686-2.7/../libdasm.o build/temp.linux-i686-2.7/pydasm.o -L/usr/lib -lpython2.7 -o build/lib.linux-i686-2.7/pydasm.so make[1]: Leaving directory `/builddir/build/BUILD/libdasm-1.6/pydasm' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.f7Z2DK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 + cd libdasm-1.6 + make install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 PREFIX=/usr LIBDIR=/usr/lib BINDIR=/usr/bin install -p -D libdasm.so /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/libdasm.so.1.0 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/libdasm.so.1 ln -s "libdasm.so.1.0" /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/libdasm.so install -d /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/include install -m 644 -p libdasm.h /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/include/libdasm.h install -m 644 -p -D libdasm.a /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/libdasm.a make -C examples install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 make[1]: Entering directory `/builddir/build/BUILD/libdasm-1.6/examples' install -p -D das /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/bin/das make[1]: Leaving directory `/builddir/build/BUILD/libdasm-1.6/examples' make -C pydasm install DESTDIR=/builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 make[1]: Entering directory `/builddir/build/BUILD/libdasm-1.6/pydasm' python setup.py install --skip-build --root /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 running install running install_lib creating /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/python2.7 creating /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/python2.7/site-packages copying build/lib.linux-i686-2.7/pydasm.so -> /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/python2.7/site-packages running install_egg_info running egg_info creating pydasm.egg-info writing pydasm.egg-info/PKG-INFO writing top-level names to pydasm.egg-info/top_level.txt writing dependency_links to pydasm.egg-info/dependency_links.txt writing manifest file 'pydasm.egg-info/SOURCES.txt' reading manifest file 'pydasm.egg-info/SOURCES.txt' writing manifest file 'pydasm.egg-info/SOURCES.txt' Copying pydasm.egg-info to /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/lib/python2.7/site-packages/pydasm-1.5-py2.7.egg-info running install_scripts install -m 755 -p -D das.py /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386/usr/bin/das.py make[1]: Leaving directory `/builddir/build/BUILD/libdasm-1.6/pydasm' + find /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 -name '*.la' -exec rm -f '{}' ';' + find /builddir/build/BUILDROOT/libdasm-1.6-1.el7.i386 -name '*.a' -exec rm -f '{}' ';' + %ldconfig_scriptlets BUILDSTDERR: /var/tmp/rpm-tmp.f7Z2DK: line 40: fg: no job control RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.f7Z2DK (%install) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.f7Z2DK (%install) 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 634, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) Error: Command failed: # /usr/bin/systemd-nspawn -q -M ef07ac00781047488e4cc5cca28e2da4 -D /var/lib/mock/centos-7-i386/root --bind=/tmp/mock-resolv.P1DF3o:/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/libdasm.spec