Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/ratools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672233954.613512/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e13b2e307be144c6b08fa1525ed91eaa', '-D', '/var/lib/mock/fedora-rawhide-i686-1672233954.613512/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/ratools-0.6.2-19.fc38.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 i686 --nodeps /builddir/build/SPECS/ratools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672233954.613512/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1dce2d5393fd4e489f016a3019467ec4', '-D', '/var/lib/mock/fedora-rawhide-i686-1672233954.613512/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.89d9jf56:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nCREi3 + 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 + /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.JAw2aU + umask 022 + cd /builddir/build/BUILD + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 -j2 -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c library.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c log.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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c module.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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c multicast.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c packetset.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ra.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c rad.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; | ^~~ gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ractl.c gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o racomplete-ractl.o racomplete-ractl.c mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -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:906, 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 ()); | ~~~~~~~~~~~~~~~~~ mkdir -p "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -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 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 "../bin" gcc -O2 -std=gnu99 -pedantic -Wall -Wextra -pthread -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -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]; | ^ mkdir -p "../bash-completion.d" ../bin/racomplete-ractl > ../bash-completion.d/ractl.sh 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.aMVlzf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 ++ dirname /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 + 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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/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 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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/lib: + 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-19.fc38.i386/usr/bin + install -pm 0755 bin/rad /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/bin/rad + install -pm 0755 bin/ractl /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/bin/ractl + mkdir -p '/builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/etc/bash_completion.d/*' + install -pm 0644 bash-completion.d/ractl.sh /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/etc/bash_completion.d/ractl + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/man/man8 + install -pm 0644 man/ractl.8 man/rad.8 /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/man/man8 + mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/lib/systemd/system + install -pm 0644 systemd/ratools-rad.service /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/lib/systemd/system/ratools-rad.service + install -pm 0644 systemd/ratools-rad.socket /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/lib/systemd/system/ratools-rad.socket + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.6.2-19.fc38 --unique-debug-suffix -0.6.2-19.fc38.i386 --unique-debug-src-base ratools-0.6.2-19.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ratools-0.6.2 extracting debug info from /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/bin/ractl extracting debug info from /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/bin/rad original debug info size: 392kB, size after compression: 336kB /usr/bin/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 748 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ratools-0.6.2-19.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bTOSVi + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + DOCDIR=/builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/doc/ratools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/doc/ratools + cp -pr README.md /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/doc/ratools + cp -pr example.conf /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/doc/ratools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.opu7rw + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + LICENSEDIR=/builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/licenses/ratools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/licenses/ratools + cp -pr LICENSE /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386/usr/share/licenses/ratools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(ratools) = 0.6.2-19.fc38 ratools = 0.6.2-19.fc38 ratools(x86-32) = 0.6.2-19.fc38 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: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.3.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.32) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) rtld(GNU_HASH) Processing files: ratools-debugsource-0.6.2-19.fc38.i686 Provides: ratools-debugsource = 0.6.2-19.fc38 ratools-debugsource(x86-32) = 0.6.2-19.fc38 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-19.fc38.i686 Provides: debuginfo(build-id) = 3afd91c0542f9d8b88da35152eb741c21c6cf0fa debuginfo(build-id) = 756ddff8cfd5cc936c6d1c48c7559e1c5c155502 ratools-debuginfo = 0.6.2-19.fc38 ratools-debuginfo(x86-32) = 0.6.2-19.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ratools-debugsource(x86-32) = 0.6.2-19.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 Wrote: /builddir/build/RPMS/ratools-debuginfo-0.6.2-19.fc38.i686.rpm Wrote: /builddir/build/RPMS/ratools-debugsource-0.6.2-19.fc38.i686.rpm Wrote: /builddir/build/RPMS/ratools-0.6.2-19.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TMWP0i + umask 022 + cd /builddir/build/BUILD + cd ratools-0.6.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ratools-0.6.2-19.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.249s0l + umask 022 + cd /builddir/build/BUILD + 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