<86>Jun 16 00:50:06 userdel[2394432]: delete user 'rooter' <86>Jun 16 00:50:06 userdel[2394432]: removed group 'rooter' owned by 'rooter' <86>Jun 16 00:50:06 userdel[2394432]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 00:50:06 groupadd[2394443]: group added to /etc/group: name=rooter, GID=1226 <86>Jun 16 00:50:06 groupadd[2394443]: group added to /etc/gshadow: name=rooter <86>Jun 16 00:50:06 groupadd[2394443]: new group: name=rooter, GID=1226 <86>Jun 16 00:50:06 useradd[2394448]: new user: name=rooter, UID=1226, GID=1226, home=/root, shell=/bin/bash <86>Jun 16 00:50:06 userdel[2394459]: delete user 'builder' <86>Jun 16 00:50:06 userdel[2394459]: removed group 'builder' owned by 'builder' <86>Jun 16 00:50:06 userdel[2394459]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 00:50:06 groupadd[2394464]: group added to /etc/group: name=builder, GID=1227 <86>Jun 16 00:50:06 groupadd[2394464]: group added to /etc/gshadow: name=builder <86>Jun 16 00:50:06 groupadd[2394464]: new group: name=builder, GID=1227 <86>Jun 16 00:50:06 useradd[2394471]: new user: name=builder, UID=1227, GID=1227, home=/usr/src, shell=/bin/bash <13>Jun 16 00:50:10 rpmi: libmm-1.4.2-alt3 sisyphus+275373.100.1.2 1624493871 installed <13>Jun 16 00:50:10 rpmi: libmm-devel-1.4.2-alt3 sisyphus+275373.100.1.2 1624493871 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/smstools-3.1.21-alt2.nosrc.rpm (w1.gzdio) Installing smstools-3.1.21-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.43328 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf smstools-3.1.21 + echo 'Source #0 (smstools3-3.1.21.tar.gz):' Source #0 (smstools3-3.1.21.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/smstools3-3.1.21.tar.gz + /bin/tar -xf - + cd smstools-3.1.21 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #1 (enable-statistics.patch):' Patch #1 (enable-statistics.patch): + /usr/bin/patch -p1 patching file src/Makefile + echo 'Patch #2 (fix-makefile-override.patch):' Patch #2 (fix-makefile-override.patch): + /usr/bin/patch -p1 patching file src/Makefile + echo 'Patch #3 (gawk-path-fix.patch):' Patch #3 (gawk-path-fix.patch): + /usr/bin/patch -p1 patching file scripts/hex2bin patching file scripts/hex2dec + echo 'Patch #4 (hardening.patch):' Patch #4 (hardening.patch): + /usr/bin/patch -p1 patching file src/Makefile + echo 'Patch #5 (spelling.patch):' Patch #5 (spelling.patch): + /usr/bin/patch -p1 patching file doc/configure.html patching file doc/history3.html patching file src/extras.c patching file src/smsd_cfg.h patching file scripts/sms3 patching file src/modeminit.c patching file src/pdu.c + echo 'Patch #6 (gcc10.patch):' Patch #6 (gcc10.patch): + /usr/bin/patch -p1 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 + subst '/ggdb/ s/^#//' src/Makefile + find doc -type f -exec chmod 644 '{}' ';' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.43328 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd smstools-3.1.21 + make -j8 cd src && make -w -j8 -Otarget --jobserver-auth=3,4 -- PAM_SO_SUFFIX= make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: warning: -j8 forced in submake: resetting jobserver mode. make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found logging.c: In function 'writelogfile': logging.c:210:49: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] 210 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~ ~~~~ logging.c:210:7: note: 'snprintf' output between 8 and 16471 bytes into a destination of size 16384 210 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:264:47: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] 264 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~ ~~~~ logging.c:264:5: note: 'snprintf' output between 8 and 16471 bytes into a destination of size 16384 264 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found stats.c: In function 'savestats': 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); | ^~~~~~~~~~ stats.c:168:5: note: 'sprintf' output between 11 and 4106 bytes into a destination of size 4096 168 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~ stats.c:197:5: note: 'sprintf' output between 11 and 4106 bytes into a destination of size 4096 197 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'update_message_counter': 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); | ^~~~~~~~ stats.c:338:5: note: 'sprintf' output 10 or more bytes (assuming 4105) into a destination of size 4096 338 | sprintf(filename, "%s/%s.counter", d_stats, modemname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status': 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); | ^~~~~~~~~~~ stats.c:390:7: note: 'sprintf' output between 12 and 4107 bytes into a destination of size 4096 390 | sprintf(fname_tmp, "%s/status.tmp", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~ stats.c:481:9: note: 'sprintf' output between 8 and 4103 bytes into a destination of size 4096 481 | sprintf(fname, "%s/status", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found charset.c: In function 'decode_7bit_packed': charset.c:904:42: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 504 and 510 [-Wformat-truncation=] 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~ ~~~~~~ charset.c:904:2: note: 'snprintf' output between 3 and 520 bytes into a destination of size 512 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found extras.c: In function 'my_system': extras.c:1077:35: 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); | ^~~~~~ extras.c:1077:2: note: 'snprintf' output 17 or more bytes (assuming 4112) into a destination of size 4096 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c:1087:34: 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); | ^~ ~~~~~~ extras.c:1087:2: note: 'snprintf' output 18 or more bytes (assuming 4113) into a destination of size 4096 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charshift.o charshift.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found pdu.c: In function 'get_pdu_details': pdu.c:1920:64: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 68 and 76 [-Wformat-truncation=] 1920 | snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i'); | ^~ ~~~~~~ pdu.c:1920:7: note: 'snprintf' output between 39 and 170 bytes into a destination of size 100 1920 | snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i'); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found 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); | ^~ ~~~~~~ modeminit.c:2055:5: note: 'sprintf' output between 13 and 512 bytes into a destination of size 100 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ ~~~~~~ modeminit.c:2096:5: note: 'snprintf' output between 1 and 500 bytes into a destination of size 100 2096 | snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found 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); | ^~ ~~~~~ smsd_cfg.c:2669:11: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 256 2669 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~ ~~~ smsd_cfg.c:3477:11: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 16 3477 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~ smsd_cfg.c:3704:7: note: 'sprintf' output between 18 and 4113 bytes into a destination of size 4096 3704 | sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3713:9: note: 'sprintf' output between 20 and 4115 bytes into a destination of size 4096 3713 | sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3797:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 3797 | sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd_cfg.c:3797:9: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 3797 | sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3808:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 3808 | sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd_cfg.c:3808:13: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 3808 | sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3884:58: warning: '%s' directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] 3884 | sprintf(buffer, "Default validity period is set to %s.", tmp); | ^~ ~~~ smsd_cfg.c:3884:7: note: 'sprintf' output between 36 and 4131 bytes into a destination of size 4096 3884 | sprintf(buffer, "Default validity period is set to %s.", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3904:54: warning: '%s' directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] 3904 | sprintf(buffer, "Using international prefixes: %s", tmp); | ^~ ~~~ smsd_cfg.c:3904:7: note: 'sprintf' output between 31 and 4126 bytes into a destination of size 4096 3904 | sprintf(buffer, "Using international prefixes: %s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3921:49: warning: '%s' directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=] 3921 | sprintf(buffer, "Using national prefixes: %s", tmp); | ^~ ~~~ smsd_cfg.c:3921:7: note: 'sprintf' output between 26 and 4121 bytes into a destination of size 4096 3921 | sprintf(buffer, "Using national prefixes: %s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' cc `mm-config --cflags` -D NUMBER_OF_MODEMS=64 `dpkg-buildflags --get CFLAGS` `dpkg-buildflags --get CPPFLAGS` -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=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` `dpkg-buildflags --get LDFLAGS` -z now -z relro /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found /bin/sh: dpkg-buildflags: command not found 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); | ^~ ~~~~~ smsd.c:332:15: note: 'snprintf' output between 21 and 307 bytes into a destination of size 256 332 | snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:305:50: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 216 and 247 [-Wformat-truncation=] 305 | snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); | ^~ ~~~~~ smsd.c:305:11: note: 'snprintf' output between 10 and 296 bytes into a destination of size 256 305 | snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ smsd.c:977:3: note: 'sprintf' output between 13 and 4108 bytes into a destination of size 4103 977 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'received2file': smsd.c:3436:36: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 3436 | sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); | ^~ smsd.c:3436:11: note: 'sprintf' output between 9 and 4135 bytes into a destination of size 4096 3436 | sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'send_part': smsd.c:4139:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] 4139 | sprintf(command2,"%s\x1A",pdu); | ^ smsd.c:4139:3: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 4139 | sprintf(command2,"%s\x1A",pdu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'send1sms': smsd.c:5040:49: warning: '%s' directive output may be truncated writing up to 39015 bytes into a region of size 1024 [-Wformat-truncation=] 5040 | snprintf(part_text, sizeof(part_text), "%s", text); | ^~ ~~~~ smsd.c:5040:9: note: 'snprintf' output between 1 and 39016 bytes into a destination of size 1024 5040 | snprintf(part_text, sizeof(part_text), "%s", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~ smsd.c:6022:9: note: 'sprintf' output between 13 and 4108 bytes into a destination of size 4096 6022 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6068:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 900 and 1011 [-Wformat-truncation=] 6068 | snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer); | ^~ ~~~~~~ smsd.c:6068:13: note: 'snprintf' output 15 or more bytes (assuming 1149) into a destination of size 1024 6068 | snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'run_rr': smsd.c:6137:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 29 and 8219 [-Wformat-truncation=] 6137 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~ smsd.c:6137:5: note: 'snprintf' output 6 or more bytes (assuming 8227) into a destination of size 8224 6137 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6187:54: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 29 and 8219 [-Wformat-truncation=] 6187 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr_post_run, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~ smsd.c:6187:5: note: 'snprintf' output 6 or more bytes (assuming 8227) into a destination of size 8224 6187 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr_post_run, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.16376 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/smstools-buildroot + : + /bin/rm -rf -- /usr/src/tmp/smstools-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd smstools-3.1.21 + mkdir -p /usr/src/tmp/smstools-buildroot/var/spool/sms/checked /usr/src/tmp/smstools-buildroot/var/spool/sms/failed /usr/src/tmp/smstools-buildroot/var/spool/sms/incoming /usr/src/tmp/smstools-buildroot/var/spool/sms/outgoing /usr/src/tmp/smstools-buildroot/var/spool/sms/sent + mkdir -p /usr/src/tmp/smstools-buildroot/var/log/smsd/smsd_stats + mkdir -p /usr/src/tmp/smstools-buildroot/etc/rc.d/init.d + mkdir -p /usr/src/tmp/smstools-buildroot/usr/sbin + mkdir -p /usr/src/tmp/smstools-buildroot/etc/logrotate.d + cp /usr/src/RPM/SOURCES/smsd.init /usr/src/tmp/smstools-buildroot/etc/rc.d/init.d/smsd + cp /usr/src/RPM/SOURCES/smsd.logrotate /usr/src/tmp/smstools-buildroot/etc/logrotate.d/smsd + cp /usr/src/RPM/SOURCES/smsd.conf /usr/src/tmp/smstools-buildroot/etc + cp src/smsd /usr/src/tmp/smstools-buildroot/usr/sbin + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/smstools-buildroot (auto) Verifying and fixing files in /usr/src/tmp/smstools-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/smstools-buildroot/ (default) Compressing files in /usr/src/tmp/smstools-buildroot (auto) Verifying ELF objects in /usr/src/tmp/smstools-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: smstools-3.1.21-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.16376 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd smstools-3.1.21 + DOCDIR=/usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + export DOCDIR + rm -rf /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + /bin/mkdir -p /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + cp -prL README LICENSE examples doc /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + chmod -R go-w /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + chmod -R a+rX /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.21 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.t7SZ77 find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wLKLN8 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) shebang.req.files: executable script /usr/src/tmp/smstools-buildroot/etc/rc.d/init.d/smsd is not executable find-requires: FINDPACKAGE-COMMANDS: chmod chown find mkdir Finding Requires(pre) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vVL5s6 Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Np40U6 Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gMmEx8 Requires: /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, findutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libmm.so.14()(64bit) >= set:jhRdaZjhRW0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8DKVB6 Creating smstools-debuginfo package Processing files: smstools-debuginfo-3.1.21-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.7TrJN8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.QF6R44 find-requires: running scripts (debuginfo) Requires: smstools = 3.1.21-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libmm.so.14) Adding to smstools-debuginfo a strict dependency on smstools Wrote: /usr/src/RPM/RPMS/x86_64/smstools-3.1.21-alt2.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/smstools-debuginfo-3.1.21-alt2.x86_64.rpm (w2.lzdio) 2.56user 1.48system 0:09.90elapsed 40%CPU (0avgtext+0avgdata 45532maxresident)k 0inputs+0outputs (0major+350102minor)pagefaults 0swaps 4.70user 1.95system 0:19.11elapsed 34%CPU (0avgtext+0avgdata 128592maxresident)k 40inputs+0outputs (0major+192936minor)pagefaults 0swaps --- smstools-3.1.21-alt2.x86_64.rpm.repo 2021-04-16 15:09:41.000000000 +0000 +++ smstools-3.1.21-alt2.x86_64.rpm.hasher 2024-06-16 00:50:23.031512102 +0000 @@ -104,3 +104,3 @@ File: /etc/smsd.conf 100640 root:smsd fd20f4269ae1927105b08b7c1d28e50e -File: /usr/sbin/smsd 100755 root:root b305455935f54572a2ed7b587ce41aa2 +File: /usr/sbin/smsd 100755 root:root a8e0e8ba03c5a1bca193600bfb5d40dd File: /usr/share/doc/smstools-3.1.21 40755 root:root @@ -174,2 +174,2 @@ File: /var/spool/sms/sent 40770 root:smsd -RPMIdentity: 805d7f49bd8ae1f13fd52d50c71748ed7670cbc102955d5982b79e0464d874f8aee4573fb05ce4810d48e08353d90791f9a426bd45e150ef5aef9331c09eaad2 +RPMIdentity: 532133f9cffc2d242e8841bf1a33261fc15fe9fd38435fc110f2ce0f76956c591b73dbd4adec7e4efbb8070b25ad62ce9b0f7773ba7c21749193cb0dbd9fea69 --- smstools-debuginfo-3.1.21-alt2.x86_64.rpm.repo 2021-04-16 15:09:41.000000000 +0000 +++ smstools-debuginfo-3.1.21-alt2.x86_64.rpm.hasher 2024-06-16 00:50:23.111512471 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/4d 40755 root:root -/usr/lib/debug/.build-id/4d/7ff17fc50c16e58889802c36c8d3ff645f8b0a 120777 root:root ../../../../sbin/smsd -/usr/lib/debug/.build-id/4d/7ff17fc50c16e58889802c36c8d3ff645f8b0a.debug 120777 root:root ../../usr/sbin/smsd.debug +/usr/lib/debug/.build-id/d9 40755 root:root +/usr/lib/debug/.build-id/d9/f7a1a55651b4b8ca92e978eeb88045f0a510f6 120777 root:root ../../../../sbin/smsd +/usr/lib/debug/.build-id/d9/f7a1a55651b4b8ca92e978eeb88045f0a510f6.debug 120777 root:root ../../usr/sbin/smsd.debug /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root @@ -31,6 +31,6 @@ Provides: smstools-debuginfo = 3.1.21-alt2:sisyphus+270082.100.1.1 -File: /usr/lib/debug/.build-id/4d 40755 root:root -File: /usr/lib/debug/.build-id/4d/7ff17fc50c16e58889802c36c8d3ff645f8b0a 120777 root:root ../../../../sbin/smsd -File: /usr/lib/debug/.build-id/4d/7ff17fc50c16e58889802c36c8d3ff645f8b0a.debug 120777 root:root ../../usr/sbin/smsd.debug -File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root 6bf2ab6cbef6a88a3f2ddeab8615c61a +File: /usr/lib/debug/.build-id/d9 40755 root:root +File: /usr/lib/debug/.build-id/d9/f7a1a55651b4b8ca92e978eeb88045f0a510f6 120777 root:root ../../../../sbin/smsd +File: /usr/lib/debug/.build-id/d9/f7a1a55651b4b8ca92e978eeb88045f0a510f6.debug 120777 root:root ../../usr/sbin/smsd.debug +File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root 9930c0e605e025d7b1320b3c523e11cb File: /usr/src/debug/smstools-3.1.21 40755 root:root @@ -56,2 +56,2 @@ File: /usr/src/debug/smstools-3.1.21/src/whitelist.h 100644 root:root e2fd3947cb88aeb1b3703971cf662fec -RPMIdentity: e758760130d40dfabc9210152dad5552a06285c0b38c4a8d54adbf53f0625e067c0c9ac35489b0d1eb31927935c7befceea90584453bed20de66041d07fdfc97 +RPMIdentity: 696f245ce2ea2fd9dc79556d1c6c210a4aded0cfb581d91d6de6f852a8276aed54144f55cd50af94a62ab449123e8753c3c07ff5e192944a8c2094aad8b3b138