+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/sscep.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.cNjJj1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sscep-68e354abdba0db1d910e53e097bf58564d8778b6 + /usr/bin/gzip -dc /builddir/build/SOURCES/sscep-68e354abdba0db1d910e53e097bf58564d8778b6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd sscep-68e354abdba0db1d910e53e097bf58564d8778b6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Eqp9JF + umask 022 + cd /builddir/build/BUILD + cd sscep-68e354abdba0db1d910e53e097bf58564d8778b6 + make gcc -Wall -O -I /usr/lib//include -c -o sscep.o sscep.c In file included from sscep.h:64:0, from sscep.c:11: /usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." #error "This file is obsolete; please update your software." ^~~~~ sscep.c: In function 'main': sscep.c:612:27: warning: passing argument 2 of 'PEM_write_X509' from incompatible pointer type [-Wincompatible-pointer-types] if (PEM_write_X509(fp, c_char) != 1) { ^~~~~~ In file included from sscep.h:60:0, from sscep.c:11: /usr/include/openssl/pem.h:331:1: note: expected 'X509 * {aka struct x509_st *}' but argument is of type 'char *' DECLARE_PEM_rw(X509, X509) ^ sscep.c:688:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] scep_t.reply_payload = reply.payload; ^ sscep.c:79:8: warning: variable 'p7' set but not used [-Wunused-but-set-variable] PKCS7 p7; ^~ make: *** [: sscep.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.Eqp9JF (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Eqp9JF (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff