+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/tlsdate.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.nh8Zyg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tlsdate-tlsdate-0.0.13 + /usr/bin/gzip -dc /builddir/build/SOURCES/tlsdate-0.0.13.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd tlsdate-tlsdate-0.0.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tlsdate-add-secondary-archs.patch):' Patch #0 (tlsdate-add-secondary-archs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/seccomp.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5xqKg9 + umask 022 + cd /builddir/build/BUILD + cd tlsdate-tlsdate-0.0.13 + export 'LDFLAGS=-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LDFLAGS='-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export '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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security' + 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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security' + WARNINGS=all,error + autoreconf --install --verbose --force autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: creating directory config autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:7: installing 'config/compile' configure.ac:5: installing 'config/config.guess' configure.ac:5: installing 'config/config.sub' configure.ac:9: installing 'config/install-sh' configure.ac:9: installing 'config/missing' Makefile.am: installing 'config/depcomp' parallel-tests: installing 'config/test-driver' autoreconf: Leaving directory `.' + 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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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/gfortran/modules' + export FFLAGS + FCFLAGS='-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/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro,-z,now -pie -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/tlsdate-0.0.13 --with-unpriv-group=tlsdated --with-unpriv-user=tlsdated --with-dbus-group=nobody --disable-silent-rules configure: WARNING: unrecognized options: --with-dbus-group checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking whether make supports nested variables... (cached) yes checking for $COMPILE_DATE in the environment... ...no $COMPILE_DATE found in our build environment. Generating now... ...$COMPILE_DATE is set to: 1522317763 checking PolarSSL... checking whether C compiler accepts ... yes checking for ssl_init in -lpolarssl... no checking whether C compiler accepts -I/include... yes checking for ssl_init in -lpolarssl... (cached) no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/bio.h usability... yes checking openssl/bio.h presence... yes checking for openssl/bio.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking openssl/evp.h usability... yes checking openssl/evp.h presence... yes checking for openssl/evp.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking linux/rtc.h usability... yes checking linux/rtc.h presence... yes checking for linux/rtc.h... yes checking for struct rtc_time... yes checking for strchrnul... yes checking for strnlen... yes checking for gettimeofday... yes checking for prctl... yes checking for preadv... yes checking for pwritev... yes checking for setresuid... yes checking for fmemopen... yes checking for funopen... no checking for clock_gettime... yes checking user/group to drop privs to... tlsdated:tlsdated checking group to allow DBus calls from... root checking for clock_gettime... (cached) yes checking for LIBEVENT... yes checking kernel for seccomp_filter support... no checking for CrOS-specific platform wake event support... no checking whether the linker accepts ... yes checking whether C compiler accepts -g... yes checking whether C compiler accepts -O1... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes checking whether C compiler accepts -fstack-protector-all... yes checking whether C compiler accepts -fwrapv... yes checking whether C compiler accepts -fPIE... yes checking whether C compiler accepts -Wstack-protector... yes checking whether C compiler accepts --param=ssp-buffer-size=1... yes checking whether the linker accepts -z relro -z now... yes checking whether the linker accepts -pie... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating dbus/org.torproject.tlsdate.conf config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-dbus-group + for f in ./man/tlsdate.1 ./src/tlsdate.h + sed -i s/www.ptb.de/fedoraproject.org/g ./man/tlsdate.1 + for f in ./man/tlsdate.1 ./src/tlsdate.h + sed -i s/www.ptb.de/fedoraproject.org/g ./src/tlsdate.h + sed -i 's/PACKAGE_BUGREPORT = .*$/PACKAGE_BUGREPORT = tlsdate@fedoraproject.org/' Makefile + sed -i 's:certdir = .*$:certdir = /etc/pki/tls/certs:' Makefile + sed -i 's:cert_DATA = .*$:cert_DATA = /etc/pki/tls/certs/ca-bundle.trust.crt:' Makefile + /usr/bin/make -j4 Making src/configmake.h /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/tlsdate-tlsdate-0.0.13' gcc -DHAVE_CONFIG_H -I. -I/include "-D__STDC_LIMIT_MACROS" -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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security -I/include -O1 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -Wstack-protector --param=ssp-buffer-size=1 -c -o src/proxy-bio.o src/proxy-bio.c gcc -DHAVE_CONFIG_H -I. -I/include "-D__STDC_LIMIT_MACROS" -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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security -I/include -O1 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -Wstack-protector --param=ssp-buffer-size=1 -c -o src/proxy-bio-unittest.o src/proxy-bio-unittest.c gcc -DHAVE_CONFIG_H -I. -I/include "-D__STDC_LIMIT_MACROS" -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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security -I/include -O1 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -Wstack-protector --param=ssp-buffer-size=1 -c -o src/test-bio.o src/test-bio.c gcc -DHAVE_CONFIG_H -I. -I/include "-D__STDC_LIMIT_MACROS" -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 -fPIE -pie -Wextra -Wformat-nonliteral -Wformat-security -I/include -O1 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -Wstack-protector --param=ssp-buffer-size=1 -c -o src/util.o src/util.c src/test-bio.c: In function 'bio_ctx': src/test-bio.c:37:27: error: dereferencing pointer to incomplete type 'BIO {aka struct bio_st}' struct test_ctx *ctx = b->ptr; ^~ src/test-bio.c: In function 'test_ctrl': src/test-bio.c:107:22: warning: unused parameter 'b' [-Wunused-parameter] long test_ctrl (BIO *b, int cmd, long num, void *ptr) ^ src/test-bio.c:107:29: warning: unused parameter 'cmd' [-Wunused-parameter] long test_ctrl (BIO *b, int cmd, long num, void *ptr) ^~~ src/test-bio.c:107:39: warning: unused parameter 'num' [-Wunused-parameter] long test_ctrl (BIO *b, int cmd, long num, void *ptr) ^~~ src/test-bio.c:107:50: warning: unused parameter 'ptr' [-Wunused-parameter] long test_ctrl (BIO *b, int cmd, long num, void *ptr) ^~~ src/test-bio.c: In function 'test_callback_ctrl': src/test-bio.c:112:31: warning: unused parameter 'b' [-Wunused-parameter] long test_callback_ctrl (BIO *b, int cmd, bio_info_cb *fp) ^ src/test-bio.c:112:38: warning: unused parameter 'cmd' [-Wunused-parameter] long test_callback_ctrl (BIO *b, int cmd, bio_info_cb *fp) ^~~ src/test-bio.c:112:56: warning: unused parameter 'fp' [-Wunused-parameter] long test_callback_ctrl (BIO *b, int cmd, bio_info_cb *fp) ^~ src/test-bio.c: At top level: src/test-bio.c:117:1: error: variable 'test_methods' has initializer but incomplete type BIO_METHOD test_methods = ^~~~~~~~~~ src/test-bio.c:119:3: warning: excess elements in struct initializer BIO_TYPE_SOCKET, ^~~~~~~~~~~~~~~ src/test-bio.c:119:3: note: (near initialization for 'test_methods') src/test-bio.c:120:3: warning: excess elements in struct initializer "test", ^~~~~~ src/test-bio.c:120:3: note: (near initialization for 'test_methods') src/test-bio.c:121:3: warning: excess elements in struct initializer test_write, ^~~~~~~~~~ src/test-bio.c:121:3: note: (near initialization for 'test_methods') src/test-bio.c:122:3: warning: excess elements in struct initializer test_read, ^~~~~~~~~ src/test-bio.c:122:3: note: (near initialization for 'test_methods') src/test-bio.c:123:3: warning: excess elements in struct initializer NULL, ^~~~ src/test-bio.c:123:3: note: (near initialization for 'test_methods') src/test-bio.c:124:3: warning: excess elements in struct initializer NULL, ^~~~ src/test-bio.c:124:3: note: (near initialization for 'test_methods') src/test-bio.c:125:3: warning: excess elements in struct initializer test_ctrl, ^~~~~~~~~ src/test-bio.c:125:3: note: (near initialization for 'test_methods') src/test-bio.c:126:3: warning: excess elements in struct initializer test_new, ^~~~~~~~ src/test-bio.c:126:3: note: (near initialization for 'test_methods') src/test-bio.c:127:3: warning: excess elements in struct initializer test_free, ^~~~~~~~~ src/test-bio.c:127:3: note: (near initialization for 'test_methods') src/test-bio.c:128:3: warning: excess elements in struct initializer test_callback_ctrl, ^~~~~~~~~~~~~~~~~~ src/test-bio.c:128:3: note: (near initialization for 'test_methods') src/test-bio.c:117:12: error: storage size of 'test_methods' isn't known BIO_METHOD test_methods = ^~~~~~~~~~~~ make[1]: *** [Makefile:1964: src/test-bio.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from src/proxy-bio-unittest.c:14:0: src/proxy-bio-unittest.c: In function 'test_bio_socks4a_success': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:131:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/proxy-bio-unittest.c: In function 'test_bio_socks4a_fail': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:151:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/proxy-bio-unittest.c: In function 'test_bio_socks5_success': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:204:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/util.c: In function 'no_new_privs': src/util.c:125:54: warning: suggest braces around empty body in an 'if' statement [-Wempty-body] if (0 != prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); ^ src/util.c:125:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (0 != prctl (PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); ^~ src/util.c:126:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' die ("Failed to PR_SET_NO_NEW_PRIVS"); ^~~ src/proxy-bio-unittest.c: In function 'test_bio_socks5_auth_fail': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:220:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/proxy-bio-unittest.c: In function 'test_bio_socks5_connect_fail': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:245:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/util.c: In function 'file_write': src/proxy-bio.c: In function 'proxy_new': src/proxy-bio.c:53:4: error: dereferencing pointer to incomplete type 'BIO {aka struct bio_st}' b->init = 1; ^~ src/util.c:294:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != sz) ^~ src/util.c: In function 'file_read': src/util.c:335:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (preadv (fd, iov, 1, 0) != sz) ^~ src/proxy-bio-unittest.c: In function 'test_bio_http_success': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:268:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/util.c: In function 'trigger_event': src/util.c:397:30: warning: unused parameter 'state' [-Wunused-parameter] trigger_event (struct state *state, enum event_id_t id, int sec) ^~~~~ src/util.c:397:53: warning: unused parameter 'id' [-Wunused-parameter] trigger_event (struct state *state, enum event_id_t id, int sec) ^~ src/util.c:397:61: warning: unused parameter 'sec' [-Wunused-parameter] trigger_event (struct state *state, enum event_id_t id, int sec) ^~~ src/proxy-bio-unittest.c: In function 'test_bio_http_error': ./src/test_harness.h:297:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] __EXPECT(_expected, _seen, ==, 0) ^ ./src/test_harness.h:334:15: note: in definition of macro '__EXPECT' if (!(__exp _t __seen)) { \ ^~ ./src/test_harness.h:55:21: note: in expansion of macro '_EXPECT_EQ' #define TEST_API(x) _##x ^ ./src/test_harness.h:149:19: note: in expansion of macro 'TEST_API' #define EXPECT_EQ TEST_API(EXPECT_EQ) ^~~~~~~~ src/proxy-bio-unittest.c:289:3: note: in expansion of macro 'EXPECT_EQ' EXPECT_EQ (0, BIO_test_output_left (self->test)); ^~~~~~~~~ src/proxy-bio.c: At top level: src/proxy-bio.c:377:1: error: variable 'proxy_methods' has initializer but incomplete type BIO_METHOD proxy_methods = ^~~~~~~~~~ src/proxy-bio.c:379:3: warning: excess elements in struct initializer BIO_TYPE_MEM, ^~~~~~~~~~~~ src/proxy-bio.c:379:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:380:3: warning: excess elements in struct initializer "proxy", ^~~~~~~ src/proxy-bio.c:380:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:381:3: warning: excess elements in struct initializer proxy_write, ^~~~~~~~~~~ src/proxy-bio.c:381:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:382:3: warning: excess elements in struct initializer proxy_read, ^~~~~~~~~~ src/proxy-bio.c:382:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:383:3: warning: excess elements in struct initializer proxy_puts, ^~~~~~~~~~ src/proxy-bio.c:383:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:384:3: warning: excess elements in struct initializer proxy_gets, ^~~~~~~~~~ src/proxy-bio.c:384:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:385:3: warning: excess elements in struct initializer proxy_ctrl, ^~~~~~~~~~ src/proxy-bio.c:385:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:386:3: warning: excess elements in struct initializer proxy_new, ^~~~~~~~~ src/proxy-bio.c:386:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:387:3: warning: excess elements in struct initializer proxy_free, ^~~~~~~~~~ src/proxy-bio.c:387:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:388:3: warning: excess elements in struct initializer proxy_callback_ctrl, ^~~~~~~~~~~~~~~~~~~ src/proxy-bio.c:388:3: note: (near initialization for 'proxy_methods') src/proxy-bio.c:377:12: error: storage size of 'proxy_methods' isn't known BIO_METHOD proxy_methods = ^~~~~~~~~~~~~ src/proxy-bio.c: In function 'proxy_gets': src/proxy-bio.c:363:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/proxy-bio.c: In function 'proxy_puts': src/proxy-bio.c:368:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/proxy-bio.c: In function 'proxy_callback_ctrl': src/proxy-bio.c:375:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [Makefile:1964: src/proxy-bio.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/tlsdate-tlsdate-0.0.13' make: *** [Makefile:1427: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.5xqKg9 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.5xqKg9 (%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