Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hitch.spec'], chrootPath='/var/lib/mock/f29-build-30620-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hitch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/hitch-1.4.8-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hitch.spec'], chrootPath='/var/lib/mock/f29-build-30620-16551/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hitch.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZQbJfi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hitch-1.4.8 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/hitch-1.4.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hitch-1.4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (hitch.systemd.service.patch): + echo 'Patch #0 (hitch.systemd.service.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./hitch.service Patch #1 (hitch.initrc.redhat.patch): + echo 'Patch #1 (hitch.initrc.redhat.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file ./hitch.initrc.redhat patching file ./hitch.initrc.redhat.old + sed -i ' s/^group =.*/group = "nobody"/ ' hitch.conf.example + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mROO6I + umask 022 + cd /builddir/build/BUILD + cd hitch-1.4.8 + export CFLAGS + export RST2MAN=/bin/true + RST2MAN=/bin/true + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name 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/hitch 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 for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of gcc... none checking whether make supports nested variables... (cached) yes checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether make sets $(MAKE)... (cached) yes checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking for lsof... no checking for sockstat... no checking for fstat... no BUILDSTDERR: configure: WARNING: No tool found for socket inspection, tests will fail. checking for rst2man... /bin/true checking whether to enable maintainer-specific portions of Makefiles... no 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 for library containing ev_default_loop... -lev checking for SSL... yes checking for CRYPTO... yes checking for library containing socket... none required checking for library containing inet_ntop... none required checking for library containing clock_gettime... none required checking for struct stat.st_mtim... yes checking for struct stat.st_mtimespec... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for int32_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint32_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for accept4... yes checking whether SO_REUSEPORT works... yes checking 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 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: ^~~~~~~~ CC hitch-hitch.o 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 BUILDSTDERR: make[3]: *** [Makefile:812: hitch-hitch.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/hitch-1.4.8/src' 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.mROO6I (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.mROO6I (%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