+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tss2.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.EHhKQq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tss2-713 + /usr/bin/mkdir -p tss2-713 + cd tss2-713 + /usr/bin/gzip -dc /builddir/build/SOURCES/ibmtss713withman.tar + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yYmVWS + umask 022 + cd /builddir/build/BUILD + cd tss2-713 + pushd utils ~/build/BUILD/tss2-713/utils ~/build/BUILD/tss2-713 + CCFLAGS='-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 ' + LNFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -f makefile.fedora -j4 /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tss.c /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tssproperties.c /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tssmarshal.c /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tssauth.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from tss.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from tssmarshal.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from tssauth.c:42: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdlib.h:25, from tssproperties.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tsscrypto.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/string.h:26, from tsscrypto.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tssutils.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from tssutils.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ /usr/bin/gcc -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 -DTPM_POSIX -Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -ggdb -O0 -c -DTPM_BITFIELD_LE -DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\"" -I. -I../src -fPIC tsssocket.c In file included from /usr/include/bits/libc-header-start.h:33:0, from /usr/include/stdio.h:27, from tsssocket.c:40: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^~~~~~~ tsscrypto.c: In function 'TSS_HMAC_Generate_valist': tsscrypto.c:184:16: error: storage size of 'ctx' isn't known HMAC_CTX ctx; ^~~ tsscrypto.c:188:5: warning: implicit declaration of function 'HMAC_CTX_init'; did you mean 'HMAC_CTX_new'? [-Wimplicit-function-declaration] HMAC_CTX_init(&ctx); ^~~~~~~~~~~~~ HMAC_CTX_new tsscrypto.c:188:5: warning: nested extern declaration of 'HMAC_CTX_init' [-Wnested-externs] tsscrypto.c:228:5: warning: implicit declaration of function 'HMAC_CTX_cleanup'; did you mean 'HMAC_CTX_get_md'? [-Wimplicit-function-declaration] HMAC_CTX_cleanup(&ctx); ^~~~~~~~~~~~~~~~ HMAC_CTX_get_md tsscrypto.c:228:5: warning: nested extern declaration of 'HMAC_CTX_cleanup' [-Wnested-externs] tsscrypto.c:184:16: warning: unused variable 'ctx' [-Wunused-variable] HMAC_CTX ctx; ^~~ tsscrypto.c: In function 'TSS_RSAGeneratePublicToken': tsscrypto.c:666:23: error: dereferencing pointer to incomplete type 'RSA {aka struct rsa_st}' (*rsa_pub_key)->n = n; ^~ make: *** [makefile.fedora:151: tsscrypto.o] Error 1 make: *** Waiting for unfinished jobs.... error: Bad exit status from /var/tmp/rpm-tmp.yYmVWS (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yYmVWS (%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