Mock Version: 1.4.21 Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/f32-build-19265588-1345571/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --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': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1580169600 Wrote: /builddir/build/SRPMS/dnstracer-1.9-24.fc32.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/f32-build-19265588-1345571/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': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --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': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qJdrad + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hOLabf + 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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 -m64 -march=zEC12 -mtune=z13 -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ 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) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ 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' ']' ++ find . -name ltmain.sh + ./configure --build=s390x-redhat-linux-gnu --host=s390x-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 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 s390x-redhat-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... yes 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 -O -j2 V=1 VERBOSE=1 /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 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -c `test -f 'dnstracer.c' || echo './'`dnstracer.c make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' dnstracer.c: In function 'getname': dnstracer.c:291:24: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 291 | offset = getshort(p); | ^ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c: In function 'extract_rr': dnstracer.c:335:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 335 | RR->domainname = strdup(domainname); | ^ dnstracer.c:336:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 336 | RR->domainname_string = strdup(printablename(domainname, 1)); | ^ dnstracer.c:337:25: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 337 | RR->type = getshort(thisrr); | ^~~~~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:338:33: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 338 | RR->class = getshort(thisrr + 2); | ~~~~~~~^~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:339:30: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign] 339 | RR->ttl = getlong(thisrr + 4); | ~~~~~~~^~~ | | | char * dnstracer.c:245:24: note: expected 'unsigned char *' but argument is of type 'char *' 245 | getlong(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:340:38: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 340 | RR->datalength = getshort(thisrr + 8); | ~~~~~~~^~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:345:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 345 | RR->data_string = strdup(get_resource(RR->type, session, p, 1)); | ^ dnstracer.c: In function 'extract_data': dnstracer.c:393:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 393 | question->query = strdup(getname(session, &pquestion)); | ^ dnstracer.c:394:31: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 394 | question->type = getshort(pquestion); | ^~~~~~~~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:395:42: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 395 | question->class = getshort(pquestion + 2); | ~~~~~~~~~~^~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:361:12: warning: variable 'pheader' set but not used [-Wunused-but-set-variable] 361 | char * pheader; | ^~~~~~~ dnstracer.c: In function 'get_resource': dnstracer.c:581:16: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 581 | us = getshort(buffer); | ^~~~~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:609:15: warning: pointer targets in passing argument 1 of 'getlong' differ in signedness [-Wpointer-sign] 609 | ul = getlong(buffer); | ^~~~~~ | | | char * dnstracer.c:245:24: note: expected 'unsigned char *' but argument is of type 'char *' 245 | getlong(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c: In function 'dump_question': dnstracer.c:622:66: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 622 | printf("- Queryname: %s\n", printablename(question->query, 0)); | ~~~~~~~~^~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c: In function 'dump_rr': dnstracer.c:679:60: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 679 | printf("- Domainname: %s\n", printablename(rr->domainname, 0)); | ~~^~~~~~~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:688:43: warning: pointer targets in passing argument 3 of 'get_resource' differ in signedness [-Wpointer-sign] 688 | get_resource(rr->type, session, rr->data, 0)); | ~~^~~~~~ | | | unsigned char * dnstracer.c:536:58: note: expected 'char *' but argument is of type 'unsigned char *' 536 | get_resource(int type, struct dnssession *session, char *buffer, int dots) | ~~~~~~^~~~~~ dnstracer.c: In function 'send_data': dnstracer.c:876:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 876 | pkt = create_packet(session); | ^ dnstracer.c: In function 'receive_data': dnstracer.c:915:18: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 915 | if (getshort(buffer) != session->send_header->identification) { | ^~~~~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c:917:53: warning: pointer targets in passing argument 1 of 'getshort' differ in signedness [-Wpointer-sign] 917 | session->send_header->identification, getshort(buffer)); | ^~~~~~ | | | char * dnstracer.c:251:25: note: expected 'unsigned char *' but argument is of type 'char *' 251 | getshort(unsigned char *s) | ~~~~~~~~~~~~~~~^ dnstracer.c: In function 'create_question': dnstracer.c:962:42: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 962 | strcpy(session->send_question->query + 1, name); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnstracer.c:964:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 964 | p = session->send_question->query + 1; | ^ dnstracer.c:965:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 965 | q = session->send_question->query; | ^ dnstracer.c: In function 'add_arecord': dnstracer.c:997:47: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 997 | arecord->rr_name = strdup(printablename(rr->domainname, 1)); | ~~^~~~~~~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1002:30: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 1002 | arecord->rr_data = strdup(rr->data_string); | ~~^~~~~~~~~~~~~ | | | unsigned char * In file included from dnstracer.c:55: /usr/include/string.h:167:34: note: expected 'const char *' but argument is of type 'unsigned char *' 167 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ dnstracer.c: In function 'create_session': dnstracer.c:1259:28: warning: pointer targets in passing argument 2 of 'strcasecmp' differ in signedness [-Wpointer-sign] 1259 | session->authority->domainname_string) == 0) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:432, from dnstracer.c:55: /usr/include/strings.h:116:54: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1303:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1303 | if (strcmp(rrauth->domainname_string, ".") == 0) { | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from dnstracer.c:55: /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1311:25: warning: pointer targets in passing argument 1 of 'strnrcasecmp' differ in signedness [-Wpointer-sign] 1311 | strnrcasecmp(rrauth->domainname_string, server_authfor, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * dnstracer.c:227:26: note: expected 'const char *' but argument is of type 'unsigned char *' 227 | strnrcasecmp(const char *big, const char *little, size_t len) | ~~~~~~~~~~~~^~~ dnstracer.c:1325:35: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 1325 | if (strcmp(printablename(rradd->domainname, 1), | ~~~~~^~~~~~~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1326:9: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1326 | rrauth->data_string) == 0) | ~~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from dnstracer.c:55: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1337:33: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 1337 | if (strcmp(printablename(rradd->domainname, 1), | ~~~~~^~~~~~~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1338:13: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1338 | rrauth->data_string) == 0) | ~~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from dnstracer.c:55: /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'unsigned char *' 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1359:46: warning: pointer targets in passing argument 1 of 'printablename' differ in signedness [-Wpointer-sign] 1359 | strcpy(nextserver_name, printablename(rradd->domainname, 1)); | ~~~~~^~~~~~~~~~~~ | | | unsigned char * dnstracer.c:439:21: note: expected 'char *' but argument is of type 'unsigned char *' 439 | printablename(char *name, int withdots) | ~~~~~~^~~~ dnstracer.c:1360:30: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1360 | strcpy(nextserver_ip, rradd->data_string); | ~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnstracer.c:1363:31: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] 1363 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' 1132 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c:1369:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1369 | strcpy(nextserver_name, rrauth->data_string); | ~~~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnstracer.c:1399:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1399 | unsigned char *s = addr_list[i]; | ^~~~~~~~~ dnstracer.c:1404:27: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1404 | unsigned char *s = addr_list[i]; | ^~~~~~~~~ dnstracer.c:1416:31: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] 1416 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' 1132 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c:1433:27: warning: pointer targets in passing argument 5 of 'create_session' differ in signedness [-Wpointer-sign] 1433 | nextserver_name, rrauth->domainname_string, | ~~~~~~^~~~~~~~~~~~~~~~~~~ | | | unsigned char * dnstracer.c:1132:11: note: expected 'char *' but argument is of type 'unsigned char *' 1132 | char *server_authfor, int depth, char *prefix, int last) | ~~~~~~^~~~~~~~~~~~~~ dnstracer.c: In function 'main': dnstracer.c:1643:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1643 | unsigned char *s = h->h_addr_list[0]; | ^ dnstracer.c:1647:25: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 1647 | unsigned char *s = h->h_addr_list[0]; | ^ dnstracer.c: In function 'display_arecords': dnstracer.c:1022:20: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] 1022 | sprintf(s, "%%%ds", 40 - i); | ^~ dnstracer.c:1022:17: note: directive argument in the range [1, 2147483647] 1022 | sprintf(s, "%%%ds", 40 - i); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/include/resolv.h:58, from dnstracer.c:50: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 13 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' 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 -m64 -march=zEC12 -mtune=z13 -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' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SyaqIc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x ++ dirname /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x + cd dnstracer-1.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x 'INSTALL=/usr/bin/install -p' INSTALL=/usr/bin/install make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/bin mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/bin /usr/bin/install dnstracer /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/bin/dnstracer /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/man mkdir /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/man/man8 /usr/bin/install -m 644 ./dnstracer.8 /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/man/man8/dnstracer.8 make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.9-24.fc32 --unique-debug-suffix -1.9-24.fc32.s390x --unique-debug-src-base dnstracer-1.9-24.fc32.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dnstracer-1.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/bin/dnstracer extracting debug info from /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/bin/dnstracer original debug info size: 180kB, size after compression: 172kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 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/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dnstracer-1.9-24.fc32.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IB1I0c + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + DOCDIR=/builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/doc/dnstracer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/doc/dnstracer + cp -pr CHANGES /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/doc/dnstracer + cp -pr CONTACT /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/doc/dnstracer + cp -pr README /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/doc/dnstracer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XWST3f + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + LICENSEDIR=/builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/licenses/dnstracer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/licenses/dnstracer + cp -pr LICENSE /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x/usr/share/licenses/dnstracer + RPM_EC=0 ++ jobs -p + exit 0 Provides: dnstracer = 1.9-24.fc32 dnstracer(s390-64) = 1.9-24.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: dnstracer-debugsource-1.9-24.fc32.s390x Provides: dnstracer-debugsource = 1.9-24.fc32 dnstracer-debugsource(s390-64) = 1.9-24.fc32 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-24.fc32.s390x Provides: debuginfo(build-id) = 5398fa6083cfc5764e5254ad738c6a08204e57a2 dnstracer-debuginfo = 1.9-24.fc32 dnstracer-debuginfo(s390-64) = 1.9-24.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dnstracer-debugsource(s390-64) = 1.9-24.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x Wrote: /builddir/build/RPMS/dnstracer-debugsource-1.9-24.fc32.s390x.rpm Wrote: /builddir/build/RPMS/dnstracer-1.9-24.fc32.s390x.rpm Wrote: /builddir/build/RPMS/dnstracer-debuginfo-1.9-24.fc32.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tITYmf + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-24.fc32.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0