Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/f31-build-69368-30301/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/dnstracer-1.9-22.fc31.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/f31-build-69368-30301/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8zmjL7 + 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 . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.As2n84 + 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,--as-needed -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.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 + 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 + '[' 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 + /usr/bin/make -j4 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: 291 | offset = getshort(p); BUILDSTDERR: | ^ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 335 | 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: 336 | 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: 337 | RR->type = getshort(thisrr); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 338 | RR->class = getshort(thisrr + 2); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 339 | RR->ttl = getlong(thisrr + 4); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:245:24: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 245 | 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: 340 | RR->datalength = getshort(thisrr + 8); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 345 | 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: 393 | 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: 394 | question->type = getshort(pquestion); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 395 | question->class = getshort(pquestion + 2); BUILDSTDERR: | ~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | getshort(unsigned char *s) BUILDSTDERR: | ~~~~~~~~~~~~~~~^ BUILDSTDERR: dnstracer.c:361:12: warning: variable 'pheader' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 361 | 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: 581 | us = getshort(buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 609 | ul = getlong(buffer); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:245:24: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 245 | 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: 622 | printf("- Queryname: %s\n", printablename(question->query, 0)); BUILDSTDERR: | ~~~~~~~~^~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 679 | printf("- Domainname: %s\n", printablename(rr->domainname, 0)); BUILDSTDERR: | ~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 688 | get_resource(rr->type, session, rr->data, 0)); BUILDSTDERR: | ~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:536:58: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 536 | 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: 876 | 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: 915 | if (getshort(buffer) != session->send_header->identification) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 917 | session->send_header->identification, getshort(buffer)); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: 251 | 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: 962 | strcpy(session->send_question->query + 1, name); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, 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: 88 | __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: 964 | 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: 965 | 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: 997 | arecord->rr_name = strdup(printablename(rr->domainname, 1)); BUILDSTDERR: | ~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 1002 | arecord->rr_data = strdup(rr->data_string); BUILDSTDERR: | ~~^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * 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: 166 | 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: 1259 | session->authority->domainname_string) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/string.h:431, BUILDSTDERR: from dnstracer.c:55: BUILDSTDERR: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 116 | 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: 1303 | if (strcmp(rrauth->domainname_string, ".") == 0) { BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:32: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | 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: 1311 | strnrcasecmp(rrauth->domainname_string, server_authfor, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:227:26: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 227 | 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: 1325 | if (strcmp(printablename(rradd->domainname, 1), BUILDSTDERR: | ~~~~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 1326 | rrauth->data_string) == 0) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | 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: 1337 | if (strcmp(printablename(rradd->domainname, 1), BUILDSTDERR: | ~~~~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 1338 | rrauth->data_string) == 0) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from dnstracer.c:55: BUILDSTDERR: /usr/include/string.h:136:50: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 136 | 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: 1359 | strcpy(nextserver_name, printablename(rradd->domainname, 1)); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 439 | 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: 1360 | strcpy(nextserver_ip, rradd->data_string); BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, 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: 88 | __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: 1363 | nextserver_name, rrauth->domainname_string, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 1132 | char *server_authfor, int depth, char *prefix, int last) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1369:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1369 | strcpy(nextserver_name, rrauth->data_string); BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from /usr/include/features.h:450, 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: 88 | __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: 1399 | 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: 1404 | 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: 1416 | nextserver_name, rrauth->domainname_string, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 1132 | char *server_authfor, int depth, char *prefix, int last) BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: dnstracer.c:1433:27: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] BUILDSTDERR: 1433 | nextserver_name, rrauth->domainname_string, BUILDSTDERR: | ~~~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 1132 | char *server_authfor, int depth, char *prefix, int last) 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: 1643 | 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: 1647 | 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: 1022 | sprintf(s, "%%%ds", 40 - i); BUILDSTDERR: | ^~ BUILDSTDERR: dnstracer.c:1022:17: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 1022 | sprintf(s, "%%%ds", 40 - i); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, 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: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' 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 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 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,--as-needed -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' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.PvEtd9 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 + cd dnstracer-1.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 'INSTALL=/usr/bin/install -c -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.9-22.fc31 --unique-debug-suffix -1.9-22.fc31.riscv64 --unique-debug-src-base dnstracer-1.9-22.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dnstracer-1.9 BUILDSTDERR: 86 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/bin /usr/bin/install -c -p dnstracer /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/bin/dnstracer /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/man/man8 /usr/bin/install -c -p -m 644 ./dnstracer.8 /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/man/man8/dnstracer.8 make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/bin/dnstracer extracting debug info from /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/bin/dnstracer original debug info size: 112kB, size after compression: 112kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: dnstracer-1.9-22.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2hyYM8 + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + DOCDIR=/builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + cp -pr CHANGES /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + cp -pr CONTACT /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + cp -pr LICENSE /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + cp -pr README /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64/usr/share/doc/dnstracer + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: dnstracer = 1.9-22.fc31 dnstracer(riscv-64) = 1.9-22.fc31 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-22.fc31.riscv64 Provides: dnstracer-debugsource = 1.9-22.fc31 dnstracer-debugsource(riscv-64) = 1.9-22.fc31 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-22.fc31.riscv64 Provides: debuginfo(build-id) = f85fcd6c8135c1f39f2d0c7a5ca2d0ed9b798c9c dnstracer-debuginfo = 1.9-22.fc31 dnstracer-debuginfo(riscv-64) = 1.9-22.fc31 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-22.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 Wrote: /builddir/build/RPMS/dnstracer-debugsource-1.9-22.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/dnstracer-1.9-22.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/dnstracer-debuginfo-1.9-22.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Yn2so8 + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-22.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0