+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/stud.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.c4EjHd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bumptech-stud-0b88039 + /usr/bin/gzip -dc /builddir/build/SOURCES/bumptech-stud-0.3-51-g0b88039.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd bumptech-stud-0b88039 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (stud-0.3-fix-libev-include-path.patch):' Patch #0 (stud-0.3-fix-libev-include-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1amqEh + umask 022 + cd /builddir/build/BUILD + cd bumptech-stud-0b88039 + make -j4 cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o stud.o stud.c cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o ringbuffer.o ringbuffer.c cc -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/include/libev -c -o configuration.o configuration.c stud.c: In function 'load_rsa_privatekey': stud.c:551:14: error: dereferencing pointer to incomplete type 'SSL_CTX {aka struct ssl_ctx_st}' ctx->default_passwd_callback, ctx->default_passwd_callback_userdata); ^~ stud.c: In function 'make_ctx': stud.c:602:17: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method() : TLSv1_server_method()); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from stud.c:56: /usr/include/openssl/ssl.h:1631:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ stud.c:602:17: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] TLSv1_client_method() : TLSv1_server_method()); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/ct.h:13:0, from /usr/include/openssl/ssl.h:61, from stud.c:56: /usr/include/openssl/ssl.h:1630:1: note: declared here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ ^ stud.c: In function 'init_openssl': stud.c:752:28: error: dereferencing pointer to incomplete type 'X509_NAME_ENTRY {aka struct X509_name_entry_st}' PUSH_CTX(x509_entry->value, ctx); ^ stud.c:709:64: note: in definition of macro 'PUSH_CTX' ASN1_STRING_to_UTF8((unsigned char **)&cl->servername, asn1_str); \ ^~~~~~~~ stud.c: In function 'end_handshake': stud.c:1062:16: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}' if (ps->ssl->s3) { ^~ make: *** [: stud.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.1amqEh (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1amqEh (%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