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/dnstracer.spec'], chrootPath='/var/lib/mock/f29-build-8255-2462/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/dnstracer.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/dnstracer-1.9-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/f29-build-8255-2462/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/dnstracer.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.5mWloW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dnstracer-1.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/dnstracer-1.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dnstracer-1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RFVXJ0 + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + 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 + ./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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether byte ordering is bigendian... no checking for inet_ntoa... yes checking for socket... yes checking for gethostbyname... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.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 unistd.h... (cached) yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for gethostbyname... (cached) yes checking for inet_ntoa... (cached) yes checking for inet_pton... yes checking for memset... yes checking for select... yes checking for socket... (cached) yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing default-1 commands + /usr/bin/make -j4 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 `test -f 'dnstracer.c' || echo './'`dnstracer.c BUILDSTDERR: dnstracer.c: In function 'getname': BUILDSTDERR: dnstracer.c:291:24: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: offset = getshort(p); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c: In function 'extract_rr': BUILDSTDERR: dnstracer.c:335:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->domainname = strdup(domainname); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:336:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->domainname_string = strdup(printablename(domainname, 1)); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:337:25: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->type = getshort(thisrr); BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:338:33: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->class = getshort(thisrr + 2); BUILDSTDERR: ~~~~~~~^~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:339:30: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->ttl = getlong(thisrr + 4); BUILDSTDERR: ~~~~~~~^~~ BUILDSTDERR: dnstracer.c:245:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getlong(unsigned char *s) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dnstracer.c:340:38: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->datalength = getshort(thisrr + 8); BUILDSTDERR: ~~~~~~~^~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:345:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: RR->data_string = strdup(get_resource(RR->type, session, p, 1)); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c: In function 'extract_data': BUILDSTDERR: dnstracer.c:393:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: question->query = strdup(getname(session, &pquestion)); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:394:31: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: question->type = getshort(pquestion); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:395:42: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: question->class = getshort(pquestion + 2); BUILDSTDERR: ~~~~~~~~~~^~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:361:12: warning: variable 'pheader' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char * pheader; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dnstracer.c: In function 'get_resource': BUILDSTDERR: dnstracer.c:581:16: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: us = getshort(buffer); BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:609:15: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign] BUILDSTDERR: ul = getlong(buffer); BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:245:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getlong(unsigned char *s) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: dnstracer.c: In function 'dump_question': BUILDSTDERR: dnstracer.c:622:66: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: printf("- Queryname: %s\n", printablename(question->query, 0)); BUILDSTDERR: ~~~~~~~~^~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c: In function 'dump_rr': BUILDSTDERR: dnstracer.c:679:60: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: printf("- Domainname: %s\n", printablename(rr->domainname, 0)); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:688:43: warning: pointer targets in passing argument 3 of 'get_resource' differ in signedness [-Wpointer-sign] BUILDSTDERR: get_resource(rr->type, session, rr->data, 0)); BUILDSTDERR: ~~^~~~~~ BUILDSTDERR: dnstracer.c:536:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: get_resource(int type, struct dnssession *session, char *buffer, int dots) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c: In function 'send_data': BUILDSTDERR: dnstracer.c:876:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: pkt = create_packet(session); BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c: In function 'receive_data': BUILDSTDERR: dnstracer.c:915:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (getshort(buffer) != session->send_header->identification) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c:917:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] BUILDSTDERR: session->send_header->identification, getshort(buffer)); BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:251:1: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: getshort(unsigned char *s) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: dnstracer.c: In function 'create_question': BUILDSTDERR: dnstracer.c:962:42: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(session->send_question->query + 1, name); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/unistd.h:25, BUILDSTDERR: from dnstracer.c:42: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: dnstracer.c:964:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: p = session->send_question->query + 1; BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:965:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: q = session->send_question->query; BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c: In function 'add_arecord': BUILDSTDERR: dnstracer.c:997:47: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: arecord->rr_name = strdup(printablename(rr->domainname, 1)); BUILDSTDERR: ~~^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1002:30: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: arecord->rr_data = strdup(rr->data_string); BUILDSTDERR: ~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern char *strdup (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c: In function 'create_session': BUILDSTDERR: dnstracer.c:1259:28: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: session->authority->domainname_string) == 0) { BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from dnstracer.c:55: BUILDSTDERR: /usr/include/strings.h:116:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strcasecmp (const char *__s1, const char *__s2) BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: dnstracer.c:1303:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strcmp(rrauth->domainname_string, ".") == 0) { BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:1311:25: warning: pointer targets in passing argument 1 of 'strnrcasecmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: strnrcasecmp(rrauth->domainname_string, server_authfor, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:227:1: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: strnrcasecmp(const char *big, const char *little, size_t len) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1325:35: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strcmp(printablename(rradd->domainname, 1), BUILDSTDERR: ~~~~~^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1326:9: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: rrauth->data_string) == 0) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:1337:33: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: if (strcmp(printablename(rradd->domainname, 1), BUILDSTDERR: ~~~~~^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1338:13: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] BUILDSTDERR: rrauth->data_string) == 0) BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:12: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern int strcmp (const char *__s1, const char *__s2) BUILDSTDERR: ^~~~~~ BUILDSTDERR: dnstracer.c:1359:46: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(nextserver_name, printablename(rradd->domainname, 1)); BUILDSTDERR: ~~~~~^~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:439:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: printablename(char *name, int withdots) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1360:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(nextserver_ip, rradd->data_string); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/unistd.h:25, BUILDSTDERR: from dnstracer.c:42: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: dnstracer.c:1363:31: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] BUILDSTDERR: nextserver_name, rrauth->domainname_string, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1131:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: create_session(char *host, char *server_ip, int ipv6, char *server_name, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1369:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(nextserver_name, rrauth->data_string); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/unistd.h:25, BUILDSTDERR: from dnstracer.c:42: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: dnstracer.c:1399:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: unsigned char *s = addr_list[i]; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: dnstracer.c:1404:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: unsigned char *s = addr_list[i]; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: dnstracer.c:1416:31: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] BUILDSTDERR: nextserver_name, rrauth->domainname_string, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1131:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: create_session(char *host, char *server_ip, int ipv6, char *server_name, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1433:27: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] BUILDSTDERR: nextserver_name, rrauth->domainname_string, BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1131:1: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: create_session(char *host, char *server_ip, int ipv6, char *server_name, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c: In function 'main': BUILDSTDERR: dnstracer.c:1643:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: unsigned char *s = h->h_addr_list[0]; BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c:1647:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: unsigned char *s = h->h_addr_list[0]; BUILDSTDERR: ^ BUILDSTDERR: dnstracer.c: In function 'display_arecords': BUILDSTDERR: dnstracer.c:1022:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(s, "%%%ds", 40 - i); BUILDSTDERR: ^~ BUILDSTDERR: dnstracer.c:1022:17: note: directive argument in the range [1, 2147483647] BUILDSTDERR: sprintf(s, "%%%ds", 40 - i); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/resolv.h:58, BUILDSTDERR: from dnstracer.c:50: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 13 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dnstracer dnstracer.o make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KNbKmB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 + cd dnstracer-1.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 'INSTALL=/usr/bin/install -c -p' make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/bin /usr/bin/install -c -p dnstracer /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/bin/dnstracer /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/man/man8 /usr/bin/install -c -p -m 644 ./dnstracer.8 /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/man/man8/dnstracer.8 make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.9-19.fc29 --unique-debug-suffix -1.9-19.fc29.riscv64 --unique-debug-src-base dnstracer-1.9-19.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dnstracer-1.9 extracting debug info from /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/bin/dnstracer /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 86 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dnstracer-1.9-19.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8WAyKe + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + DOCDIR=/builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + cp -pr CHANGES /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + cp -pr CONTACT /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + cp -pr LICENSE /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + cp -pr README /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64/usr/share/doc/dnstracer + exit 0 Provides: dnstracer = 1.9-19.fc29 dnstracer(riscv-64) = 1.9-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: dnstracer-debugsource-1.9-19.fc29.riscv64 Provides: dnstracer-debugsource = 1.9-19.fc29 dnstracer-debugsource(riscv-64) = 1.9-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dnstracer-debuginfo-1.9-19.fc29.riscv64 Provides: debuginfo(build-id) = 97857f698927e76d84694391092a14d7b43c95f1 dnstracer-debuginfo = 1.9-19.fc29 dnstracer-debuginfo(riscv-64) = 1.9-19.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dnstracer-debugsource(riscv-64) = 1.9-19.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 Wrote: /builddir/build/RPMS/dnstracer-1.9-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dnstracer-debugsource-1.9-19.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/dnstracer-debuginfo-1.9-19.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4jIVtE + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-19.fc29.riscv64 + exit 0 Child return code was: 0