+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sks.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YwbFdI + 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 . + echo 'Patch #0 (sks-libdb5.3.patch):' Patch #0 (sks-libdb5.3.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file bdb/Makefile + echo 'Patch #1 (sks-build.patch):' Patch #1 (sks-build.patch): + /usr/bin/patch --no-backup-if-mismatch -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/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile.local.unused + echo 'Patch #3 (sks-Makefile.patch):' 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.Vof33K + 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 ++ 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 File "cryptokit.ml", line 16, characters 5-8: Error: Unbound module Nat make[1]: *** [Makefile:95: cryptokit.cmo] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/sks-1.1.6/cryptokit-1.7/src' make: *** [Makefile:293: cryptokit-1.7/src/cryptokit.cma] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Vof33K (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Vof33K (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff