Cook: n2n 1.3.2 ================================================================================ QA: checking package receipt... Extracting source archive "n2n-1.3.2.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 gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c n2n.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c minilzo.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c twofish.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c tuntap_freebsd.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c tuntap_linux.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c tuntap_osx.c tuntap_linux.c: In function 'tuntap_open': tuntap_linux.c:95:7: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ tuntap_linux.c:101:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(buf); ^~~~~~~~~~~ n2n.c: In function 'receive_data': n2n.c:452:9: warning: variable 'payload' set but not used [-Wunused-but-set-variable] char *payload, *pkt_type; ^~~~~~~ n2n.c: In function 'hex2byte': n2n.c:894:8: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[3]; ^~~ gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs -c version.c n2n.c: In function 'traceEvent': n2n.c:339:59: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 580 and 620 [-Wformat-truncation=] snprintf(out_buf, sizeof(out_buf), "%s [%11s:%4d] %s%s", theDate, file, line, extra_msg, buf); ^~ ~~~ In file included from /usr/include/stdio.h:873, from n2n.h:54, from n2n.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 21 or more bytes (assuming 2108) into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ n2n.c:336:45: warning: '%s' directive output may be truncated writing up to 2047 bytes into a region of size between 631 and 640 [-Wformat-truncation=] snprintf(out_buf, sizeof(out_buf), "%s%s", extra_msg, buf); ^~ ~~~ In file included from /usr/include/stdio.h:873, from n2n.h:54, from n2n.c:24: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 2057 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcs n2n.a n2n.o minilzo.o twofish.o tuntap_freebsd.o tuntap_linux.o tuntap_osx.o version.o gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs edge.c n2n.a -lpthread -o edge gcc -march=i486 -Os -pipe -mindirect-branch=thunk -g -Wall -Wshadow -Wpointer-arith -Wmissing-declarations -Wnested-externs supernode.c n2n.a -lpthread -o supernode supernode.c: In function 'tcpReadThread': supernode.c:373:9: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ supernode.c:374:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' printf("%c%c [%d][%d] ", c[0], c[1], c[0], c[1]); fflush(stdout); ^~~~~~ supernode.c: In function 'startTcpReadThread': supernode.c:432:7: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^~ edge.c: In function 'main': edge.c:1321:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid( 0 ); ^~~~~~~~~~~ edge.c:1333:5: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid( userid, userid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:1334:5: warning: ignoring return value of 'setregid', declared with attribute warn_unused_result [-Wunused-result] setregid( groupid, groupid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ edge.c:1358:7: warning: ignoring return value of 'daemon', declared with attribute warn_unused_result [-Wunused-result] daemon( 0, 0 ); ^~~~~~~~~~~~~~ gzip -c edge.8 > edge.8.gz gzip -c supernode.1 > supernode.1.gz echo "MANDIR=/home/slitaz/wok/n2n/install/usr/share/man" MANDIR=/home/slitaz/wok/n2n/install/usr/share/man mkdir -p /home/slitaz/wok/n2n/install/usr/bin /home/slitaz/wok/n2n/install/usr/sbin /home/slitaz/wok/n2n/install/usr/share/man/man1 /home/slitaz/wok/n2n/install/usr/share/man/man8 install -m755 supernode /home/slitaz/wok/n2n/install/usr/bin/ install -m755 edge /home/slitaz/wok/n2n/install/usr/sbin/ install -m644 edge.8.gz /home/slitaz/wok/n2n/install/usr/share/man/man8/ install -m644 supernode.1.gz /home/slitaz/wok/n2n/install/usr/share/man/man1/ ================================================================================ Executing strip on all files... Done Time: 0.22s. Size: 264844 B -> 68180 B. Save: 192 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.38s. Size: 2654 B -> 2602 B. Save: 0 KB. Cache hit: 2/2. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: n2n 1.3.2 ================================================================================ Executing: genpkg_rules Copying folders and files... Done 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 "n2n-1.3.2-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "n2n-1.3.2-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/n2n-1.3.2... Done Checking site script in source/n2n-1.3.2... 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: n2n 1.3.2 ================================================================================ Src file : n2n-1.3.2.tar.gz Src size : 124.0K Source dir : 1.1M Produced : 112.0K Cook time : 9s Cook date : 2020-07-07 16:02 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 104.0K : 23.0K : 2 : n2n-1.3.2-i486.tazpkg ================================================================================