<86>Aug 7 09:27:08 userdel[358976]: delete user 'rooter' <86>Aug 7 09:27:08 userdel[358976]: removed group 'rooter' owned by 'rooter' <86>Aug 7 09:27:08 userdel[358976]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 7 09:27:08 groupadd[358981]: group added to /etc/group: name=rooter, GID=705 <86>Aug 7 09:27:08 groupadd[358981]: group added to /etc/gshadow: name=rooter <86>Aug 7 09:27:08 groupadd[358981]: new group: name=rooter, GID=705 <86>Aug 7 09:27:08 useradd[358985]: new user: name=rooter, UID=705, GID=705, home=/root, shell=/bin/bash <86>Aug 7 09:27:08 userdel[358992]: delete user 'builder' <86>Aug 7 09:27:08 userdel[358992]: removed group 'builder' owned by 'builder' <86>Aug 7 09:27:08 userdel[358992]: removed shadow group 'builder' owned by 'builder' <86>Aug 7 09:27:08 groupadd[358999]: group added to /etc/group: name=builder, GID=706 <86>Aug 7 09:27:08 groupadd[358999]: group added to /etc/gshadow: name=builder <86>Aug 7 09:27:08 groupadd[358999]: new group: name=builder, GID=706 <86>Aug 7 09:27:08 useradd[359005]: new user: name=builder, UID=706, GID=706, home=/usr/src, shell=/bin/bash <13>Aug 7 09:27:10 rpmi: libmm-1.4.2-alt3 sisyphus+275373.100.1.2 1624493872 installed <13>Aug 7 09:27:10 rpmi: libmm-devel-1.4.2-alt3 sisyphus+275373.100.1.2 1624493872 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.89427 + 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.89427 + 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 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 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 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 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 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 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 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 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 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 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 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.66679 + 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.92176 + 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.gOzKLR 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.2dGeiQ 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.RKC8bP Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.G2UZ6N Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9i4bcO 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, /lib/ld-linux.so.2, coreutils, findutils, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.28), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libmm.so.14 >= 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.RZ8n3N 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.WS1TqR find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NyezUR find-requires: running scripts (debuginfo) Requires: smstools = 3.1.21-alt2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libmm.so.14) Adding to smstools-debuginfo a strict dependency on smstools Wrote: /usr/src/RPM/RPMS/i586/smstools-3.1.21-alt2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/smstools-debuginfo-3.1.21-alt2.i586.rpm (w2.lzdio) 3.35user 0.90system 0:09.97elapsed 42%CPU (0avgtext+0avgdata 36288maxresident)k 0inputs+0outputs (0major+319759minor)pagefaults 0swaps 6.53user 3.33system 0:15.39elapsed 64%CPU (0avgtext+0avgdata 104116maxresident)k 40inputs+0outputs (0major+584027minor)pagefaults 0swaps --- smstools-3.1.21-alt2.i586.rpm.repo 2021-04-16 15:09:42.000000000 +0000 +++ smstools-3.1.21-alt2.i586.rpm.hasher 2021-08-07 09:27:22.414603082 +0000 @@ -106,3 +106,3 @@ File: /etc/smsd.conf 100640 root:smsd fd20f4269ae1927105b08b7c1d28e50e -File: /usr/sbin/smsd 100755 root:root ef43fbd68be5bf8746cb67501436de5e +File: /usr/sbin/smsd 100755 root:root ef79e3728bf3e91e58a3decfd9e07c33 File: /usr/share/doc/smstools-3.1.21 40755 root:root @@ -176,2 +176,2 @@ File: /var/spool/sms/sent 40770 root:smsd -RPMIdentity: 31b5e31afaf33edb898343437258b08a554bb2d2f6dca541cc4e4851ea0aa204e29258bc41f5496e74fae13dd019e73f7a96f90a4214b054e873af4ae9f5b4fe +RPMIdentity: 9049cd99fa9895094552706bdb115715f052cf5aebe5a5eac5acd8391e39960031cc65b4f931408ea6fa369cfa7641614e6ae48138ec33d9118822199386599f --- smstools-debuginfo-3.1.21-alt2.i586.rpm.repo 2021-04-16 15:09:42.000000000 +0000 +++ smstools-debuginfo-3.1.21-alt2.i586.rpm.hasher 2021-08-07 09:27:22.481603744 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/de 40755 root:root -/usr/lib/debug/.build-id/de/1f3d4041f0963302c3cb50f816507fcb76a925 120777 root:root ../../../../sbin/smsd -/usr/lib/debug/.build-id/de/1f3d4041f0963302c3cb50f816507fcb76a925.debug 120777 root:root ../../usr/sbin/smsd.debug +/usr/lib/debug/.build-id/3a 40755 root:root +/usr/lib/debug/.build-id/3a/089bc6bcf1e9152afc2a13ed9975be099a19b9 120777 root:root ../../../../sbin/smsd +/usr/lib/debug/.build-id/3a/089bc6bcf1e9152afc2a13ed9975be099a19b9.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/de 40755 root:root -File: /usr/lib/debug/.build-id/de/1f3d4041f0963302c3cb50f816507fcb76a925 120777 root:root ../../../../sbin/smsd -File: /usr/lib/debug/.build-id/de/1f3d4041f0963302c3cb50f816507fcb76a925.debug 120777 root:root ../../usr/sbin/smsd.debug -File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root af9af061f7797cabb68fccd48b077290 +File: /usr/lib/debug/.build-id/3a 40755 root:root +File: /usr/lib/debug/.build-id/3a/089bc6bcf1e9152afc2a13ed9975be099a19b9 120777 root:root ../../../../sbin/smsd +File: /usr/lib/debug/.build-id/3a/089bc6bcf1e9152afc2a13ed9975be099a19b9.debug 120777 root:root ../../usr/sbin/smsd.debug +File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root a73089b7c614760c927bd217a1ae29a9 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: 7fabf9fdde9fe68eacb070f439eb58c1da261ec3820b1d6804fdd645f29367d9fad96c8cd74a3df1614ceffdd50d354013e8fb9f4e3e5ba091ecfd94db529c3b +RPMIdentity: cf5bd95d6b6378d0855d962720fb07c3cdf303c34252a68cc0d24dd3c2ef54f77a00bc51cfb7940b061056d7186888df222aff26e8f7bf04e681a90f60943bac