<86>Sep 17 08:52:36 userdel[1629827]: delete user 'rooter' <86>Sep 17 08:52:36 userdel[1629827]: removed group 'rooter' owned by 'rooter' <86>Sep 17 08:52:36 userdel[1629827]: removed shadow group 'rooter' owned by 'rooter' <86>Sep 17 08:52:36 groupadd[1629875]: group added to /etc/group: name=rooter, GID=1850 <86>Sep 17 08:52:36 groupadd[1629875]: group added to /etc/gshadow: name=rooter <86>Sep 17 08:52:36 groupadd[1629875]: new group: name=rooter, GID=1850 <86>Sep 17 08:52:36 useradd[1629907]: new user: name=rooter, UID=1850, GID=1850, home=/root, shell=/bin/bash <86>Sep 17 08:52:36 userdel[1629954]: delete user 'builder' <86>Sep 17 08:52:36 userdel[1629954]: removed group 'builder' owned by 'builder' <86>Sep 17 08:52:36 userdel[1629954]: removed shadow group 'builder' owned by 'builder' <86>Sep 17 08:52:36 groupadd[1629994]: group added to /etc/group: name=builder, GID=1851 <86>Sep 17 08:52:36 groupadd[1629994]: group added to /etc/gshadow: name=builder <86>Sep 17 08:52:36 groupadd[1629994]: new group: name=builder, GID=1851 <86>Sep 17 08:52:36 useradd[1630034]: new user: name=builder, UID=1851, GID=1851, home=/usr/src, shell=/bin/bash <13>Sep 17 08:52:38 rpmi: libmm-1.4.2-alt3 1300666797 installed <13>Sep 17 08:52:38 rpmi: libmm-devel-1.4.2-alt3 1300666797 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/smstools-3.1.21-alt1.nosrc.rpm (w1.gzdio) Installing smstools-3.1.21-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.55138 + 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 . + subst '/ggdb/ s/^#//' src/Makefile + subst '/^CFLAGS.*NOSTATS/d' src/Makefile + find doc -type f -exec chmod 644 '{}' ';' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.37636 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd smstools-3.1.21 + make -j16 cd src && make -w -j16 -Otarget --jobserver-auth=3,4 -- PAM_SO_SUFFIX= make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.21/src' make[1]: warning: -jN forced in submake: disabling 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c logging.c: In function 'writelogfile': logging.c:200:49: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); ^~ ~~~~ logging.c:200:7: note: 'snprintf' output between 8 and 16471 bytes into a destination of size 16384 snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:254:47: warning: '%s' directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); ^~ ~~~~ logging.c:254:5: note: 'snprintf' output between 8 and 16471 bytes into a destination of size 16384 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c stats.c: In function 'savestats': stats.c:154:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~ stats.c:154:5: note: 'sprintf' output between 11 and 4106 bytes into a destination of size 4096 sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'loadstats': stats.c:183:26: warning: '/stats.tmp' directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~ stats.c:183:5: note: 'sprintf' output between 11 and 4106 bytes into a destination of size 4096 sprintf(filename, "%s/stats.tmp", d_stats); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'update_message_counter': stats.c:324:29: warning: '.counter' directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(filename, "%s/%s.counter", d_stats, modemname); ^~~~~~~~ stats.c:324:5: note: 'sprintf' output 10 or more bytes (assuming 4105) into a destination of size 4096 sprintf(filename, "%s/%s.counter", d_stats, modemname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function 'write_status': stats.c:376:29: warning: '/status.tmp' directive writing 11 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fname_tmp, "%s/status.tmp", d_stats); ^~~~~~~~~~~ stats.c:376:7: note: 'sprintf' output between 12 and 4107 bytes into a destination of size 4096 sprintf(fname_tmp, "%s/status.tmp", d_stats); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c:467:27: warning: '/status' directive writing 7 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(fname, "%s/status", d_stats); ^~~~~~~ stats.c:467:9: note: 'sprintf' output between 8 and 4103 bytes into a destination of size 4096 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charshift.o charshift.c 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c 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=] 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 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c 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=] 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 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c 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=] 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 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=] 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 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.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=] 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 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=] 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 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 -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c smsd_cfg.c: In function 'readcfg': smsd_cfg.c:2454:77: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); ^~ ~~~~~ smsd_cfg.c:2454:11: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 256 snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:3262:57: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); ^~ ~~~ smsd_cfg.c:3262:11: note: 'snprintf' output between 1 and 4096 bytes into a destination of size 16 snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3489:28: warning: '/smsd_data.XXXXXX' directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); ^~~~~~~~~~~~~~~~~ smsd_cfg.c:3489:7: note: 'sprintf' output between 18 and 4113 bytes into a destination of size 4096 sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3498:32: warning: '/smsd_script.XXXXXX' directive writing 19 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); ^~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3498:9: note: 'sprintf' output between 20 and 4115 bytes into a destination of size 4096 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=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3582:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3582:9: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 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=] #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3593:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3593:13: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3669:58: warning: '%s' directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] sprintf(buffer, "Default validity period is set to %s.", tmp); ^~ ~~~ smsd_cfg.c:3669:7: note: 'sprintf' output between 36 and 4131 bytes into a destination of size 4096 sprintf(buffer, "Default validity period is set to %s.", tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3689:54: warning: '%s' directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] sprintf(buffer, "Using international prefixes: %s", tmp); ^~ ~~~ smsd_cfg.c:3689:7: note: 'sprintf' output between 31 and 4126 bytes into a destination of size 4096 sprintf(buffer, "Using international prefixes: %s", tmp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3706:49: warning: '%s' directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=] sprintf(buffer, "Using national prefixes: %s", tmp); ^~ ~~~ smsd_cfg.c:3706:7: note: 'sprintf' output between 26 and 4121 bytes into a destination of size 4096 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 -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` 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=] 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 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=] 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 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=] 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 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=] 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 sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] strncpy(p, "\",\"", 3); ^~~~~~~~~~~~~~~~~~~~~~ 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=] sprintf(command2,"%s\x1A",pdu); ^ smsd.c:4139:3: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 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=] 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 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=] 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 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=] 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 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=] 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 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=] 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 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.37636 + 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) Hardlinking identical .pyc and .pyo files Processing files: smstools-3.1.21-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.67923 + 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.tO9cKm find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p5j4tg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,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.PtAXEd Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ldGGge Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vRxbii 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.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.tdi2Lp Creating smstools-debuginfo package Processing files: smstools-debuginfo-3.1.21-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ViICIA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.p7CE6O find-requires: running scripts (debuginfo) Requires: smstools = 3.1.21-alt1, /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-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/smstools-debuginfo-3.1.21-alt1.x86_64.rpm (w2.lzdio) 2.92user 1.21system 0:10.53elapsed 39%CPU (0avgtext+0avgdata 46732maxresident)k 0inputs+0outputs (0major+424141minor)pagefaults 0swaps 3.08user 1.02system 0:16.17elapsed 25%CPU (0avgtext+0avgdata 136604maxresident)k 0inputs+0outputs (0major+190162minor)pagefaults 0swaps --- smstools-3.1.21-alt1.x86_64.rpm.repo 2019-07-01 05:29:52.000000000 +0000 +++ smstools-3.1.21-alt1.x86_64.rpm.hasher 2023-09-17 08:52:51.011383104 +0000 @@ -103,3 +103,3 @@ File: /etc/smsd.conf 100640 root:smsd fd20f4269ae1927105b08b7c1d28e50e -File: /usr/sbin/smsd 100755 root:root 156c55b07523f061563c935b10ab830d +File: /usr/sbin/smsd 100755 root:root 01f2367e56e61ffd2e6134d4e5ec7d88 File: /usr/share/doc/smstools-3.1.21 40755 root:root @@ -173,2 +173,2 @@ File: /var/spool/sms/sent 40770 root:smsd -RPMIdentity: f888bf449ffacb25d062b663c4c56054cf043917a696c038f26752816d8f497f2a936711a9ab6930e9496d99d5a02adfeec5df1a18123d0a4426ca258e14cb8b +RPMIdentity: 3b2c75bf0da973355ce62ee4d7f849062f86c819c3a1b17079aed299db0c65a9dc2d9a8966b61385cd144ad81ac526295a91b08364350a42fd10dacba6594a3a --- smstools-debuginfo-3.1.21-alt1.x86_64.rpm.repo 2019-07-01 05:29:52.000000000 +0000 +++ smstools-debuginfo-3.1.21-alt1.x86_64.rpm.hasher 2023-09-17 08:52:51.079384347 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/24 40755 root:root -/usr/lib/debug/.build-id/24/720dd5c3e029ec9ad1161b21e28559c75967d5 120777 root:root ../../../../sbin/smsd -/usr/lib/debug/.build-id/24/720dd5c3e029ec9ad1161b21e28559c75967d5.debug 120777 root:root ../../usr/sbin/smsd.debug +/usr/lib/debug/.build-id/96 40755 root:root +/usr/lib/debug/.build-id/96/819a56e9836e04203c56f7e12860d877a12035 120777 root:root ../../../../sbin/smsd +/usr/lib/debug/.build-id/96/819a56e9836e04203c56f7e12860d877a12035.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-alt1:p9+233530.100.1.1 -File: /usr/lib/debug/.build-id/24 40755 root:root -File: /usr/lib/debug/.build-id/24/720dd5c3e029ec9ad1161b21e28559c75967d5 120777 root:root ../../../../sbin/smsd -File: /usr/lib/debug/.build-id/24/720dd5c3e029ec9ad1161b21e28559c75967d5.debug 120777 root:root ../../usr/sbin/smsd.debug -File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root 4220248045678009239c9bcbc6a747a0 +File: /usr/lib/debug/.build-id/96 40755 root:root +File: /usr/lib/debug/.build-id/96/819a56e9836e04203c56f7e12860d877a12035 120777 root:root ../../../../sbin/smsd +File: /usr/lib/debug/.build-id/96/819a56e9836e04203c56f7e12860d877a12035.debug 120777 root:root ../../usr/sbin/smsd.debug +File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root c686898b3f9ac415f85f06e738d265a9 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 4b81db1fad0dcc51c281668505b0d6c4 -RPMIdentity: 7c7f2c84caea395a38b582ee22fd1a8e042b5cb2dc9224486a2eebd66756f5477551c9b15d2c967c1167307face07ec572b1677c43b8927cc48200586668982e +RPMIdentity: 201269e5b75a28e2aecc070c7dc285747401e911dcb4824117a2de13ddc1b2cff73729680fbff90ca3086ccaae5c85dbc9ac7ccfac98b045f698e48a8f8e60a8