Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/smstools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670681898.810636/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.wrtd1gg7:/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.wrtd1gg7:/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', '4af8b421a8a3444ab1fab7b78adf1f30', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670681898.810636/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wrtd1gg7:/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 x86_64 --nodeps /builddir/build/SPECS/smstools.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=1670630400 Wrote: /builddir/build/SRPMS/smstools-3.1.21-26.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/smstools.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1670681898.810636/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.wrtd1gg7:/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.wrtd1gg7:/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', 'a9adeac52ec0422c8df15dbb0ff7eafe', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1670681898.810636/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wrtd1gg7:/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 x86_64 --nodeps /builddir/build/SPECS/smstools.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=1670630400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.styywf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf smstools3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/smstools3-3.1.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd smstools3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (gcc10.patch):' Patch #0 (gcc10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file src/Makefile Patch #1 (gcc10_2nd.patch): + echo 'Patch #1 (gcc10_2nd.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/smsd_cfg.h patching file src/smsd_cfg.c patching file src/logging.c patching file src/logging.h patching file src/stats.c patching file src/stats.h patching file src/blacklist.c patching file src/blacklist.h patching file src/whitelist.c patching file src/whitelist.h Patch #2 (sendsms_group.patch): + echo 'Patch #2 (sendsms_group.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file scripts/sendsms + mv doc manual + mv examples/.procmailrc examples/procmailrc + mv examples/.qmailrc examples/qmailrc + find scripts/ examples/ manual/ -type f -print0 + xargs -0 chmod 644 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4RQn67 + 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 smstools3 + make -C src '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 -D NUMBER_OF_MODEMS=64' 'LFLAGS=-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' -j2 make: Entering directory '/builddir/build/BUILD/smstools3/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o extras.o extras.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o locking.o locking.c locking.c: In function 'lockfile': locking.c:52:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 52 | write(lockfile, pid, strlen(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function 'write_pid': extras.c:1252:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1252 | write(pidfile, pid, strlen(pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o cfgfile.o cfgfile.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o logging.o logging.c logging.c: In function 'writelogfile': logging.c:216:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 216 | write(Filehandle,text2,strlen(text2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'flush_smart_logging': logging.c:305:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 305 | write(Filehandle_trouble, trouble_logging_buffer, strlen(trouble_logging_buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:314:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 314 | write(Filehandle_trouble, text2, strlen(text2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:334:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 334 | write(Filehandle_trouble, text2, strlen(text2)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function 'my_system': extras.c:1077:42: warning: '/smsd_' directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); | ^~~~~~ In file included from /usr/include/stdio.h:906, from extras.h:18, from extras.c:30: In function 'snprintf', inlined from 'my_system' at extras.c:1077:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 17 or more bytes (assuming 4112) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ extras.c: In function 'my_system': extras.c:1087:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); | ^~ ~~~~~~ In function 'snprintf', inlined from 'my_system' at extras.c:1087:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 18 or more bytes (assuming 4113) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o alarm.o alarm.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o smsd_cfg.o smsd_cfg.c extras.c: In function 'make_datetime_string': extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=] 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); | ^~~~ extras.c:1670:40: note: directive argument in the range [-2147483, 2147483] 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); | ^~~~~~ In function 'snprintf', inlined from 'make_datetime_string' at extras.c:1670:7: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 4 and 9 bytes into a destination of size 7 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ extras.c: In function 'make_datetime_string': extras.c:1671:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1671 | strncpy(p, buffer, strlen(buffer)); | ^ extras.c:1671:7: note: length computed here 1671 | strncpy(p, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c:1666:7: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 1666 | strncpy(p, buffer, strlen(buffer)); | ^ extras.c:1666:7: note: length computed here 1666 | strncpy(p, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3737:17: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 3737 | read(fd, tmp, sizeof(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o charset.o charset.c smsd_cfg.c: In function 'apply_modemname': smsd_cfg.c:762:25: warning: '%s' directive writing up to 4104 bytes into a region of size between 0 and 4096 [-Wformat-overflow=] 762 | sprintf(tmp, "%.*s%s%s", (int)(p -value), value, device_name, p +9); | ^~ In file included from /usr/include/stdio.h:906, from smsd_cfg.c:15: In function 'sprintf', inlined from 'apply_modemname' at smsd_cfg.c:762:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 1 or more bytes (assuming 4106) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ charset.c: In function 'decode_7bit_packed': charset.c:904:49: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 510 [-Wformat-truncation=] 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:906, from charset.c:16: In function 'snprintf', inlined from 'decode_7bit_packed' at charset.c:904:2: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 3 and 515 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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o stats.o stats.c stats.c: In function 'loadstats': stats.c:200:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | fread(tmp, strlen(statistics_current_version) +1, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:206:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 206 | fread(&saved_time, sizeof(time_t), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:207:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 207 | fread(&start_time, sizeof(time_t), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:212:11: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 212 | fread(statistics[i], sizeof(_stats), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'savestats.part.0': stats.c:168:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 168 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:906, from stats.c:15: In function 'sprintf', inlined from 'savestats.part.0' at stats.c:168:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stats.c: In function 'update_message_counter.part.0': stats.c:338:29: warning: '.counter' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 338 | sprintf(filename, "%s/%s.counter", d_stats, modemname); | ^~~~~~~~ In function 'sprintf', inlined from 'update_message_counter.part.0' at stats.c:338:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 10 or more bytes (assuming 4105) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status.part.0': stats.c:390:29: warning: '/status.tmp' directive writing 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 390 | sprintf(fname_tmp, "%s/status.tmp", d_stats); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'write_status.part.0' at stats.c:390:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 4107 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status.part.0': stats.c:481:27: warning: '/status' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 481 | sprintf(fname, "%s/status", d_stats); | ^~~~~~~ In function 'sprintf', inlined from 'write_status.part.0' at stats.c:481:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 8 and 4103 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ stats.c: In function 'loadstats': stats.c:197:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 197 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~ In function 'sprintf', inlined from 'loadstats' at stats.c:197:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 4106 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o blacklist.o blacklist.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o whitelist.o whitelist.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o modeminit.o modeminit.c smsd_cfg.c: In function 'readcfg': smsd_cfg.c:2669:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); | ^~ ~~~~~ In function 'snprintf', inlined from 'readcfg' at smsd_cfg.c:2669:11: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ modeminit.c: In function 'talk_with_modem': modeminit.c:2628:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2628 | write(STDOUT_FILENO, tmp, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3477:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] 3477 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); | ^~ ~~~ In function 'snprintf', inlined from 'startup_check' at smsd_cfg.c:3477:11: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3486:54: warning: '%s' directive output may be truncated writing up to 329727 bytes into a region of size 4075 [-Wformat-truncation=] 3486 | snprintf(tmp, sizeof(tmp), "Queues are used, but %s is not served by any modem.", queues[x].name); | ^~ In function 'snprintf', inlined from 'startup_check' at smsd_cfg.c:3486:5: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 50 and 329777 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3704:28: warning: '/smsd_data.XXXXXX' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3704 | sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'startup_check' at smsd_cfg.c:3704:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 4113 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3713:32: warning: '/smsd_script.XXXXXX' directive writing 19 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3713 | sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); | ^~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'startup_check' at smsd_cfg.c:3713:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 20 and 4115 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.c: In function 'startup_check': smsd_cfg.h:35:32: warning: '%s' directive writing up to 2991359 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ In function 'sprintf', inlined from 'startup_check' at smsd_cfg.c:3797:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 2995469 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.h:35:32: warning: '%s' directive writing up to 2991359 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ In function 'sprintf', inlined from 'startup_check' at smsd_cfg.c:3808:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 2995469 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3944:40: warning: '%s' directive writing up to 2991359 bytes into a region of size between 4095 and 4096 [-Wformat-overflow=] 3944 | sprintf(strchr(tmp, 0), "%s%s", (*tmp)? "," : "", devices[x].name); | ^~ In function 'sprintf', inlined from 'startup_check' at smsd_cfg.c:3944:13: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 1 and 2991361 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o pdu.o pdu.c modeminit.c: In function 'initmodem': modeminit.c:2055:34: warning: '%s' directive writing up to 499 bytes into a region of size 90 [-Wformat-overflow=] 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); | ^~ ~~~~~~ In file included from /usr/include/stdio.h:906, from modeminit.c:30: In function 'sprintf', inlined from 'initmodem' at modeminit.c:2055:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 512 bytes into a destination of size 100 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ modeminit.c: In function 'initmodem': modeminit.c:2096:49: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size 100 [-Wformat-truncation=] 2096 | snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer); | ^~ ~~~~~~ In function 'snprintf', inlined from 'initmodem' at modeminit.c:2096:5: /usr/include/bits/stdio2.h:54:10: note: 'snprintf' output between 1 and 500 bytes into a destination of size 100 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D NUMBER_OF_MODEMS=64 -c -o charshift.o charshift.c gcc `mm-config --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 -D NUMBER_OF_MODEMS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o `mm-config --ldflags --libs` -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 smsd.c: In function 'received2file': smsd.c:3445:15: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3445 | write(ftmp, st, strlen(st)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'cmd_to_modem': smsd.c:6025:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6025 | write(fd, answer, strlen(answer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6026:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6026 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ smsd.c:6069:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 6069 | write(fd, buffer, strlen(buffer)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'main': smsd.c:7918:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 7918 | dup(i); | ^~~~~~ smsd.c:7919:5: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 7919 | dup(i); | ^~~~~~ smsd.c:7987:7: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 7987 | system(command); | ^~~~~~~~~~~~~~~ smsd.c: In function 'change_headers': smsd.c:977:28: warning: '/smsd.XXXXXX' directive writing 12 bytes into a region of size between 8 and 4103 [-Wformat-overflow=] 977 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from smsd.c:19: In function 'sprintf', inlined from 'change_headers' at smsd.c:977:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 4108 bytes into a destination of size 4103 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from smsd.c:40: smsd.c: In function 'received2file': smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:38: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~ In function 'sprintf', inlined from 'received2file' at smsd.c:3282:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'received2file': smsd.c:3436:38: warning: '.XXXXXX' directive writing 7 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 3436 | sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); | ^~~~~~~ In function 'sprintf', inlined from 'received2file' at smsd.c:3436:11: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'exec_system': smsd.c:305:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 247 [-Wformat-truncation=] 305 | snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); | ^~ ~~~~~ In function 'snprintf', inlined from 'exec_system' at smsd.c:305:11: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output 10 or more bytes (assuming 265) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'exec_system': smsd.c:332:82: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 205 and 236 [-Wformat-truncation=] 332 | snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert); | ^~ ~~~~~ In function 'snprintf', inlined from 'exec_system' at smsd.c:332:15: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 21 and 307 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'savephonecall': smsd.c:2833:41: warning: '.XXXXXX' directive writing 7 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2833 | sprintf(filename, "%s/%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name); | ^~~~~~~ In function 'sprintf', inlined from 'savephonecall' at smsd.c:2833:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 9 or more bytes (assuming 4104) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'savephonecall': smsd.c:2831:41: warning: '.' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] 2831 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name, timestamp); | ^ In function 'sprintf', inlined from 'savephonecall' at smsd.c:2831:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'savephonecall': smsd.c:2829:39: warning: '%s' directive writing up to 80 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2829 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, timestamp, DEVICE.name); | ^~ ~~~~~~~~~ In function 'sprintf', inlined from 'savephonecall' at smsd.c:2829:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 10 or more bytes (assuming 4185) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'receivesms': smsd.c:3831:11: warning: 'strncpy' output truncated before terminating nul copying 3 bytes from a string of the same length [-Wstringop-truncation] 3831 | strncpy(p, "\",\"", 3); | ^ smsd.c: In function 'cmd_to_modem': smsd.c:5994:51: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] 5994 | sprintf(strchr(answer, 0), " // %s", buffer); | ^~ ~~~~~~ In function 'sprintf', inlined from 'cmd_to_modem' at smsd.c:5994:19: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 5 and 1028 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'cmd_to_modem': smsd.c:6022:34: warning: '/smsd.XXXXXX' directive writing 12 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 6022 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~ In function 'sprintf', inlined from 'cmd_to_modem' at smsd.c:6022:9: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 13 and 4108 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'do_ic_purge': smsd_cfg.h:35:32: warning: '-concatenated' directive writing 13 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:38: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~ In function 'sprintf', inlined from 'do_ic_purge' at smsd.c:6241:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 15 or more bytes (assuming 4110) into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ smsd.c: In function 'send1sms': smsd.c:4857:11: warning: 'eachpartlen' may be used uninitialized [-Wmaybe-uninitialized] 4857 | writelogfile(LOG_DEBUG, 0, "Splitting this message into %i parts of max %i characters%s.", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4858 | parts, (alphabet == ALPHABET_UCS2)? eachpartlen /2 : eachpartlen, (alphabet == ALPHABET_UCS2)? " (unicode)" : ""); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:4439:7: note: 'eachpartlen' was declared here 4439 | int eachpartlen; | ^~~~~~~~~~~ make: Leaving directory '/builddir/build/BUILD/smstools3/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VdDNFB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/smstools-3.1.21-26.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 smstools3 + rm -rf /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 + install -Dm 755 /builddir/build/SOURCES/smsd.service /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/lib/systemd/system/smsd.service + install -Dm 644 /builddir/build/SOURCES/smsd.logrotate /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/etc/logrotate.d/smstools + install -Dm 644 /builddir/build/SOURCES/smsd.tmpfiles /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/lib/tmpfiles.d/smstools.conf + install -Dm 600 examples/smsd.conf.easy /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/etc/smsd.conf + install -Dm 755 src/smsd /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/sbin/smsd + install -Dm 755 scripts/sendsms /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/bin/smssend + install -Dm 755 scripts/sms2html /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/bin/sms2html + install -Dm 755 scripts/sms2unicode /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/bin/sms2unicode + install -Dm 755 scripts/sms2xml /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/bin/sms2xml + install -Dm 755 scripts/unicode2sms /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/bin/unicode2sms + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/checked + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/failed + install -dm 770 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/incoming + install -dm 770 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/outgoing + install -dm 770 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/read + install -dm 750 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/spool/sms/sent + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/log/smsd + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/log/smsd/smsd_stats + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/run/smsd + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/lib/smstools + mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/libexec/smstools + for n in smsd.log smsd_trouble.log + touch /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/log/smsd/smsd.log + for n in smsd.log smsd_trouble.log + touch /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/var/log/smsd/smsd_trouble.log + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 3.1.21-26.fc38 --unique-debug-suffix -3.1.21-26.fc38.x86_64 --unique-debug-src-base smstools-3.1.21-26.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/smstools3 extracting debug info from /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/sbin/smsd original debug info size: 920kB, size after compression: 868kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1405 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 *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/whitelist.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/whitelist.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/stats.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/stats.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/smsd_cfg.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/smsd_cfg.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/smsd.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/pdu.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/pdu.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/modeminit.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/modeminit.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/logging.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/logging.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/locking.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/locking.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/extras.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/extras.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/charshift.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/charshift.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/charset.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/charset.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/cfgfile.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/cfgfile.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/blacklist.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/blacklist.c is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/alarm.h is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/smstools-3.1.21-26.fc38.x86_64/src/alarm.c is executable but has no shebang, removing executable bit mangling shebang in /usr/bin/unicode2sms from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/sms2xml from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/sms2unicode from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/sms2html from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/smssend from /bin/bash to #!/usr/bin/bash *** WARNING: ./usr/lib/systemd/system/smsd.service is executable but has no shebang, removing executable bit + /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: smstools-3.1.21-26.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gw2Xmp + umask 022 + cd /builddir/build/BUILD + cd smstools3 + DOCDIR=/builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr LICENSE /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr manual/ /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr examples/ /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/checkhandler-utf-8 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/email2sms /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/eventhandler-utf-8 /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/mysmsd /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/regular_run /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/smsevent /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/smsresend /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + cp -pr scripts/sql_demo /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64/usr/share/doc/smstools + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /etc/smsd.conf Provides: config(smstools) = 3.1.21-26.fc38 smstools = 3.1.21-26.fc38 smstools(x86-64) = 3.1.21-26.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(pre): /bin/sh shadow-utils Requires(post): /bin/sh Requires(preun): /bin/sh Requires: /usr/bin/bash /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(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) libc.so.6(GLIBC_2.7)(64bit) libmm.so.14()(64bit) rtld(GNU_HASH) Recommends: logrotate Processing files: smstools-debugsource-3.1.21-26.fc38.x86_64 Provides: smstools-debugsource = 3.1.21-26.fc38 smstools-debugsource(x86-64) = 3.1.21-26.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: smstools-debuginfo-3.1.21-26.fc38.x86_64 Provides: debuginfo(build-id) = 0a34f813d200b628a7fef34c99e95eef71b09e8d smstools-debuginfo = 3.1.21-26.fc38 smstools-debuginfo(x86-64) = 3.1.21-26.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: smstools-debugsource(x86-64) = 3.1.21-26.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 Wrote: /builddir/build/RPMS/smstools-debuginfo-3.1.21-26.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/smstools-3.1.21-26.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/smstools-debugsource-3.1.21-26.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.OxwFpz + umask 022 + cd /builddir/build/BUILD + cd smstools3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/smstools-3.1.21-26.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.8BjbSm + umask 022 + cd /builddir/build/BUILD + rm -rf smstools3 smstools3.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /etc/smsd.conf Child return code was: 0