Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/sks.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rLoms3:/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', 'a174de4bcc7143248a19cd9303aea843', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rLoms3:/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/sks.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 Wrote: /builddir/build/SRPMS/sks-1.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/sks.spec'], timeout=0nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rLoms3:/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', 'f18ad965e90742658ba21a69e23a1604', '-D', '/var/lib/mock/centos-7-i386/root', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rLoms3:/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/sks.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.ORU0vz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sks-1.1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/sks-1.1.6.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sks-1.1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sks-libdb5.3.patch):' Patch #0 (sks-libdb5.3.patch): + /usr/bin/cat /builddir/build/SOURCES/sks-libdb5.3.patch + /usr/bin/patch -p1 --fuzz=0 patching file bdb/Makefile + echo 'Patch #1 (sks-build.patch):' Patch #1 (sks-build.patch): + /usr/bin/cat /builddir/build/SOURCES/sks-build.patch + /usr/bin/patch -p1 --fuzz=0 patching file sks_build.sh + echo 'Patch #2 (sks-libdb5.3-2.patch):' Patch #2 (sks-libdb5.3-2.patch): + /usr/bin/cat /builddir/build/SOURCES/sks-libdb5.3-2.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile.local.unused + echo 'Patch #3 (sks-Makefile.patch):' Patch #3 (sks-Makefile.patch): + /usr/bin/cat /builddir/build/SOURCES/sks-Makefile.patch + /usr/bin/patch -p1 --fuzz=0 patching file Makefile Hunk #1 succeeded at 287 (offset 2 lines). + cp /builddir/build/SOURCES/cryptokit-1.7-sks-uint32.patch . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tFvOR5 + umask 022 + cd /builddir/build/BUILD + cd sks-1.1.6 + mv Makefile.local.unused Makefile.local + make dep ocamldep -pp camlp4o *.mli *.ml > .depend BUILDSTDERR: ++ ocamlc -where + make 'CFLAGS=-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 -I/usr/lib/ocaml -I .' all tar xmvfz cryptokit-1.7.tar.gz cryptokit-1.7/ cryptokit-1.7/Changes cryptokit-1.7/src/ cryptokit-1.7/src/stubs-sha256.c cryptokit-1.7/src/blowfish.h cryptokit-1.7/src/META cryptokit-1.7/src/stubs-sha1.c cryptokit-1.7/src/arcfour.h cryptokit-1.7/src/stubs-sha3.c cryptokit-1.7/src/stubs-des.c cryptokit-1.7/src/sha1.h cryptokit-1.7/src/stubs-misc.c cryptokit-1.7/src/stubs-rng.c cryptokit-1.7/src/api-cryptokit.odocl cryptokit-1.7/src/keccak.h cryptokit-1.7/src/cryptokit.ml cryptokit-1.7/src/.depend cryptokit-1.7/src/sha1.c cryptokit-1.7/src/cryptokit.mllib cryptokit-1.7/src/rijndael-alg-fst.c cryptokit-1.7/src/stubs-md5.c cryptokit-1.7/src/arcfour.c cryptokit-1.7/src/stubs-ripemd160.c cryptokit-1.7/src/stubs-arcfour.c cryptokit-1.7/src/stubs-aes.c cryptokit-1.7/src/ripemd160.c cryptokit-1.7/src/sha256.c cryptokit-1.7/src/d3des.c cryptokit-1.7/src/cryptokit.mli cryptokit-1.7/src/stubs-blowfish.c cryptokit-1.7/src/sha256.h cryptokit-1.7/src/keccak.c cryptokit-1.7/src/rijndael-alg-fst.h cryptokit-1.7/src/blowfish.c cryptokit-1.7/src/libcryptokit_stubs.clib cryptokit-1.7/src/ripemd160.h cryptokit-1.7/src/d3des.h cryptokit-1.7/src/stubs-zlib.c cryptokit-1.7/INSTALL.txt cryptokit-1.7/README.txt cryptokit-1.7/AUTHORS.txt cryptokit-1.7/_oasis cryptokit-1.7/_tags cryptokit-1.7/LICENSE.txt cryptokit-1.7/configure cryptokit-1.7/ci-main.lua cryptokit-1.7/test/ cryptokit-1.7/test/speedtest.ml cryptokit-1.7/test/.depend cryptokit-1.7/test/test.ml cryptokit-1.7/myocamlbuild.ml cryptokit-1.7/setup.ml cryptokit-1.7/bootstrap.lua cryptokit-1.7/Makefile patch -p 0 < cryptokit-1.7-sks.patch patching file cryptokit-1.7/README.sks patching file cryptokit-1.7/src/Makefile patching file cryptokit-1.7/src/cryptokit.ml patch -p 0 < cryptokit-1.7-sks-custom_compare.patch patching file cryptokit-1.7/src/stubs-sha3.c patch -p 0 < cryptokit-1.7-sks-uint32.patch patching file cryptokit-1.7/src/stubs-md5.c cd cryptokit-1.7/src && make all make[1]: Entering directory `/builddir/build/BUILD/sks-1.1.6/cryptokit-1.7/src' ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." rijndael-alg-fst.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-aes.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." d3des.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-des.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." arcfour.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-arcfour.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." sha1.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-sha1.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." sha256.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-sha256.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." ripemd160.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-ripemd160.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." blowfish.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-blowfish.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." keccak.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-sha3.c ocamlc -g -c -ccopt "-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 -I/usr/lib/ocaml -I ." stubs-md5.c BUILDSTDERR: stubs-md5.c:22:9: error: unknown type name 'uint32' BUILDSTDERR: uint32 buf[4]; BUILDSTDERR: ^ BUILDSTDERR: stubs-md5.c:23:9: error: unknown type name 'uint32' BUILDSTDERR: uint32 bits[2]; BUILDSTDERR: ^ BUILDSTDERR: make[1]: *** [stubs-md5.o] Error 2 make[1]: Leaving directory `/builddir/build/BUILD/sks-1.1.6/cryptokit-1.7/src' BUILDSTDERR: make: *** [cryptokit-1.7/src/cryptokit.cma] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.tFvOR5 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.tFvOR5 (%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 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 f18ad965e90742658ba21a69e23a1604 -D /var/lib/mock/centos-7-i386/root --capability=cap_ipc_lock --bind=/tmp/mock-resolv.rLoms3:/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/sks.spec