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/dnssec-tools.spec'], chrootPath='/var/lib/mock/f29-build-9575-4291/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/dnssec-tools.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 BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: warning: Macro expanded in comment on line 131: %{_datadir} because patch6 above uses this exact path BUILDSTDERR: warning: Macro expanded in comment on line 158: %{_datadir}/dnssec-tools/validator-testcases BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: sh: /usr/bin/perl: No such file or directory BUILDSTDERR: warning: Macro expanded in comment on line 304: %{_sysconfdir}/dnssec-tools/dnsval.conf BUILDSTDERR: warning: Macro expanded in comment on line 305: %{_sysconfdir}/dnssec-tools/root.hints BUILDSTDERR: warning: Macro expanded in comment on line 342: %{_mandir}/man3/val_addrinfo.3.gz Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/dnssec-tools-2.2-3.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dnssec-tools.spec'], chrootPath='/var/lib/mock/f29-build-9575-4291/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/dnssec-tools.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 BUILDSTDERR: warning: Macro expanded in comment on line 131: %{_datadir} because patch6 above uses this exact path BUILDSTDERR: warning: Macro expanded in comment on line 158: %{_datadir}/dnssec-tools/validator-testcases BUILDSTDERR: warning: Macro expanded in comment on line 304: %{_sysconfdir}/dnssec-tools/dnsval.conf BUILDSTDERR: warning: Macro expanded in comment on line 305: %{_sysconfdir}/dnssec-tools/root.hints BUILDSTDERR: warning: Macro expanded in comment on line 342: %{_mandir}/man3/val_addrinfo.3.gz Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vIhq9M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnssec-tools-2.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/dnssec-tools-2.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dnssec-tools-2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #5 (dnssec-tools-linux-conf-paths-1.13.patch):' Patch #5 (dnssec-tools-linux-conf-paths-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file tools/etc/dnssec-tools/dnssec-tools.conf Hunk #2 succeeded at 71 (offset 7 lines). Hunk #3 succeeded at 82 (offset 7 lines). + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HeKqTc + umask 022 + cd /builddir/build/BUILD + cd dnssec-tools-2.2 + 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 ./validator/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./validator/config.sub BUILDSTDERR: ++ basename ./validator/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./validator/config.sub '/usr/lib/rpm/redhat/config.sub' -> './validator/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./validator/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./validator/config.guess BUILDSTDERR: ++ basename ./validator/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./validator/config.guess '/usr/lib/rpm/redhat/config.guess' -> './validator/config.guess' + 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"~' ./validator/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-koji-linux-gnu --host=riscv64-koji-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 --with-validator-testcases-file=/usr/share/dnssec-tools/validator-testcases '--with-perl-build-args=INSTALLDIRS=vendor OPTIMIZE='\''-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'\''' --sysconfdir=/etc --with-root-hints=/etc/dnssec-tools/root.hints --with-resolv-conf=/etc/dnssec-tools/resolv.conf --disable-static --with-nsec3 --with-ipv6 --with-dlv --disable-bind-checks checking for perl... /usr/bin/perl checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for riscv64-koji-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 for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 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 BUILDSTDERR: checking if gcc supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes BUILDSTDERR: checking whether -lc should be explicitly linked in... /usr/bin/rm: cannot remove 'conftest*': No such file or directory 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 for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for perl module ExtUtils::MakeMaker... ok checking for perl module Net::DNS... ok checking for perl module Net::DNS::SEC... ok checking for perl module Date::Parse... ok checking for recommended perl module GraphViz... no checking for recommended perl module Mail::Mailer::sendmail... no checking for recommended perl module XML::Simple... no BUILDSTDERR: configure: WARNING: Missing recommended perl modules: GraphViz Mail::Mailer::sendmail XML::Simple configure: creating ./config.status config.status: creating Makefile config.status: creating tools/modules/conf.pm config.status: creating testing/Makefile config.status: creating dist/rollerd.service config.status: creating dist/donutsd.service config.status: executing libtool commands BUILDSTDERR: /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing default commands === configuring in validator (/builddir/build/BUILD/dnssec-tools-2.2/validator) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr' '--build=riscv64-koji-linux-gnu' '--host=riscv64-koji-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--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' '--with-validator-testcases-file=/usr/share/dnssec-tools/validator-testcases' '--with-perl-build-args=INSTALLDIRS=vendor OPTIMIZE='\''-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'\''' '--sysconfdir=/etc' '--with-root-hints=/etc/dnssec-tools/root.hints' '--with-resolv-conf=/etc/dnssec-tools/resolv.conf' '--disable-static' '--with-nsec3' '--with-ipv6' '--with-dlv' '--disable-bind-checks' 'build_alias=riscv64-koji-linux-gnu' 'host_alias=riscv64-koji-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' --cache-file=/dev/null --srcdir=. checking for perl... /usr/bin/perl checking for ar... /usr/bin/ar checking for rm... /usr/bin/rm checking for cp... /usr/bin/cp checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking for riscv64-koji-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 for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... /usr/bin/ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for gawk... gawk checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -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 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 BUILDSTDERR: checking if gcc supports -c -o file.o... /usr/bin/rm: cannot remove 'conftest*': No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes BUILDSTDERR: checking whether -lc should be explicitly linked in... /usr/bin/rm: cannot remove 'conftest*': No such file or directory 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 for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking target system type... riscv64-koji-linux-gnu checking whether to un-define target system token (before redefining)... yes checking for developer gcc flags... checking for library containing EVP_md5... -lcrypto checking for library containing SHA384_Init... none required checking for library containing EC_KEY_set_public_key_affine_coordinates... none required checking for library containing SSL_get_SSL_CTX... -lssl checking crypto/sha2.h usability... no checking crypto/sha2.h presence... no checking for crypto/sha2.h... no checking openssl/ecdsa.h usability... yes checking openssl/ecdsa.h presence... yes checking for openssl/ecdsa.h... yes checking for pthread_rwlock_init in -lpthread... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/filio.h usability... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/fcntl.h usability... yes checking sys/fcntl.h presence... yes checking for sys/fcntl.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for net/if.h... yes checking for ifaddrs.h... yes checking whether getopt_long_only is declared... yes checking whether getopt_long is declared... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for struct HEADER in arpa/nameser.h and arpa/nameser_compat.h... yes checking for __ns_msg._msg_ptr... yes checking for __ns_msg._ptr... no checking for ns_cert_types... yes checking whether ns_t_a is declared... yes checking whether ns_t_kx is declared... yes checking whether ns_r_badsig is declared... yes checking whether ns_parse_ttl is declared... yes checking whether ns_name_pton is declared... yes checking whether ns_name_unpack is declared... yes checking whether ns_name_ntop is declared... yes checking whether ns_samename is declared... yes checking whether ns_t_aaaa is declared... yes checking whether ns_t_dnskey is declared... yes checking whether ns_t_rrsig is declared... yes checking whether ns_t_nsec is declared... yes checking whether ns_t_nsec3 is declared... yes checking whether ns_t_dlv is declared... yes checking whether ns_t_ds is declared... yes checking whether ns_t_tlsa is declared... yes checking whether p_rcode is declared... yes checking whether p_section is declared... no checking whether struct addrinfo is declared... no checking for the proper gethostbyaddr prototype... unknown checking for the proper gethostbyaddr prototype... void and socklen_t checking for the proper getnameinfo prototype... unknown checking for the proper getnameinfo prototype... socklen_t and int checking whether gethostbyaddr_r returns an int or a struct hostent... int checking for strerror_r... yes checking for pselect... yes checking for gmtime_r... yes checking for strtok_r... yes checking for localtime_r... yes checking for flock... yes checking for inet_nsap_ntoa... yes checking for gethostbyname2... yes checking for hstrerror... yes checking for freeaddrinfo... yes checking for getifaddrs... yes checking for getrlimit... yes checking for setrlimit... yes checking for inet_ntop in -lnsl... no checking for gai_strerror in -lsocket... no checking for library containing socket... none required checking for snprintf... yes checking for strncasecmp... yes checking for gettimeofday... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for int8_t... yes checking for uint8_t... yes checking for u_int8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for u_int16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for u_int32_t... yes checking for int64_t... yes checking for uint64_t... yes checking for u_int64_t... yes checking for u_char... yes checking for u_short... yes checking for u_long... yes checking for size_t... yes checking for ssize_t... yes checking Location to read resolver configuration... (cached) /etc/dnssec-tools/resolv.conf checking Location to read root hints configuration... (cached) /etc/dnssec-tools/root.hints checking for etc/dnsval.conf... yes checking for etc/root.hints... yes checking for etc/resolv.conf... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libsres/Makefile config.status: creating libval/Makefile config.status: creating libval_shim/Makefile config.status: creating doc/Makefile config.status: creating apps/Makefile config.status: creating libval-config config.status: creating libval/val_inline_conf.h config.status: creating include/validator/validator-config.h config.status: executing libtool commands BUILDSTDERR: /usr/bin/rm: cannot remove 'libtoolT': No such file or directory config.status: executing default commands --------------------------------------------------------- DNSSEC-Tool Validator configuration summary: --------------------------------------------------------- Developer flags : system configuration directory : /etc Validator configuration file : /etc/dnssec-tools/dnsval.conf NSEC3 support : Yes DLV support : Yes IPv6 support : Yes Thread support : Yes libval resolver configuration : /etc/dnssec-tools/resolv.conf libval root hints : /etc/dnssec-tools/root.hints Validator inline configuration : etc/dnsval.conf Root hints inline file : etc/root.hints Resolver inline configuration : etc/resolv.conf --------------------------------------------------------- + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' validator/libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' validator/libtool + make 'CCFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' make[1]: Entering directory '/builddir/build/BUILD/dnssec-tools-2.2/validator' make[2]: Entering directory '/builddir/build/BUILD/dnssec-tools-2.2/validator/libsres' /bin/sh ../libtool --mode=compile 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c -o ns_name.lo ns_name.c libtool: compile: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c ns_name.c -fPIC -DPIC -o .libs/ns_name.o /bin/sh ../libtool --mode=compile 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c -o ns_netint.lo ns_netint.c libtool: compile: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c ns_netint.c -fPIC -DPIC -o .libs/ns_netint.o /bin/sh ../libtool --mode=compile 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c -o res_support.lo res_support.c libtool: compile: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c res_support.c -fPIC -DPIC -o .libs/res_support.o BUILDSTDERR: res_support.c: In function 'libsres_random': BUILDSTDERR: res_support.c:421:9: warning: 'RAND_pseudo_bytes' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: RAND_pseudo_bytes((unsigned char *)&rnd, sizeof(rnd)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/openssl/e_os2.h:13, BUILDSTDERR: from /usr/include/openssl/ossl_typ.h:19, BUILDSTDERR: from /usr/include/openssl/rand.h:14, BUILDSTDERR: from res_support.c:24: BUILDSTDERR: /usr/include/openssl/rand.h:47:1: note: declared here BUILDSTDERR: DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --mode=compile 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c -o res_debug.lo res_debug.c libtool: compile: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Ulinux -Dlinux=linux -Ulinux -Dlinux=linux -DLIBVAL_CONFIGURED=1 -I../include -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o BUILDSTDERR: res_debug.c:367:6: error: 'NS_ALG_MD5RSA' undeclared here (not in a function); did you mean 'NS_ALG_DSA'? BUILDSTDERR: {NS_ALG_MD5RSA, "RSA", "RSA KEY with MD5 hash"}, BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: NS_ALG_DSA BUILDSTDERR: res_debug.c:370:6: error: 'NS_ALG_EXPIRE_ONLY' undeclared here (not in a function) BUILDSTDERR: {NS_ALG_EXPIRE_ONLY, "EXPIREONLY", "No algorithm"}, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: res_debug.c:371:6: error: 'NS_ALG_PRIVATE_OID' undeclared here (not in a function); did you mean 'NS_UPDATE_OP'? BUILDSTDERR: {NS_ALG_PRIVATE_OID, "PRIVATE", "Algorithm obtained from OID"}, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: NS_UPDATE_OP BUILDSTDERR: res_debug.c:438:6: error: 'ns_t_zxfr' undeclared here (not in a function); did you mean 'ns_t_axfr'? BUILDSTDERR: {ns_t_zxfr, "ZXFR", "compressed zone transfer"}, BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: ns_t_axfr BUILDSTDERR: res_debug.c:438:6: warning: initialization of 'int' from 'const struct res_sym *' makes integer from pointer without a cast [-Wint-conversion] BUILDSTDERR: res_debug.c:438:6: note: (near initialization for '__p_type_sres_syms[47].number') BUILDSTDERR: res_debug.c:438:6: error: initializer element is not constant BUILDSTDERR: res_debug.c:438:6: note: (near initialization for '__p_type_sres_syms[47].number') make[2]: Leaving directory '/builddir/build/BUILD/dnssec-tools-2.2/validator/libsres' BUILDSTDERR: make[2]: *** [Makefile:157: res_debug.lo] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dnssec-tools-2.2/validator' BUILDSTDERR: make[1]: *** [Makefile:135: subdirmake] Error 1 BUILDSTDERR: make: *** [Makefile:67: subdirmake] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.HeKqTc (%build) BUILDSTDERR: Macro expanded in comment on line 131: %{_datadir} because patch6 above uses this exact path BUILDSTDERR: Macro expanded in comment on line 158: %{_datadir}/dnssec-tools/validator-testcases BUILDSTDERR: Macro expanded in comment on line 304: %{_sysconfdir}/dnssec-tools/dnsval.conf BUILDSTDERR: Macro expanded in comment on line 305: %{_sysconfdir}/dnssec-tools/root.hints BUILDSTDERR: Macro expanded in comment on line 342: %{_mandir}/man3/val_addrinfo.3.gz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.HeKqTc (%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/dnssec-tools.spec