>>> smstools: Building community/smstools 3.1.21-r4 (using abuild 3.14.1-r1) started Thu, 31 Oct 2024 10:18:51 +0000 >>> smstools: Validating /home/buildozer/aports/community/smstools/APKBUILD... >>> smstools: Analyzing dependencies... >>> smstools: Installing for build: build-base (1/1) Installing .makedepends-smstools (20241031.101910) OK: 396 MiB in 102 packages >>> smstools: Cleaning up srcdir >>> smstools: Cleaning up pkgdir >>> smstools: Cleaning up tmpdir >>> smstools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/smstools3-3.1.21.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> smstools: Fetching http://smstools3.kekekasvi.com/packages/smstools3-3.1.21.tar.gz Connecting to smstools3.kekekasvi.com (77.37.54.100:80) saving to '/var/cache/distfiles/v3.21/smstools3-3.1.21.tar.gz.part' smstools3-3.1.21.tar 100% |********************************| 348k 0:00:00 ETA '/var/cache/distfiles/v3.21/smstools3-3.1.21.tar.gz.part' saved >>> smstools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/smstools3-3.1.21.tar.gz >>> smstools: Checking sha512sums... smstools3-3.1.21.tar.gz: OK smstools.initd: OK smstools.conf: OK smstools.logrotate: OK gcc10.patch: OK >>> smstools: Unpacking /var/cache/distfiles/v3.21/smstools3-3.1.21.tar.gz... >>> smstools: gcc10.patch 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 cd src && make - -j48 --jobserver-auth=fifo:/tmp/GMfifo26435 make[1]: Entering directory '/home/buildozer/aports/community/smstools/src/smstools3/src' make[1]: warning: -j48 forced in submake: resetting jobserver mode. gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charshift.o charshift.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c: In function 'decode_7bit_packed': charset.c:904:49: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 509 and 510 [-Wformat-truncation=] 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~ ~~~~~~ charset.c:904:9: note: 'snprintf' output between 3 and 515 bytes into a destination of size 512 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function 'my_system': extras.c:1077:42: 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:9: 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:41: 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:9: 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c: In function 'make_datetime_string': extras.c:1670:41: warning: '%03d' directive output may be truncated writing between 3 and 8 bytes into a region of size 7 [-Wformat-truncation=] 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); | ^~~~ extras.c:1670:40: note: directive argument in the range [-2147483, 2147483] 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); | ^~~~~~ extras.c:1670:7: note: 'snprintf' output between 4 and 9 bytes into a destination of size 7 1670 | snprintf(buffer, sizeof(buffer), "%03d", (int)tv.tv_usec / 1000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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'); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd.c:40: smsd.c: In function 'received2file': 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.c:3282:29: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 3282 | sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd.c:3282:7: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 3282 | sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 '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 'savephonecall': smsd.c:2833:39: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2833 | sprintf(filename, "%s/%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name); | ^~ smsd.c:2833:17: note: 'sprintf' output between 9 and 4135 bytes into a destination of size 4096 2833 | sprintf(filename, "%s/%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:2831:39: warning: '%s' directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2831 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name, timestamp); | ^~ smsd.c:2831:17: note: 'sprintf' output between 10 and 4216 bytes into a destination of size 4096 2831 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, DEVICE.name, timestamp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:2829:39: warning: '%s' directive writing up to 80 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 2829 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, timestamp, DEVICE.name); | ^~ ~~~~~~~~~ smsd.c:2829:17: note: 'sprintf' output between 10 and 4216 bytes into a destination of size 4096 2829 | sprintf(filename, "%s/%s.%s.XXXXXX", (*d_phonecalls)? d_phonecalls : d_incoming, timestamp, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'cmd_to_modem': smsd.c:5994:51: warning: '%s' directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] 5994 | sprintf(strchr(answer, 0), " // %s", buffer); | ^~ ~~~~~~ smsd.c:5994:19: note: 'sprintf' output between 5 and 1028 bytes into a destination of size 1024 5994 | sprintf(strchr(answer, 0), " // %s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 22 and 8212 [-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 between 13 and 8234 bytes 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 21 and 8211 [-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 between 14 and 8235 bytes 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'do_ic_purge': 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.c:6241:25: note: in expansion of macro 'CONCATENATED_DIR_FNAME' 6241 | sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd.c:6241:3: note: 'sprintf' output between 15 and 4141 bytes into a destination of size 4096 6241 | sprintf(con_filename, CONCATENATED_DIR_FNAME, (*d_saved)? d_saved : d_incoming, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/buildozer/aports/community/smstools/src/smstools3/src' >>> smstools: Entering fakeroot... >>> smstools-openrc*: Running split function openrc... 'etc/init.d' -> '/home/buildozer/aports/community/smstools/pkg/smstools-openrc/etc/init.d' >>> smstools-openrc*: Preparing subpackage smstools-openrc... >>> smstools-openrc*: Running postcheck for smstools-openrc >>> smstools*: Running postcheck for smstools >>> smstools*: Preparing package smstools... >>> smstools*: Stripping binaries >>> smstools*: Script found. /bin/sh added as a dependency for smstools-3.1.21-r4.apk >>> smstools*: Adding .pre-install >>> smstools-openrc*: Scanning shared objects >>> smstools*: Scanning shared objects >>> smstools-openrc*: Tracing dependencies... >>> smstools-openrc*: Package size: 432.0 B >>> smstools-openrc*: Compressing data... >>> smstools-openrc*: Create checksum... >>> smstools-openrc*: Create smstools-openrc-3.1.21-r4.apk >>> smstools*: Tracing dependencies... /bin/sh so:libc.musl-x86.so.1 >>> smstools*: Package size: 378.8 KB >>> smstools*: Compressing data... >>> smstools*: Create checksum... >>> smstools*: Create smstools-3.1.21-r4.apk >>> smstools: Build complete at Thu, 31 Oct 2024 10:19:13 +0000 elapsed time 0h 0m 22s >>> smstools: Cleaning up srcdir >>> smstools: Cleaning up pkgdir >>> smstools: Uninstalling dependencies... (1/1) Purging .makedepends-smstools (20241031.101910) OK: 396 MiB in 101 packages >>> smstools: Updating the community/x86 repository index... >>> smstools: Signing the index...