<86>Aug 21 01:27:38 userdel[672286]: delete user 'rooter' <86>Aug 21 01:27:38 userdel[672286]: removed group 'rooter' owned by 'rooter' <86>Aug 21 01:27:38 userdel[672286]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 21 01:27:38 groupadd[672297]: group added to /etc/group: name=rooter, GID=567 <86>Aug 21 01:27:38 groupadd[672297]: group added to /etc/gshadow: name=rooter <86>Aug 21 01:27:38 groupadd[672297]: new group: name=rooter, GID=567 <86>Aug 21 01:27:38 useradd[672305]: new user: name=rooter, UID=567, GID=567, home=/root, shell=/bin/bash <86>Aug 21 01:27:38 userdel[672321]: delete user 'builder' <86>Aug 21 01:27:38 userdel[672321]: removed group 'builder' owned by 'builder' <86>Aug 21 01:27:38 userdel[672321]: removed shadow group 'builder' owned by 'builder' <86>Aug 21 01:27:38 groupadd[672332]: group added to /etc/group: name=builder, GID=568 <86>Aug 21 01:27:38 groupadd[672332]: group added to /etc/gshadow: name=builder <86>Aug 21 01:27:38 groupadd[672332]: new group: name=builder, GID=568 <86>Aug 21 01:27:38 useradd[672339]: new user: name=builder, UID=568, GID=568, home=/usr/src, shell=/bin/bash <13>Aug 21 01:27:41 rpmi: libmm-1.4.2-alt3 1300666797 installed <13>Aug 21 01:27:41 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 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.73801 + 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.73801 + 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 -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 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 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=] 200 | 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 200 | 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=] 254 | 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 254 | 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=] 154 | 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 154 | 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=] 183 | 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 183 | 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=] 324 | 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 324 | 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=] 376 | 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 376 | 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=] 467 | sprintf(fname, "%s/status", d_stats); | ^~~~~~~ stats.c:467:9: note: 'sprintf' output between 8 and 4103 bytes into a destination of size 4096 467 | 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 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 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=] 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 -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 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=] 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 -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=] 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 -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=] 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 -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=] 2454 | 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 2454 | 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=] 3262 | 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 3262 | 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=] 3489 | 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 3489 | 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=] 3498 | 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 3498 | 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:3582:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 3582 | 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:3582:9: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 3582 | 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:3593:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 3593 | 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:3593:13: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 3593 | 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=] 3669 | 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 3669 | 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=] 3689 | 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 3689 | 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=] 3706 | 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 3706 | 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=] 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.81558 + 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 + 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) 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.80523 + 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.PNBvz6 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.SpP2o4 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.iDQ2P4 Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.92m0M4 Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.DMH375 Requires: /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(msg_reloading), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, findutils, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.28)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libmm.so.14()(64bit) >= set:jhRdaZjhRW0, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): /bin/sh, /usr/sbin/groupadd, /usr/sbin/useradd Requires(post): /bin/sh, /usr/sbin/post_service Requires(preun): /bin/sh, /usr/sbin/preun_service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Xjp5o5 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.WhFEm4 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Imz5K2 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 Wrote: /usr/src/RPM/RPMS/x86_64/smstools-debuginfo-3.1.21-alt1.x86_64.rpm 8.54user 2.69system 0:14.70elapsed 76%CPU (0avgtext+0avgdata 46816maxresident)k 0inputs+0outputs (0major+410964minor)pagefaults 0swaps 14.76user 8.54system 0:27.09elapsed 86%CPU (0avgtext+0avgdata 110844maxresident)k 40inputs+0outputs (0major+705716minor)pagefaults 0swaps --- smstools-3.1.21-alt1.x86_64.rpm.repo 2019-07-01 05:23:57.000000000 +0000 +++ smstools-3.1.21-alt1.x86_64.rpm.hasher 2020-08-21 01:28:00.256458663 +0000 @@ -87,2 +87,3 @@ Requires: libc.so.6(GLIBC_2.2.5)(64bit) +Requires: libc.so.6(GLIBC_2.28)(64bit) Requires: libc.so.6(GLIBC_2.3)(64bit)