Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ii.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1668209014.880962/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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', '72b29c88f2c9435c864971be2ea57a0b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1668209014.880962/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --nodeps /builddir/build/SPECS/ii.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Wrote: /builddir/build/SRPMS/ii-1.8-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ii.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1668209014.880962/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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', '94ee3240094a47c681124586efb0817c', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1668209014.880962/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ivps5cba:/etc/resolv.conf', '--bind=/dev/btrfs-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 x86_64 --nodeps /builddir/build/SPECS/ii.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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642636800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8nXCCn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ii-1.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ii-1.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ii-1.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i 's!^PREFIX *=.*!PREFIX = /usr!' config.mk + sed -i 's!^CFLAGS *= \(.*\)!CFLAGS = \1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection!' config.mk + sed -i 's!^LDFLAGS *= \(.*\)!LDFLAGS = \1 -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!' config.mk + sed -i 's!^LDFLAGS *= -s \(.*\)!LDFLAGS = \1!' config.mk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NxXPnW + 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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ii-1.8 + /usr/bin/make -O -j2 V=1 VERBOSE=1 cc -c -o strlcpy.o strlcpy.c -Os -I. -I/usr/include -DVERSION=\"1.8\" -std=c99 -D_DEFAULT_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection cc -c -o ii.o ii.c -Os -I. -I/usr/include -DVERSION=\"1.8\" -std=c99 -D_DEFAULT_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ii.c: In function 'main': ii.c:536:51: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 536 | snprintf(msg, sizeof(msg), "%s\r\n", &buf[1]); | ^ In file included from /usr/include/stdio.h:906, from ii.c:17: In function 'snprintf', inlined from 'proc_channels_input' at ii.c:536:3, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 513 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:490:71: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size between 305 and 504 [-Wformat-truncation=] 490 | snprintf(msg, sizeof(msg), "TOPIC %s :%s\r\n", c->name, &buf[3]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:490:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 11 and 718 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:522:67: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 506 [-Wformat-truncation=] 522 | snprintf(msg, sizeof(msg), "QUIT :%s\r\n", &buf[3]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:522:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 517 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:505:66: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 507 [-Wformat-truncation=] 504 | strlcpy(_nick, &buf[3], sizeof(_nick)); | ~~~~~~~ 505 | snprintf(msg, sizeof(msg), "NICK %s\r\n", &buf[3]); | ^~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:505:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 516 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:512:70: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size between 306 and 505 [-Wformat-truncation=] 512 | snprintf(msg, sizeof(msg), "PART %s :%s\r\n", c->name, &buf[3]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:512:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 10 and 717 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:480:74: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 507 [-Wformat-truncation=] 471 | if ((p = strchr(&buf[3], ' '))) /* password parameter */ | ~~~~~~~ ...... 480 | snprintf(msg, sizeof(msg), "JOIN %s\r\n", &buf[3]); | ^~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:480:6, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 8 and 516 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:478:74: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 507 [-Wformat-truncation=] 471 | if ((p = strchr(&buf[3], ' '))) /* password parameter */ | ~~~~~~~ ...... 478 | snprintf(msg, sizeof(msg), "JOIN %s %s\r\n", &buf[3], p + 1); | ^~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:478:6, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 9 or more bytes (assuming 517) into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:494:78: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size between 467 and 498 [-Wformat-truncation=] 494 | snprintf(msg, sizeof(msg), "-!- %s is away \"%s\"", nick, &buf[3]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:494:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 16 and 555 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:498:67: warning: '%s' directive output may be truncated writing up to 508 bytes into a region of size 506 [-Wformat-truncation=] 494 | snprintf(msg, sizeof(msg), "-!- %s is away \"%s\"", nick, &buf[3]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ...... 498 | snprintf(msg, sizeof(msg), "AWAY :%s\r\n", &buf[3]); | ^~ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:498:5, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 9 and 517 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ii.c: In function 'main': ii.c:531:59: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 531 | snprintf(msg, sizeof(msg), "%s\r\n", &buf[1]); | ^ In function 'snprintf', inlined from 'proc_channels_input' at ii.c:531:4, inlined from 'handle_channels_input' at ii.c:687:2, inlined from 'run' at ii.c:765:5, inlined from 'main' at ii.c:843:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 513 bytes into a destination of size 512 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -o ii ii.o strlcpy.o -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hF4P4X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ii-1.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 'INSTALL=/usr/bin/install -p' mkdir -p /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii mkdir -p /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/bin mkdir -p /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/man/man1 install -d /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/bin /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/man/man1 install -m 644 CHANGES README FAQ LICENSE /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii install -m 775 ii /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/bin sed "s/VERSION/1.8/g" < ii.1 > /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/man/man1/ii.1 chmod 644 /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/man/man1/ii.1 + rm -f /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64//usr/share/doc/ii/LICENSE + chmod 755 /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64//usr/bin/ii + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.8-4.fc38 --unique-debug-suffix -1.8-4.fc38.x86_64 --unique-debug-src-base ii-1.8-4.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ii-1.8 extracting debug info from /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/bin/ii original debug info size: 72kB, size after compression: 68kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 41 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: ii-1.8-4.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rufs0W + umask 022 + cd /builddir/build/BUILD + cd ii-1.8 + DOCDIR=/builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii + cp -pr CHANGES /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii + cp -pr FAQ /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii + cp -pr README /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/doc/ii + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8abeYO + umask 022 + cd /builddir/build/BUILD + cd ii-1.8 + LICENSEDIR=/builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/licenses/ii + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/licenses/ii + cp -pr LICENSE /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64/usr/share/licenses/ii + RPM_EC=0 ++ jobs -p + exit 0 Provides: ii = 1.8-4.fc38 ii(x86-64) = 1.8-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: ii-debugsource-1.8-4.fc38.x86_64 Provides: ii-debugsource = 1.8-4.fc38 ii-debugsource(x86-64) = 1.8-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ii-debuginfo-1.8-4.fc38.x86_64 Provides: debuginfo(build-id) = 65ac073af92d239a7cfa57573d5a4cabf79c8c85 ii-debuginfo = 1.8-4.fc38 ii-debuginfo(x86-64) = 1.8-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ii-debugsource(x86-64) = 1.8-4.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 Wrote: /builddir/build/RPMS/ii-1.8-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ii-debuginfo-1.8-4.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ii-debugsource-1.8-4.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.msdBga + umask 022 + cd /builddir/build/BUILD + cd ii-1.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ii-1.8-4.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.r046IX + umask 022 + cd /builddir/build/BUILD + rm -rf ii-1.8 ii-1.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0