Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ratools.spec'], chrootPath='/var/lib/mock/f40-build-748849-113995/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ratools.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 warning: extra tokens at the end of %endif directive in line 5: %endif # 0%{?fedora} || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 21: %endif # with_systemd warning: extra tokens at the end of %endif directive in line 61: %endif # with_systemd warning: extra tokens at the end of %endif directive in line 77: %endif # with_systemd Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Wrote: /builddir/build/SRPMS/ratools-0.6.2-21.fc40.src.rpm RPM build warnings: extra tokens at the end of %endif directive in line 5: %endif # 0%{?fedora} || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 21: %endif # with_systemd extra tokens at the end of %endif directive in line 61: %endif # with_systemd extra tokens at the end of %endif directive in line 77: %endif # with_systemd Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ratools.spec'], chrootPath='/var/lib/mock/f40-build-748849-113995/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ratools.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 warning: extra tokens at the end of %endif directive in line 5: %endif # 0%{?fedora} || 0%{?rhel} >= 7 warning: extra tokens at the end of %endif directive in line 21: %endif # with_systemd warning: extra tokens at the end of %endif directive in line 61: %endif # with_systemd warning: extra tokens at the end of %endif directive in line 77: %endif # with_systemd Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689897600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gCMaqu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ratools-0.6.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ratools-0.6.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ratools-0.6.2 + rm -rf /builddir/build/BUILD/ratools-0.6.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ratools-0.6.2-SPECPARTS + /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.2QMs9T + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ratools-0.6.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer' + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + make -j4 -C src/ make: Entering directory '/builddir/build/BUILD/ratools-0.6.2/src' gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c library.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c log.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c module.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c multicast.c library.c: In function ‘rat_lib_bytes_to_str’: library.c:463:16: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] 463 | const char const *sfx[] = { | ^~~~~ gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c packetset.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c ra.c library.c: In function ‘rat_lib_6addr_ok’: library.c:342:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 342 | if (inet_pton(AF_INET6, buf, addr) == 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from library.c:23: /usr/include/arpa/inet.h:58:12: note: by argument 2 of type ‘const char * restrict’ to ‘inet_pton’ declared here 58 | extern int inet_pton (int __af, const char *__restrict __cp, | ^~~~~~~~~ library.c:338:10: note: ‘buf’ declared here 338 | char buf[INET6_ADDRSTRLEN]; | ^~~ gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_mtu.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_sll.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_pi.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_rdnss.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_exp.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c opt_cpuri.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c rad.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c ractl.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o racomplete-ractl.o racomplete-ractl.c rad.c: In function ‘rat_db_add_opt’: rad.c:249:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 249 | for (cur = db->db_opt; cur->opt_next; cur = cur->opt_next); | ^~~ rad.c:250:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 250 | cur->opt_next = opt; | ^~~ mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../bin/racomplete-ractl library.o log.o module.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o racomplete-ractl.o mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../bin/ractl library.o log.o module.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o opt_cpuri.o ractl.o rad.c: In function ‘rat_rad_ctl_print_value’: rad.c:1143:54: warning: ‘__snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 1143 | snprintf(cry.cry_msg, RAT_CTL_REPLY_MSG_LEN, "%*s", -16, tmp); | ^ In file included from /usr/include/stdio.h:980, from ratools.h:26, from rad.h:24, from rad.c:21: In function ‘snprintf’, inlined from ‘rat_rad_ctl_print_value’ at rad.c:1143:5: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 17 and 124 bytes into a destination of size 123 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rad.c: In function ‘rat_rad_ctl_print_comment’: rad.c:1217:54: warning: ‘%s’ directive output may be truncated writing up to 123 bytes into a region of size between 0 and 122 [-Wformat-truncation=] 1217 | snprintf(cry.cry_msg, RAT_CTL_REPLY_MSG_LEN, "%*s%s\n", indent, " ", tmp); | ^~ ~~~ In function ‘snprintf’, inlined from ‘rat_rad_ctl_print_comment’ at rad.c:1217:5: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 3 and 380 bytes into a destination of size 123 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rad.c: In function ‘rat_rad_ctl_print_info’: rad.c:1177:56: warning: ‘%s’ directive output may be truncated writing up to 123 bytes into a region of size 122 [-Wformat-truncation=] 1177 | snprintf(cry.cry_msg, RAT_CTL_REPLY_MSG_LEN, "(%s)\n", tmp); | ^~ ~~~ In function ‘snprintf’, inlined from ‘rat_rad_ctl_print_info’ at rad.c:1177:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 127 bytes into a destination of size 123 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rad.c: In function ‘rat_rad_ctl_print_title’: rad.c:1073:57: warning: ‘ ’ directive output may be truncated writing 1 byte into a region of size between 0 and 123 [-Wformat-truncation=] 1073 | snprintf(cry.cry_msg, RAT_CTL_REPLY_MSG_LEN, "%s\n", tmp); | ^~ In function ‘snprintf’, inlined from ‘rat_rad_ctl_print_title’ at rad.c:1073:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 2 and 125 bytes into a destination of size 123 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ rad.c: In function ‘rat_rad_ctl_print_title’: rad.c:1071:58: warning: ‘%s’ directive output may be truncated writing up to 123 bytes into a region of size between 0 and 121 [-Wformat-truncation=] 1071 | snprintf(cry.cry_msg, RAT_CTL_REPLY_MSG_LEN, "%*s%s\n", in, " ", tmp); | ^~ ~~~ In function ‘snprintf’, inlined from ‘rat_rad_ctl_print_title’ at rad.c:1071:9: /usr/include/bits/stdio2.h:54:10: note: ‘__snprintf_chk’ output between 4 and 380 bytes into a destination of size 123 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In function ‘rat_lib_6addr_ok’, inlined from ‘rat_opt_rdnss_add_server’ at opt_rdnss.c:430:10: library.c:342:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 342 | if (inet_pton(AF_INET6, buf, addr) == 0) | ^ /usr/include/arpa/inet.h: In function ‘rat_opt_rdnss_add_server’: /usr/include/arpa/inet.h:58:12: note: by argument 2 of type ‘const char * restrict’ to ‘inet_pton’ declared here 58 | extern int inet_pton (int __af, const char *__restrict __cp, | ^ library.c:338:10: note: ‘buf’ declared here 338 | char buf[INET6_ADDRSTRLEN]; | ^ In function ‘rat_lib_6addr_ok’, inlined from ‘rat_opt_rdnss_add_server’ at opt_rdnss.c:430:10: library.c:342:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 342 | if (inet_pton(AF_INET6, buf, addr) == 0) | ^ /usr/include/arpa/inet.h: In function ‘rat_opt_rdnss_add_server’: /usr/include/arpa/inet.h:58:12: note: by argument 2 of type ‘const char * restrict’ to ‘inet_pton’ declared here 58 | extern int inet_pton (int __af, const char *__restrict __cp, | ^ library.c:338:10: note: ‘buf’ declared here 338 | char buf[INET6_ADDRSTRLEN]; | ^ mkdir -p "../bash-completion.d" ../bin/racomplete-ractl > ../bash-completion.d/ractl.sh mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../bin/rad library.o log.o module.o multicast.o packetset.o ra.o opt_mtu.o opt_sll.o opt_pi.o opt_rdnss.o opt_exp.o opt_cpuri.o rad.o In function ‘rat_lib_6addr_ok’, inlined from ‘rat_opt_rdnss_add_server’ at opt_rdnss.c:430:10: library.c:342:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 342 | if (inet_pton(AF_INET6, buf, addr) == 0) | ^ /usr/include/arpa/inet.h: In function ‘rat_opt_rdnss_add_server’: /usr/include/arpa/inet.h:58:12: note: by argument 2 of type ‘const char * restrict’ to ‘inet_pton’ declared here 58 | extern int inet_pton (int __af, const char *__restrict __cp, | ^ library.c:338:10: note: ‘buf’ declared here 338 | char buf[INET6_ADDRSTRLEN]; | ^ make: Leaving directory '/builddir/build/BUILD/ratools-0.6.2/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YK3YKj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ratools-0.6.2 + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/bin + install -pm 0755 bin/rad /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/bin/rad + install -pm 0755 bin/ractl /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/bin/ractl + mkdir -p '/builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/etc/bash_completion.d/*' + install -pm 0644 bash-completion.d/ractl.sh /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/etc/bash_completion.d/ractl + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/man/man8 + install -pm 0644 man/ractl.8 man/rad.8 /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/lib/systemd/system + install -pm 0644 systemd/ratools-rad.service /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/lib/systemd/system/ratools-rad.service + install -pm 0644 systemd/ratools-rad.socket /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/lib/systemd/system/ratools-rad.socket + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.6.2-21.fc40 --unique-debug-suffix -0.6.2-21.fc40.riscv64 --unique-debug-src-base ratools-0.6.2-21.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ratools-0.6.2 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/ratools-0.6.2-21.fc40.riscv64 748 blocks find-debuginfo: done + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ratools-0.6.2-21.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mzV1Le + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/doc/ratools + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/doc/ratools + cp -pr /builddir/build/BUILD/ratools-0.6.2/README.md /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/doc/ratools + cp -pr /builddir/build/BUILD/ratools-0.6.2/example.conf /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/doc/ratools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.y04D2x + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/licenses/ratools + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/licenses/ratools + cp -pr /builddir/build/BUILD/ratools-0.6.2/LICENSE /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64/usr/share/licenses/ratools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ratools) = 0.6.2-21.fc40 ratools = 0.6.2-21.fc40 ratools(riscv-64) = 0.6.2-21.fc40 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd 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) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: ratools-debugsource-0.6.2-21.fc40.riscv64 Provides: ratools-debugsource = 0.6.2-21.fc40 ratools-debugsource(riscv-64) = 0.6.2-21.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ratools-debuginfo-0.6.2-21.fc40.riscv64 Provides: debuginfo(build-id) = 23cb3d838f69f68032d825cf2b1171a214dd7895 debuginfo(build-id) = 676b9b982b06b4ea19a3c8fe30a419ba374f2e0d ratools-debuginfo = 0.6.2-21.fc40 ratools-debuginfo(riscv-64) = 0.6.2-21.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ratools-debugsource(riscv-64) = 0.6.2-21.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 Wrote: /builddir/build/RPMS/ratools-0.6.2-21.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ratools-debuginfo-0.6.2-21.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ratools-debugsource-0.6.2-21.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Q7E09V + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-21.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.JtsAwL + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ratools-0.6.2-SPECPARTS + rm -rf ratools-0.6.2 ratools-0.6.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: extra tokens at the end of %endif directive in line 5: %endif # 0%{?fedora} || 0%{?rhel} >= 7 extra tokens at the end of %endif directive in line 21: %endif # with_systemd extra tokens at the end of %endif directive in line 61: %endif # with_systemd extra tokens at the end of %endif directive in line 77: %endif # with_systemd Child return code was: 0