<86>Jul 25 10:44:58 userdel[839902]: delete user 'rooter' <86>Jul 25 10:44:58 userdel[839902]: removed group 'rooter' owned by 'rooter' <86>Jul 25 10:44:58 groupadd[839913]: group added to /etc/group: name=rooter, GID=699 <86>Jul 25 10:44:58 groupadd[839913]: group added to /etc/gshadow: name=rooter <86>Jul 25 10:44:58 groupadd[839913]: new group: name=rooter, GID=699 <86>Jul 25 10:44:58 useradd[839929]: new user: name=rooter, UID=699, GID=699, home=/root, shell=/bin/bash <86>Jul 25 10:44:58 userdel[839944]: delete user 'builder' <86>Jul 25 10:44:58 userdel[839944]: removed group 'builder' owned by 'builder' <86>Jul 25 10:44:58 userdel[839944]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 10:44:58 groupadd[839958]: group added to /etc/group: name=builder, GID=700 <86>Jul 25 10:44:58 groupadd[839958]: group added to /etc/gshadow: name=builder <86>Jul 25 10:44:58 groupadd[839958]: new group: name=builder, GID=700 <86>Jul 25 10:44:58 useradd[839971]: new user: name=builder, UID=700, GID=700, home=/usr/src, shell=/bin/bash <13>Jul 25 10:45:00 rpmi: libmm-1.4.2-alt3 1300666795 installed <13>Jul 25 10:45:00 rpmi: libmm-devel-1.4.2-alt3 1300666795 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34252 + 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.34252 + 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: -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 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 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 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 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 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 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 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 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 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 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 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.63269 + 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.88257 + 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.lHNV13 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.t1K6xd 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.hsN5mD Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KA8i9k Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qsd6Oj 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.2), 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.IYPAvo 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.hGMTOI find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.HNsirj find-requires: running scripts (debuginfo) Requires: smstools = 3.1.21-alt1, /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-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/smstools-debuginfo-3.1.21-alt1.i586.rpm (w2.lzdio) 5.29user 1.02system 0:12.60elapsed 50%CPU (0avgtext+0avgdata 36180maxresident)k 0inputs+0outputs (0major+354703minor)pagefaults 0swaps 8.74user 3.43system 0:18.57elapsed 65%CPU (0avgtext+0avgdata 115152maxresident)k 40inputs+0outputs (0major+630946minor)pagefaults 0swaps --- smstools-3.1.21-alt1.i586.rpm.repo 2019-07-01 05:29:52.000000000 +0000 +++ smstools-3.1.21-alt1.i586.rpm.hasher 2021-07-25 10:45:15.767625312 +0000 @@ -104,3 +104,3 @@ File: /etc/smsd.conf 100640 root:smsd fd20f4269ae1927105b08b7c1d28e50e -File: /usr/sbin/smsd 100755 root:root 01826726c9dad98dfc0bcdaeceed11bd +File: /usr/sbin/smsd 100755 root:root a5ba79b30163d51c7f25fab30df21cc5 File: /usr/share/doc/smstools-3.1.21 40755 root:root @@ -174,2 +174,2 @@ File: /var/spool/sms/sent 40770 root:smsd -RPMIdentity: b21afe9d58c1564b06fbd5beb805432a +RPMIdentity: abf13895c71da3934d58becaa113d7c9 --- smstools-debuginfo-3.1.21-alt1.i586.rpm.repo 2019-07-01 05:29:52.000000000 +0000 +++ smstools-debuginfo-3.1.21-alt1.i586.rpm.hasher 2021-07-25 10:45:15.855625436 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/54 40755 root:root -/usr/lib/debug/.build-id/54/3e4fc439d65e9d1cd442f08c0fcbf5728a49c4 120777 root:root ../../../../sbin/smsd -/usr/lib/debug/.build-id/54/3e4fc439d65e9d1cd442f08c0fcbf5728a49c4.debug 120777 root:root ../../usr/sbin/smsd.debug +/usr/lib/debug/.build-id/28 40755 root:root +/usr/lib/debug/.build-id/28/4c3e43763d1b6f32f66c341a2edaa48f77fd4a 120777 root:root ../../../../sbin/smsd +/usr/lib/debug/.build-id/28/4c3e43763d1b6f32f66c341a2edaa48f77fd4a.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/54 40755 root:root -File: /usr/lib/debug/.build-id/54/3e4fc439d65e9d1cd442f08c0fcbf5728a49c4 120777 root:root ../../../../sbin/smsd -File: /usr/lib/debug/.build-id/54/3e4fc439d65e9d1cd442f08c0fcbf5728a49c4.debug 120777 root:root ../../usr/sbin/smsd.debug -File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root 8013ef7bcf45e7dd9b0d1888094c3d31 +File: /usr/lib/debug/.build-id/28 40755 root:root +File: /usr/lib/debug/.build-id/28/4c3e43763d1b6f32f66c341a2edaa48f77fd4a 120777 root:root ../../../../sbin/smsd +File: /usr/lib/debug/.build-id/28/4c3e43763d1b6f32f66c341a2edaa48f77fd4a.debug 120777 root:root ../../usr/sbin/smsd.debug +File: /usr/lib/debug/usr/sbin/smsd.debug 100644 root:root ccc1e45a2684ad898e675b7b4f47c7a5 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: 75827381e7d17c457649d9997857852c +RPMIdentity: c726bbb74c939a5f189c0d7a2139bd02