Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/epel9-build-37250136-4749739/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1659571200 Wrote: /builddir/build/SRPMS/dnstracer-1.9-28.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dnstracer.spec'], chrootPath='/var/lib/mock/epel9-build-37250136-4749739/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 x86_64 --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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1659571200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ne2Zaa + 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 . + /usr/bin/cat /builddir/build/SOURCES/no-strip-debug.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HTfL7h + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-08-04 22:30:44.560343037 +0000 +++ ./configure 2022-08-04 22:30:44.579343081 +0000 @@ -2724,7 +2724,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char inet_ntoa (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus @@ -2858,7 +2858,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char socket (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus @@ -2992,7 +2992,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gethostbyname (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus @@ -3718,7 +3718,7 @@ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char $ac_func (); -char (*f) (); +__attribute__ ((used)) char (*f) (); #ifdef F77_DUMMY_MAIN # ifdef __cplusplus + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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=x86_64-redhat-linux-gnu --host=x86_64-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 x86_64-redhat-linux-gnu-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 -O -j48 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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:31: 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:17: warning: variable 'pheader' set but not used [-Wunused-but-set-variable] 361 | char * pheader; | ^~~~~~~ dnstracer.c: In function 'get_resource': dnstracer.c:581:23: 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:22: 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:71: 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:60: 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:488, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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:37: 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:171:34: note: expected 'const char *' but argument is of type 'unsigned char *' 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ dnstracer.c: In function 'create_session': dnstracer.c:1259:42: 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:446, 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:26: 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:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1311:32: 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:42: 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:23: 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:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1337:47: 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:34: 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:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dnstracer.c:1359:60: 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:44: 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:488, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnstracer.c:1363:52: 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:47: 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:488, from /usr/include/unistd.h:25, from dnstracer.c:42: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ dnstracer.c:1399:48: 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:48: 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:52: 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:48: 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:32: 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:32: 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:27: 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:24: note: directive argument in the range [1, 2147483647] 1022 | sprintf(s, "%%%ds", 40 - i); | ^~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/resolv.h:58, from dnstracer.c:50: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 4 and 13 bytes into a destination of size 10 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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.ss0l2M + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 + cd dnstracer-1.9 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/dnstracer-1.9' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/bin mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/bin /usr/bin/install -p dnstracer /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/bin/dnstracer /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/man/man8 mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/man mkdir /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/man/man8 /usr/bin/install -p -m 644 ./dnstracer.8 /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/man/man8/dnstracer.8 make[1]: Leaving directory '/builddir/build/BUILD/dnstracer-1.9' + /usr/lib/rpm/find-debuginfo.sh -j48 --strict-build-id -m -i --build-id-seed 1.9-28.el9 --unique-debug-suffix -1.9-28.el9.x86_64 --unique-debug-src-base dnstracer-1.9-28.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/dnstracer-1.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/bin/dnstracer extracting debug info from /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/bin/dnstracer original debug info size: 84kB, size after compression: 84kB /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dnstracer-1.9-28.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hfLMyg + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + DOCDIR=/builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/doc/dnstracer + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/doc/dnstracer + cp -pr README /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/doc/dnstracer + cp -pr CONTACT /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/doc/dnstracer + cp -pr CHANGES /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/doc/dnstracer + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.tgQB0J + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + LICENSEDIR=/builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/licenses/dnstracer + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/licenses/dnstracer + cp -pr LICENSE /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64/usr/share/licenses/dnstracer + RPM_EC=0 ++ jobs -p + exit 0 Provides: dnstracer = 1.9-28.el9 dnstracer(x86-64) = 1.9-28.el9 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.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: dnstracer-debugsource-1.9-28.el9.x86_64 Provides: dnstracer-debugsource = 1.9-28.el9 dnstracer-debugsource(x86-64) = 1.9-28.el9 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-28.el9.x86_64 Provides: debuginfo(build-id) = 4cbbb2695ad9cd9f50fdfb7a190244b9de7b6d9c dnstracer-debuginfo = 1.9-28.el9 dnstracer-debuginfo(x86-64) = 1.9-28.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dnstracer-debugsource(x86-64) = 1.9-28.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 Wrote: /builddir/build/RPMS/dnstracer-debugsource-1.9-28.el9.x86_64.rpm Wrote: /builddir/build/RPMS/dnstracer-1.9-28.el9.x86_64.rpm Wrote: /builddir/build/RPMS/dnstracer-debuginfo-1.9-28.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ouscuw + umask 022 + cd /builddir/build/BUILD + cd dnstracer-1.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dnstracer-1.9-28.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0