Cook: slsnif 0.4.4 ================================================================================ QA: checking package receipt... Extracting source archive "slsnif-0.4.4.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for strerror in -lcposix... no checking for i486-slitaz-linux-gcc... (cached) i486-slitaz-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i486-slitaz-linux-gcc accepts -g... (cached) yes checking for i486-slitaz-linux-gcc option to accept ANSI C... (cached) none needed checking dependency style of i486-slitaz-linux-gcc... (cached) gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking linux/kdev_t.h usability... yes checking linux/kdev_t.h presence... yes checking for linux/kdev_t.h... yes checking linux/major.h usability... yes checking linux/major.h presence... yes checking for linux/major.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for pid_t... yes checking return type of signal handlers... void checking for select... yes checking for strdup... yes checking for getopt_long... yes checking for time... yes checking for ctime... yes checking for ftime... yes checking for getpt... yes checking for grantpt... yes checking for unlockpt... yes checking for ptsname... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands make all-recursive make[1]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' Making all in src make[2]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' source='slsnif.c' object='slsnif.o' libtool=no \ depfile='.deps/slsnif.Po' tmpdepfile='.deps/slsnif.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -g -Wall -O3 -c `test -f 'slsnif.c' || echo './'`slsnif.c source='devlck.c' object='devlck.o' libtool=no \ depfile='.deps/devlck.Po' tmpdepfile='.deps/devlck.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -g -Wall -O3 -c `test -f 'devlck.c' || echo './'`devlck.c source='rcfile.c' object='rcfile.o' libtool=no \ depfile='.deps/rcfile.Po' tmpdepfile='.deps/rcfile.TPo' \ depmode=gcc3 /bin/bash ../depcomp \ i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_GLIBCXX_USE_C99_MATH=1 -g -Wall -O3 -c `test -f 'rcfile.c' || echo './'`rcfile.c devlck.c: In function 'dev_setlock': devlck.c:150:13: warning: variable 'oldmask' set but not used [-Wunused-but-set-variable] mode_t oldmask; ^~~~~~~ slsnif.c: In function 'writeData': slsnif.c:223:29: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buffer, "\n%s %i", TOTALBYTES, n); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from slsnif.h:20, from slsnif.c:26: /usr/include/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ slsnif.c:225:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] write (out, buffer, strlen(buffer)); ^~~~~~ In file included from common.h:21, from slsnif.h:39, from slsnif.c:26: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ devlck.c: In function 'dev_checklock.constprop': devlck.c:109:62: warning: '%s' directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] sprintf(buffer, "Failed to remove stale lock %s", lckname); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c:98:59: warning: '%s' directive writing up to 255 bytes into a region of size 231 [-Wformat-overflow=] sprintf(buffer, "Failed to open lock file %s", lckname); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 281 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c: In function 'setColor': slsnif.c:140:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, color, 7); ^~~~~~~~~~~~~~~~~~~~ slsnif.c:142:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, colors[WHITE].color, 7); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c: In function 'writeData': slsnif.c:177:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, buffer, n); ^~~~~~~~~~~~~~~~~~~~~ slsnif.c:178:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(aux, buffer, n); ^~~~~~~~~~~~~~~~~~~~~ slsnif.c:183:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, "\n\n", 2); ^~~~~~~~~~~~~~~~~~~~~ slsnif.c:192:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, tbuf, 28); ^~~~~~~~~~~~~~~~~~~~ slsnif.c:200:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, "\n", 1); ^~~~~~~~~~~~~~~~~~~ slsnif.c:204:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, aux ? PORT_IN : PORT_OUT, PRFXSIZE); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c:219:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(out, outbuf, strlen(outbuf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c:225:21: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (out, buffer, strlen(buffer)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c: In function 'closeAll': slsnif.c:289:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tty_data.logfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c: In function 'main': slsnif.c:614:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmpfd, tty_data.ptyName, strlen(tty_data.ptyName)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c:615:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(tmpfd, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~ devlck.c: In function 'dev_checklock': devlck.c:109:62: warning: '%s' directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] sprintf(buffer, "Failed to remove stale lock %s", lckname); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c:98:59: warning: '%s' directive writing up to 255 bytes into a region of size 231 [-Wformat-overflow=] sprintf(buffer, "Failed to open lock file %s", lckname); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 26 and 281 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c: In function 'dev_setlock': devlck.c:211:57: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] sprintf(buffer, "Failed to create lock file %s", drec->fsstnd); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 283 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c:203:57: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] sprintf(buffer, "Failed to create lock file %s", drec->svr4); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 283 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c:193:57: warning: '%s' directive writing up to 255 bytes into a region of size 229 [-Wformat-overflow=] sprintf(buffer, "Failed to create lock file %s", lckname); ^~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 283 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c: In function 'dev_unlock': devlck.c:282:37: warning: '%s' directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] sprintf(buffer, "%s %s", REMFAIL, drec->fsstnd); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ devlck.c:286:37: warning: '%s' directive writing up to 255 bytes into a region of size 228 [-Wformat-overflow=] sprintf(buffer, "%s %s", REMFAIL, drec->svr4); ^~ In file included from /usr/include/stdio.h:873, from devlck.h:25, from devlck.c:19: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 29 and 284 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c: In function 'writeData': slsnif.c:189:37: warning: '%2u' directive writing between 2 and 5 bytes into a region of size 3 [-Wformat-overflow=] sprintf(tmp1, ".%2ui", tstamp.millitm); ^~~ slsnif.c:189:35: note: directive argument in the range [0, 65535] sprintf(tmp1, ".%2ui", tstamp.millitm); ^~~~~~~ In file included from /usr/include/stdio.h:873, from slsnif.h:21, from slsnif.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 5 and 8 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c:223:43: warning: '%i' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] sprintf(buffer, "\n%s %i", TOTALBYTES, n); ^~ slsnif.c:223:37: note: directive argument in the range [1, 2147483647] sprintf(buffer, "\n%s %i", TOTALBYTES, n); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from slsnif.h:21, from slsnif.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 37 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ slsnif.c:223:43: warning: '%i' directive writing between 1 and 10 bytes into a region of size 6 [-Wformat-overflow=] sprintf(buffer, "\n%s %i", TOTALBYTES, n); ^~ slsnif.c:223:37: note: directive argument in the range [1, 2147483647] sprintf(buffer, "\n%s %i", TOTALBYTES, n); ^~~~~~~~~ In file included from /usr/include/stdio.h:873, from slsnif.h:21, from slsnif.c:26: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 28 and 37 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i486-slitaz-linux-gcc -g -Wall -O3 -Wl,-Os,--as-needed -o slsnif slsnif.o devlck.o rcfile.o make[2]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' make[2]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' make[2]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' make[1]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' Making install in src make[1]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' make[2]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' /bin/bash ../mkinstalldirs /home/slitaz/wok/slsnif/install/usr/bin make[2]: Nothing to be done for 'install-data-am'. mkdir -p -- /home/slitaz/wok/slsnif/install/usr/bin /usr/bin/install -c slsnif /home/slitaz/wok/slsnif/install/usr/bin/slsnif make[2]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' make[1]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4/src' make[1]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' make[2]: Entering directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' make[2]: Nothing to be done for 'install-exec-am'. /bin/bash ./mkinstalldirs /home/slitaz/wok/slsnif/install/usr/share/man/man1 mkdir -p -- /home/slitaz/wok/slsnif/install/usr/share/man/man1 /usr/bin/install -c -m 644 ./slsnif.1 /home/slitaz/wok/slsnif/install/usr/share/man/man1/slsnif.1 make[2]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' make[1]: Leaving directory '/home/slitaz/wok/slsnif/source/slsnif-0.4.4' ================================================================================ Executing strip on all files... Done Time: 0.27s. Size: 80564 B -> 30244 B. Save: 49 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.83s. Size: 6698 B -> 2789 B. Save: 4 KB. Cache hit: 1/1. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: slsnif 0.4.4 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "slsnif-0.4.4-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "slsnif-0.4.4-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/slsnif-0.4.4... Done Checking site script in source/slsnif-0.4.4... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: slsnif 0.4.4 ================================================================================ Src file : slsnif-0.4.4.tar.gz Src size : 148.0K Source dir : 992.0K Produced : 60.0K Cook time : 13s Cook date : 2020-07-08 00:23 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 60.0K : 11.3K : 1 : slsnif-0.4.4-i486.tazpkg ================================================================================