<86>Jun 10 08:43:51 userdel[29514]: delete user 'rooter' <86>Jun 10 08:43:51 userdel[29514]: removed group 'rooter' owned by 'rooter' <86>Jun 10 08:43:51 userdel[29514]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 10 08:43:51 groupadd[29519]: group added to /etc/group: name=rooter, GID=585 <86>Jun 10 08:43:51 groupadd[29519]: group added to /etc/gshadow: name=rooter <86>Jun 10 08:43:51 groupadd[29519]: new group: name=rooter, GID=585 <86>Jun 10 08:43:51 useradd[29523]: new user: name=rooter, UID=585, GID=585, home=/root, shell=/bin/bash <86>Jun 10 08:43:51 userdel[29530]: delete user 'builder' <86>Jun 10 08:43:51 userdel[29530]: removed group 'builder' owned by 'builder' <86>Jun 10 08:43:51 userdel[29530]: removed shadow group 'builder' owned by 'builder' <86>Jun 10 08:43:51 groupadd[29535]: group added to /etc/group: name=builder, GID=586 <86>Jun 10 08:43:51 groupadd[29535]: group added to /etc/gshadow: name=builder <86>Jun 10 08:43:51 groupadd[29535]: new group: name=builder, GID=586 <86>Jun 10 08:43:51 useradd[29539]: new user: name=builder, UID=586, GID=586, home=/usr/src, shell=/bin/bash Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/smstools-3.1.14-alt1.nosrc.rpm Installing smstools-3.1.14-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.53351 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf smstools-3.1.14 + echo 'Source #0 (smstools3-3.1.14.tar.gz):' Source #0 (smstools3-3.1.14.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/smstools3-3.1.14.tar.gz + /bin/tar -xf - + cd smstools-3.1.14 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (smstools-3.1.14-alt1.patch):' Patch #0 (smstools-3.1.14-alt1.patch): + /usr/bin/patch -p1 patching file src/locking.c + sed -i '/ggdb/ s/^#//' src/Makefile + find doc -type f -exec chmod 644 '{}' ';' + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58507 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd smstools-3.1.14 + 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.14/src' make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c charset.c: In function 'iso_utf8_2gsm': charset.c:538:35: warning: '%02X' directive writing 2 bytes into a region of size between 0 and 50 [-Wformat-overflow=] sprintf(logtmp, "%s(%02X[%c])~>%02X", sourcechars, (unsigned char)c, prch(c), (unsigned char)newch); ^~~~ charset.c:538:15: note: 'sprintf' output between 12 and 62 bytes into a destination of size 51 sprintf(logtmp, "%s(%02X[%c])~>%02X", sourcechars, (unsigned char)c, prch(c), (unsigned char)newch); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c:523:33: warning: '%02X' directive writing 2 bytes into a region of size between 0 and 50 [-Wformat-overflow=] sprintf(logtmp, "%s(%02X[%c])->%s%02X", sourcechars, (unsigned char)c, prch(c), ^~~~ charset.c:523:13: note: 'sprintf' output 12 or more bytes (assuming 62) into a destination of size 51 sprintf(logtmp, "%s(%02X[%c])->%s%02X", sourcechars, (unsigned char)c, prch(c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (found == 2)? "Esc-" : "", (unsigned char)newch); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ charset.c: In function 'decode_7bit_packed': charset.c:1021: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:1021: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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c logging.c: In function 'writelogfile': logging.c:198: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:198: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:224: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:224: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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c stats.c: In function 'savestats': stats.c:151: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:151: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:180: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:180: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:317: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:317:5: note: 'sprintf' output 10 or more bytes (assuming 4105) into a destination of size 4096 sprintf(filename, "%s/%s.counter", d_stats, modemname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c pdu.c: In function 'get_pdu_details': pdu.c:1752:7: warning: variable 'udlen' set but not used [-Wunused-but-set-variable] int udlen; ^~~~~ pdu.c:1859: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:1859: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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c modeminit.c: In function 'handlephonecall_clip': modeminit.c:849:6: warning: variable 'entry_type' set but not used [-Wunused-but-set-variable] int entry_type; ^~~~~~~~~~ modeminit.c: In function 'initmodem': modeminit.c:1541: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:1541:5: note: 'sprintf' output between 13 and 512 bytes into a destination of size 100 sprintf(command, "AT+CSCA=\"+%s\"\r", answer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -ggdb -O0 -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c make[1]: Leaving directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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:1025:29: warning: ',' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] sprintf(value, "%s%i,", tmp, i); ^ smsd_cfg.c:1025:9: note: 'sprintf' output between 3 and 4108 bytes into a destination of size 4096 sprintf(value, "%s%i,", tmp, i); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function 'startup_check': smsd_cfg.c:2131: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:2131: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:2495: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:2495: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:33: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:2579:24: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:2579: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:33: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:2590:26: note: in expansion of macro 'CONCATENATED_DIR_FNAME' sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:2590: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:2666: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:2666: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:2686: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:2686: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:2703: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:2703: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.14/src' make[1]: Entering directory '/usr/src/RPM/BUILD/smstools-3.1.14/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -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 smsd.c: In function 'exec_system': smsd.c:246: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:246: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:219: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:219: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 'received2file': smsd.c:3119: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:3119: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:3496: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:3771:27: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(command2,"%s\x1A",pdu); ^ smsd.c:3771:3: note: 'sprintf' output between 2 and 1025 bytes into a destination of size 1024 sprintf(command2,"%s\x1A",pdu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function 'cmd_to_modem': smsd.c:5419:61: warning: '%s' directive output may be truncated writing up to 499 bytes into a region of size between 476 and 587 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer); ^~ ~~~~~~ smsd.c:5419:7: note: 'snprintf' output 15 or more bytes (assuming 625) into a destination of size 600 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:5487: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:5487: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:5550: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:5550: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.14/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.66487 + 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.14 + 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.14-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.35068 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd smstools-3.1.14 + DOCDIR=/usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + export DOCDIR + rm -rf /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + /bin/mkdir -p /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + cp -prL README LICENSE examples doc /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + chmod -R go-w /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + chmod -R a+rX /usr/src/tmp/smstools-buildroot/usr/share/doc/smstools-3.1.14 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KUIqla 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.dpPXAZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) 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.TSMjSj Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MS1n1i Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.B35MV8 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), rtld(GNU_HASH) Requires(interp): /bin/sh 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.GPhGJi Creating smstools-debuginfo package Processing files: smstools-debuginfo-3.1.14-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.wJLQxj find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.42lBLU find-requires: running scripts (debuginfo) Requires: smstools = 3.1.14-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Wrote: /usr/src/RPM/RPMS/i586/smstools-3.1.14-alt1.i586.rpm Wrote: /usr/src/RPM/RPMS/i586/smstools-debuginfo-3.1.14-alt1.i586.rpm 9.59user 1.91system 0:21.00elapsed 54%CPU (0avgtext+0avgdata 33108maxresident)k 0inputs+0outputs (0major+321984minor)pagefaults 0swaps 12.05user 5.97system 0:28.36elapsed 63%CPU (0avgtext+0avgdata 33108maxresident)k 0inputs+0outputs (0major+499442minor)pagefaults 0swaps --- smstools-3.1.14-alt1.i586.rpm.repo 2012-10-03 19:11:08.000000000 +0000 +++ smstools-3.1.14-alt1.i586.rpm.hasher 2019-06-10 08:44:16.581750501 +0000 @@ -75,4 +75,2 @@ Requires: /bin/sh -Requires: /bin/sh -Requires: /bin/sh Requires: /etc/logrotate.d