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/dnsdist.spec'], chrootPath='/var/lib/mock/f29-build-27167-14239/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/dnsdist.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dnsdist-1.3.0-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dnsdist.spec'], chrootPath='/var/lib/mock/f29-build-27167-14239/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/dnsdist.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ta8Cmp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnsdist-1.3.0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/dnsdist-1.3.0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dnsdist-1.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (fix-sigabrt.patch):' Patch #0 (fix-sigabrt.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 --fuzz=0 patching file dnsdist-tcp.cc + sed -i '/^ExecStart/ s/dnsdist/dnsdist -u dnsdist -g dnsdist/' dnsdist.service.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RYhgWG + umask 022 + cd /builddir/build/BUILD + cd dnsdist-1.3.0 + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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 --sysconfdir=/etc/dnsdist --disable-static --disable-dependency-tracking --disable-silent-rules --enable-dnscrypt --enable-dns-over-tls --enable-libsodium --enable-libssl --with-lua --enable-unit-tests 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 nested variables... yes checking whether make supports nested variables... (cached) yes 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 for style of include used by make... GNU checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu 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 whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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 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... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate 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 whether we will be linking in libsodium... yes checking for LIBSODIUM... yes checking for crypto_box_easy_afternm... yes checking for crypto_box_curve25519xchacha20poly1305_easy... yes checking whether we will be linking in fstrm... auto checking for FSTRM... no checking for ragel... no checking for LIBEDIT... yes checking for library containing clock_gettime... none required checking for library containing inet_aton... none required checking for library containing gethostbyname... none required checking for library containing socket... none required checking for library containing gethostent... none required checking for recvmmsg... yes checking for sendmmsg... yes checking for accept4... yes checking for library containing pthread_setaffinity_np... -lpthread checking for explicit_bzero... yes checking for explicit_memset... no checking if we need to link in protobuf... auto checking for PROTOBUF... yes checking for protoc... protoc checking for Boost headers version >= 1.42.0... yes checking for Boost's header version... 1_66 BUILDSTDERR: checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++ checking whether to enable unit test building... yes checking whether to enable backend unit test building... no checking boost/test/unit_test.hpp usability... yes checking boost/test/unit_test.hpp presence... yes checking for boost/test/unit_test.hpp... yes checking for the Boost unit_test_framework library... yes checking if we should compile in libre2 for dnsdist... no checking whether to enable DNSCrypt support... yes checking if we have eBPF support... auto checking linux/bpf.h usability... yes checking linux/bpf.h presence... yes checking for linux/bpf.h... yes checking whether BPF_FUNC_tail_call is declared... yes checking if we need to link in Net SNMP... auto checking for net-snmp-config... no checking for net-snmp-config... no checking whether snmp_select_info2 is declared... no checking systemd/sd-daemon.h usability... yes checking systemd/sd-daemon.h presence... yes checking for systemd/sd-daemon.h... yes checking for sd_listen_fds in -lsystemd-daemon... no checking for sd_listen_fds in -lsystemd... yes checking for SYSTEMD... yes checking whether we will be linking in LuaJIT... no checking whether we will be linking in Lua... yes checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... no checking for LUA... yes checking for chosen LUA... lua checking lua.hpp usability... yes checking lua.hpp presence... yes checking for lua.hpp... yes checking whether to enable DNS over TLS support... yes checking whether we will be linking in GnuTLS... auto checking for GNUTLS... no checking whether we will be linking in OpenSSL libssl... yes checking for LIBSSL... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking whether compiling and linking against OpenSSL's libcrypto works... yes checking whether g++ supports C++11 features by default... yes checking whether we will enable compiler security checks... yes checking whether C++ compiler handles -Werror -Wunknown-warning-option... no checking whether C++ compiler handles -pie... yes checking whether C++ compiler handles -fstack-protector... yes checking whether C++ compiler handles --param ssp-buffer-size=4... yes checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... yes checking for how to force completely read-only GOT table... -Wl,-z -Wl,relro -Wl,-z -Wl,now checking whether to enable AddressSanitizer... no checking whether to enable MemorySanitizer... no checking whether to enable ThreadSanitizer... no checking whether to enable LeakSanitizer... no checking whether to enable Undefined Behaviour Sanitizer... no checking for virtualenv... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating ext/yahttp/Makefile config.status: creating ext/yahttp/yahttp/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: configure: Configuration summary configure: ===================== configure: configure: dnsdist configured with: '--build=riscv64-redhat-linux-gnu' '--host=riscv64-redhat-linux-gnu' '--program-prefix=' '--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' '--sysconfdir=/etc/dnsdist' '--disable-static' '--disable-dependency-tracking' '--disable-silent-rules' '--enable-dnscrypt' '--enable-dns-over-tls' '--enable-libsodium' '--enable-libssl' '--with-lua' '--enable-unit-tests' 'build_alias=riscv64-redhat-linux-gnu' 'host_alias=riscv64-redhat-linux-gnu' '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' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' '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' 'PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' configure: configure: CC: gcc configure: CXX: g++ configure: LD: /usr/bin/ld configure: CFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 configure: CPPFLAGS: configure: CXXFLAGS: -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 configure: LDFLAGS: -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld configure: LIBS: -lpthread configure: BOOST_CPPFLAGS: configure: configure: Features enabled configure: ---------------- configure: Lua: lua configure: Protobuf: yes configure: systemd: yes configure: libsodium: yes configure: DNSCrypt: yes configure: fstrm: no configure: re2: no configure: SNMP: no configure: DNS over TLS: yes configure: GnuTLS: no configure: OpenSSL: yes configure: + rm html/js/d3.min.js html/js/jquery.min.js html/js/moment.min.js html/js/rickshaw.min.js + cp src_js/d3.js src_js/jquery.js src_js/moment.js src_js/rickshaw.js html/js + make -j4 ./incfiles . > htmlfiles.h.tmp protoc -I. --cpp_out=./ dnsmessage.proto protoc -I. --cpp_out=./ dnstap.proto BUILDSTDERR: [libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: dnstap.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) make all-recursive make[1]: Entering directory '/builddir/build/BUILD/dnsdist-1.3.0' Making all in ext/yahttp make[2]: Entering directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp' Making all in yahttp make[3]: Entering directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp/yahttp' /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../.. -Wall -O3 -pthread -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o reqresp.lo reqresp.cpp /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../.. -Wall -O3 -pthread -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o router.lo router.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../.. -Wall -O3 -pthread -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c reqresp.cpp -fPIC -DPIC -o .libs/reqresp.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -I../../.. -Wall -O3 -pthread -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c router.cpp -fPIC -DPIC -o .libs/router.o /bin/sh ../../../libtool --tag=CXX --mode=link g++ -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libyahttp.la reqresp.lo router.lo -lpthread libtool: link: ar cru .libs/libyahttp.a .libs/reqresp.o .libs/router.o libtool: link: ranlib .libs/libyahttp.a libtool: link: ( cd ".libs" && rm -f "libyahttp.la" && ln -s "../libyahttp.la" "libyahttp.la" ) make[3]: Leaving directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp/yahttp' make[3]: Entering directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp' make[2]: Leaving directory '/builddir/build/BUILD/dnsdist-1.3.0/ext/yahttp' make[2]: Entering directory '/builddir/build/BUILD/dnsdist-1.3.0' g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o bpf-filter.o bpf-filter.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dns.o dns.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnscrypt.o dnscrypt.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist.o dnsdist.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-dynbpf.o dnsdist-dynbpf.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-cache.o dnsdist-cache.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-carbon.o dnsdist-carbon.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-console.o dnsdist-console.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-dnscrypt.o dnsdist-dnscrypt.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-ecs.o dnsdist-ecs.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-lua.o dnsdist-lua.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-lua-actions.o dnsdist-lua-actions.cc g++ -DHAVE_CONFIG_H -I. -I. -I. -Wall -O3 -pthread -I/usr/include/editline -I./ext/yahttp -DSYSCONFDIR=\"/etc/dnsdist\" -fPIE -DPIE -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -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 -c -o dnsdist-lua-bindings.o dnsdist-lua-bindings.cc BUILDSTDERR: as: out of memory allocating 4064 bytes after a total of 59744256 bytes BUILDSTDERR: {standard input}: Assembler messages: BUILDSTDERR: {standard input}:1169017: Fatal error: can't close dnsdist-lua-actions.o: memory exhausted BUILDSTDERR: make[2]: *** [Makefile:1094: dnsdist-lua-actions.o] Error 2 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from dnsdist.hh:24, BUILDSTDERR: from dnsdist-lua.cc:31: BUILDSTDERR: ext/luawrapper/include/LuaContext.hpp: In static member function 'static int LuaContext::Pusher::push(lua_State*, TFunctionObject) [with TFunctionObject = setupLuaConfig(bool)::)>; TReturnType = void; TParameters = {boost::optional}]::::_FUN(lua_State*)': BUILDSTDERR: ext/luawrapper/include/LuaContext.hpp:1806:68: warning: '*((void*)& +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return function(param, std::forward(params)...); BUILDSTDERR: ^ BUILDSTDERR: ext/luawrapper/include/LuaContext.hpp: In static member function 'static int LuaContext::Pusher::push(lua_State*, TFunctionObject) [with TFunctionObject = setupLuaConfig(bool)::, std::unordered_map, std::allocator >, boost::variant, std::allocator >, std::vector, std::allocator > >, std::allocator, std::allocator > > > >, std::function(const DNSName&, short unsigned int, short unsigned int, dnsheader*)> >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, boost::variant, std::allocator >, std::vector, std::allocator > >, std::allocator, std::allocator > > > >, std::function(const DNSName&, short unsigned int, short unsigned int, dnsheader*)> > > > > >, boost::optional)>; TReturnType = std::shared_ptr; TParameters = {boost::variant, std::allocator >, std::unordered_map, std::allocator >, boost::variant, std::allocator >, std::vector, std::allocator > >, std::allocator, std::allocator > > > >, std::function(const DNSName&, short unsigned int, short unsigned int, dnsheader*)> >, std::hash, std::allocator > >, std::equal_to, std::allocator > >, std::allocator, std::allocator >, boost::variant, std::allocator >, std::vector, std::allocator > >, std::allocator, std::allocator > > > >, std::function(const DNSName&, short unsigned int, short unsigned int, dnsheader*)> > > > > >, boost::optional}]::::_FUN(lua_State*)': BUILDSTDERR: ext/luawrapper/include/LuaContext.hpp:1806:68: warning: '*((void*)& +4)' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return function(param, std::forward(params)...); BUILDSTDERR: ^ make[2]: Leaving directory '/builddir/build/BUILD/dnsdist-1.3.0' BUILDSTDERR: make[1]: *** [Makefile:1216: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dnsdist-1.3.0' BUILDSTDERR: make: *** [Makefile:894: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.RYhgWG (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.RYhgWG (%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/dnsdist.spec