>>> smstools: Building community/smstools 3.1.21-r3 (using abuild 3.10.0_rc1-r2) started Sat, 29 Oct 2022 15:03:11 +0000 >>> smstools: Checking sanity of /home/buildozer/aports/community/smstools/APKBUILD... >>> smstools: Analyzing dependencies... >>> smstools: Installing for build: build-base (1/1) Installing .makedepends-smstools (20221029.150313) OK: 189 MiB in 93 packages >>> smstools: Cleaning up srcdir >>> smstools: Cleaning up pkgdir >>> smstools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/smstools3-3.1.21.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 348k 100 348k 0 0 359k 0 --:--:-- --:--:-- --:--:-- 359k >>> smstools: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/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.17/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 - -j64 --jobserver-auth=6,7 make[1]: warning: -j64 forced in submake: resetting jobserver mode. make[1]: Entering directory '/home/buildozer/aports/community/smstools/src/smstools3/src' gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o extras.o extras.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o locking.o locking.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o cfgfile.o cfgfile.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o logging.o logging.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o alarm.o alarm.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o smsd_cfg.o smsd_cfg.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o charset.o charset.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o stats.o stats.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o blacklist.o blacklist.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o whitelist.o whitelist.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o modeminit.o modeminit.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o pdu.o pdu.c gcc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -Os -fomit-frame-pointer -c -o charshift.o charshift.c 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... >>> 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-r3.apk >>> smstools*: Adding .pre-install >>> smstools-openrc*: Scanning shared objects >>> smstools*: Scanning shared objects >>> smstools-openrc*: Tracing dependencies... >>> smstools-openrc*: Package size: 16.0 KB >>> smstools-openrc*: Compressing data... >>> smstools-openrc*: Create checksum... >>> smstools-openrc*: Create smstools-openrc-3.1.21-r3.apk >>> smstools*: Tracing dependencies... /bin/sh so:libc.musl-armv7.so.1 >>> smstools*: Package size: 388.0 KB >>> smstools*: Compressing data... >>> smstools*: Create checksum... >>> smstools*: Create smstools-3.1.21-r3.apk >>> smstools: Build complete at Sat, 29 Oct 2022 15:03:19 +0000 elapsed time 0h 0m 8s >>> smstools: Cleaning up srcdir >>> smstools: Cleaning up pkgdir >>> smstools: Uninstalling dependencies... (1/1) Purging .makedepends-smstools (20221029.150313) OK: 189 MiB in 92 packages >>> smstools: Updating the community/armv7 repository index... >>> smstools: Signing the index...