Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sks.spec'], chrootPath='/var/lib/mock/f29-build-31201-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/sks-1.1.6-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sks.spec'], chrootPath='/var/lib/mock/f29-build-31201-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sks.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uaoWgG + 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 -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sks-1.1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (sks-libdb5.3.patch): + echo 'Patch #0 (sks-libdb5.3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bdb/Makefile Patch #1 (sks-build.patch): + echo 'Patch #1 (sks-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file sks_build.sh Patch #2 (sks-libdb5.3-2.patch): + echo 'Patch #2 (sks-libdb5.3-2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.local.unused Patch #3 (sks-Makefile.patch): + echo 'Patch #3 (sks-Makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -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.bla8vG + 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." rijndael-alg-fst.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-aes.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." d3des.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-des.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." arcfour.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-arcfour.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." sha1.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-sha1.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." sha256.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-sha256.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." ripemd160.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-ripemd160.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." blowfish.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-blowfish.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." keccak.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-sha3.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-md5.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-zlib.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-misc.c ocamlc -g -c -ccopt "-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/ocaml -I ." stubs-rng.c ocamlmklib -o cryptokit rijndael-alg-fst.o stubs-aes.o d3des.o stubs-des.o arcfour.o stubs-arcfour.o sha1.o stubs-sha1.o sha256.o stubs-sha256.o ripemd160.o stubs-ripemd160.o blowfish.o stubs-blowfish.o keccak.o stubs-sha3.o stubs-md5.o stubs-zlib.o stubs-misc.o stubs-rng.o -L/usr/lib -lz ocamlc -g -c cryptokit.mli ocamlc -g -c cryptokit.ml BUILDSTDERR: File "cryptokit.ml", line 16, characters 5-8: BUILDSTDERR: Error: Unbound module Nat BUILDSTDERR: make[1]: *** [Makefile:95: cryptokit.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/sks-1.1.6/cryptokit-1.7/src' BUILDSTDERR: make: *** [Makefile:293: cryptokit-1.7/src/cryptokit.cma] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.bla8vG (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.bla8vG (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sks.spec