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/checkdns.spec'], chrootPath='/var/lib/mock/f31-build-56849-28250/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/checkdns.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=1548892800 Wrote: /builddir/build/SRPMS/checkdns-0.5-25.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/checkdns.spec'], chrootPath='/var/lib/mock/f31-build-56849-28250/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/checkdns.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=1548892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qIRlbk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf checkdns-0.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/checkdns-0.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd checkdns-0.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (checkdns-0.5.config_location.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .config_location --fuzz=0 + mv Makefile Makefile.dist + mv Makefile.Linux Makefile + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (checkdns-0.5.config_location.patch): patching file main.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ECRR8k + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.5 + 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 + make -j4 BUILDSTDERR: html.c: In function 'html_output_start': BUILDSTDERR: html.c:61:34: warning: unknown conversion type character '"' in format [-Wformat=] BUILDSTDERR: 61 | fprintf(fd, "\n"); BUILDSTDERR: | ^~ BUILDSTDERR: html.c: In function 'write_html': BUILDSTDERR: html.c:115:49: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: 115 | snprintf(htmlfile, MIDBUFSIZE - 1, "%s/%s.html\0", html_output_dir, type); BUILDSTDERR: | ^~ BUILDSTDERR: html.c:117:48: warning: embedded '\0' in format [-Wformat-contains-nul] BUILDSTDERR: 117 | snprintf(htmlfile, MIDBUFSIZE - 1, "%s%s.html\0", html_output_dir, type); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from html.c:11: BUILDSTDERR: html.c: At top level: BUILDSTDERR: main.h:31:13: warning: 'check_startup_variable' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 31 | static void check_startup_variable(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.h:32:13: warning: 'version' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 32 | static void version(); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: main.h:33:13: warning: 'usage' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 33 | static void usage(); BUILDSTDERR: | ^~~~~ BUILDSTDERR: dns.c: In function 'add_to_list': BUILDSTDERR: dns.c:37:9: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] BUILDSTDERR: 37 | (void) strncpy(new_drec->name, domain, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dns.c:37:9: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: dns.c:21:1: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: 20 | #include "langcfg.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 21 | BUILDSTDERR: dns.c:40:3: warning: implicit declaration of function 'bzero' [-Wimplicit-function-declaration] BUILDSTDERR: 40 | bzero(new_drec->mx1, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: dns.c:40:3: warning: incompatible implicit declaration of built-in function 'bzero' BUILDSTDERR: dns.c:48:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] BUILDSTDERR: 48 | if (strlen(name_server1_extra) > 0 && strlen(name_server2_extra) > 0) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dns.c:48:6: warning: incompatible implicit declaration of built-in function 'strlen' BUILDSTDERR: dns.c:48:6: note: include '' or provide a declaration of 'strlen' BUILDSTDERR: dns.c:51:6: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] BUILDSTDERR: 51 | if (strcmp(new_drec->ns1, "") == 0 && strcmp(new_drec->ns2, "") == 0) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: dns.c:54:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 54 | } else if (strcmp(new_drec->ns1, name_server1) == 0 && strcmp(new_drec->ns2, name_server2) == 0 || strcmp(new_drec->ns1, name_server2) == 0 && strcmp(new_drec->ns2, name_server1) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:57:75: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 57 | } else if (extdns != 0 && strcmp(new_drec->ns1, name_server1_extra) == 0 && strcmp(new_drec->ns2, name_server2_extra) == 0 || extdns != 0 && strcmp(new_drec->ns1, name_server2_extra) == 0 && strcmp(new_drec->ns2, name_server1_extra) == 0) { BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:67:4: warning: incompatible implicit declaration of built-in function 'bzero' BUILDSTDERR: 67 | bzero(new_drec->www, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: dns.c: In function 'get_www_ip': BUILDSTDERR: dns.c:97:9: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: 97 | (void) strncpy(www, inet_ntoa(*((struct in_addr *)host->h_addr)), TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dns.c:97:9: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: dns.c: In function 'get_dns_record': BUILDSTDERR: dns.c:126:2: warning: incompatible implicit declaration of built-in function 'bzero' BUILDSTDERR: 126 | bzero(rec1, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~ BUILDSTDERR: dns.c:225:12: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: 225 | (void) strncpy(rec1, buf, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dns.c:225:12: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: dns.c:227:12: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: 227 | (void) strncpy(rec2, buf, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dns.c:227:12: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: dns.c:120:17: warning: variable 'pref' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 120 | unsigned short pref, type; BUILDSTDERR: | ^~~~ BUILDSTDERR: dns.c:118:27: warning: variable 'ttl' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 118 | int ret = 0, rd_len = 0, ttl, n = 0; BUILDSTDERR: | ^~~ BUILDSTDERR: dns.c: In function 'copy_drec': BUILDSTDERR: dns.c:238:9: warning: incompatible implicit declaration of built-in function 'strncpy' BUILDSTDERR: 238 | (void) strncpy(dest_drec->name, src_drec->name, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: dns.c:238:9: note: include '' or provide a declaration of 'strncpy' BUILDSTDERR: In file included from dns.c:18: BUILDSTDERR: dns.c: At top level: BUILDSTDERR: main.h:31:13: warning: 'check_startup_variable' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 31 | static void check_startup_variable(); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.h:32:13: warning: 'version' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 32 | static void version(); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: main.h:33:13: warning: 'usage' declared 'static' but never defined [-Wunused-function] BUILDSTDERR: 33 | static void usage(); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from langcfg.c:11: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:157:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:154:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:151:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:148:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:145:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:142:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:139:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:136:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:133:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:130:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:127:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:124:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:121:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:118:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:115:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:112:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:109:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:106:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:103:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadlang' at langcfg.c:100:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 128 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from loadconfig.c:11: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:120:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:117:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:114:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:111:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:108:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:105:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:102:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:99:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:95:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'loadconfig' at loadconfig.c:91:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c: In function 'get_dns_record': BUILDSTDERR: dns.c:227:12: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 227 | (void) strncpy(rec2, buf, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:225:12: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 1023 [-Wstringop-truncation] BUILDSTDERR: 225 | (void) strncpy(rec1, buf, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c: In function 'copy_drec': BUILDSTDERR: dns.c:238:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 238 | (void) strncpy(dest_drec->name, src_drec->name, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:239:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 239 | (void) strncpy(dest_drec->name, src_drec->name, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:240:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 240 | (void) strncpy(dest_drec->ns1, src_drec->ns1, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:241:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 241 | (void) strncpy(dest_drec->ns2, src_drec->ns2, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:242:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 242 | (void) strncpy(dest_drec->mx1, src_drec->mx1, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:243:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 243 | (void) strncpy(dest_drec->mx2, src_drec->mx2, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: dns.c:244:9: warning: 'strncpy' output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] BUILDSTDERR: 244 | (void) strncpy(dest_drec->www, src_drec->www, TINYBUFSIZE-1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tools.c: In function 'get_date': BUILDSTDERR: tools.c:19:29: warning: '%02d' directive output may be truncated writing between 2 and 11 bytes into a region of size between 8 and 18 [-Wformat-truncation=] BUILDSTDERR: 19 | snprintf(cur_date, 20, "%d/%02d/%02d %02d:%02d:%02d", (t->tm_year+1900), t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); BUILDSTDERR: | ^~~~ BUILDSTDERR: tools.c:19:25: note: directive argument in the range [-2147483647, 2147483647] BUILDSTDERR: 19 | snprintf(cur_date, 20, "%d/%02d/%02d %02d:%02d:%02d", (t->tm_year+1900), t->tm_mon+1, t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from tools.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 17 and 72 bytes into a destination of size 20 BUILDSTDERR: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 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 -c -o loadconfig.o loadconfig.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 -c -o langcfg.o langcfg.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 -c -o html.o html.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 -c -o dns.o dns.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 -c -o tools.o tools.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 -c -o main.o main.c gcc -o checkdns loadconfig.o langcfg.o html.o dns.o tools.o main.o -lresolv Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ENNq4k + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 + cd checkdns-0.5 + install -D -p checkdns /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//usr/sbin/checkdns + install -d /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//etc + sed -e /html_output_dir/s@usr/local/apache/htdocs@var/www/html@ -e /lang_file/s@local/@@ checkdns.conf-dist + install -D -p -m 0640 /builddir/build/SOURCES/checkdns.cron /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//etc/cron.d/checkdns + install -D -p -m 0644 checkdns.css /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//var/www/html/checkdns/checkdns.css + install -d /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//usr/share/checkdns + cp -rp lang /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64//usr/share/checkdns + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.5-25.fc31 --unique-debug-suffix -0.5-25.fc31.riscv64 --unique-debug-src-base checkdns-0.5-25.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/checkdns-0.5 BUILDSTDERR: 60 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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/sbin/checkdns extracting debug info from /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/sbin/checkdns original debug info size: 112kB, size after compression: 104kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: checkdns-0.5-25.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k8cCFi + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.5 + DOCDIR=/builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr AUTHORS /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr ChangeLog /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr COPYING /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr INSTALL /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr LICENSE /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr README /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr THANKS /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + cp -pr TODO /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64/usr/share/doc/checkdns + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: checkdns = 0.5-25.fc31 checkdns(riscv-64) = 0.5-25.fc31 config(checkdns) = 0.5-25.fc31 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils 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) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: checkdns-debugsource-0.5-25.fc31.riscv64 Provides: checkdns-debugsource = 0.5-25.fc31 checkdns-debugsource(riscv-64) = 0.5-25.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: checkdns-debuginfo-0.5-25.fc31.riscv64 Provides: checkdns-debuginfo = 0.5-25.fc31 checkdns-debuginfo(riscv-64) = 0.5-25.fc31 debuginfo(build-id) = ec34d5ae35935bc48c2e04e3b5def13d62f62a14 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: checkdns-debugsource(riscv-64) = 0.5-25.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 Wrote: /builddir/build/RPMS/checkdns-debugsource-0.5-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/checkdns-0.5-25.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/checkdns-debuginfo-0.5-25.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0HgiOj + umask 022 + cd /builddir/build/BUILD + cd checkdns-0.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/checkdns-0.5-25.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0