g whether the compiler accepts -O2... yes checking whether the compiler accepts -g... yes checking whether the compiler accepts -Wall... yes checking whether the compiler accepts -W... yes checking whether the compiler accepts -fno-strict-aliasing... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/util/Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/hitch-1.4.8' Making all in src/util make[2]: Entering directory '/builddir/build/BUILD/hitch-1.4.8/src/util' CC parse_proxy_v2-parse_proxy_v2.o CCLD parse_proxy_v2 make[2]: Leaving directory '/builddir/build/BUILD/hitch-1.4.8/src/util' Making all in src make[2]: Entering directory '/builddir/build/BUILD/hitch-1.4.8/src' make all-am make[3]: Entering directory '/builddir/build/BUILD/hitch-1.4.8/src' CC libcfg_a-cfg_lex.o CC libcfg_a-cfg_parser.o CC hitch-asn_gentm.o CC hitch-configuration.o CC hitch-hitch.o BUILDSTDERR: cfg_lex.c: In function 'yy_get_next_buffer': BUILDSTDERR: cfg_lex.c:900:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: for ( n = 0; n < max_size && \ BUILDSTDERR: ^ BUILDSTDERR: cfg_lex.c:1683:3: note: in expansion of macro 'YY_INPUT' BUILDSTDERR: YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/ssl.h:938, BUILDSTDERR: from configuration.h:12, BUILDSTDERR: from hitch.c:74: BUILDSTDERR: hitch.c: In function 'make_ctx_fr': BUILDSTDERR: hitch.c:995:46: error: passing argument 4 of 'SSL_CTX_ctrl' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] BUILDSTDERR: if (!SSL_CTX_set_tlsext_servername_arg(ctx, fr)) { BUILDSTDERR: ^~ BUILDSTDERR: In file included from configuration.h:12, BUILDSTDERR: from hitch.c:74: BUILDSTDERR: /usr/include/openssl/ssl.h:1826:59: note: expected 'void *' but argument is of type 'const struct frontend *' BUILDSTDERR: long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg); BUILDSTDERR: ~~~~~~^~~~ CC hitch-hssl_locks.o CC hitch-logging.o CC hitch-ocsp.o CC hitch-ringbuffer.o AR libcfg.a CC foreign/flopen.o CC foreign/vas.o CC foreign/vpf.o CC foreign/vsb.o CC foreign/vsa.o AR libforeign.a BUILDSTDERR: cc1: all warnings being treated as errors make[3]: Leaving directory '/builddir/build/BUILD/hitch-1.4.8/src' BUILDSTDERR: make[3]: *** [Makefile:812: hitch-hitch.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/hitch-1.4.8/src' BUILDSTDERR: make[2]: *** [Makefile:600: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:527: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/hitch-1.4.8' BUILDSTDERR: make: *** [Makefile:361: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.LZiDLp (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.LZiDLp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hitch.spec