Cook: xl2tpd 1.2.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libnl-3.4.0-i486 Installing (pkg/local): libnl-tools-3.4.0-i486 Installing (pkg/local): libnl-dev-3.4.0-any Installing (pkg/local): libpcap-dev-1.9.0-any Installing (pkg/local): libpcap-1.9.0-i486 Extracting source archive "xl2tpd-1.2.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 cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o xl2tpd.o xl2tpd.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o pty.o pty.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o misc.o misc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o control.o control.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o avp.o avp.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o call.o call.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from pty.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from xl2tpd.c:22: /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^~~~~~~ In file included from l2tp.h:31, from pty.c:28: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:31, from avp.c:19: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:31, from call.c:27: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ control.c: In function 'write_packet': control.c:1637:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (DEBUG) ^~ control.c:1641:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!(errno == EINTR) && !(errno == EAGAIN)) ^~ control.c: In function 'handle_special': control.c:1664:20: warning: variable 'outgoing' set but not used [-Wunused-but-set-variable] struct buffer *outgoing; ^~~~~~~~ control.c: At top level: control.c:1534:26: warning: 'wbuf' is static but declared in inline function 'write_packet' which is not static static unsigned char wbuf[MAX_RECV_SIZE]; ^~~~ In file included from l2tp.h:31, from control.c:23: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:31, from xl2tpd.c:51: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ control.c: In function 'control_finish': control.c:871:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (pppd_passwdfd[1], c->lac->password, strlen (c->lac->password)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o network.o network.c xl2tpd.c: In function 'consider_pidfile': xl2tpd.c:1175:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (i, buf, strlen(buf)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ network.c: In function 'network_thread': network.c:378:27: warning: variable 'tolen' set but not used [-Wunused-but-set-variable] unsigned int fromlen, tolen; ^~~~~ In file included from l2tp.h:31, from network.c:28: network.c: At top level: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o avpsend.o avpsend.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o scheduler.o scheduler.c In file included from l2tp.h:31, from scheduler.c:18: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ In file included from l2tp.h:31, from avpsend.c:19: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o file.o file.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o aaa.o aaa.c In file included from l2tp.h:31, from file.c:26: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ file.c: In function 'parse_config': file.c:1176:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, sizeof (buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from l2tp.h:31, from aaa.c:22: misc.h:68:20: warning: inline function 'swaps' declared but never defined extern inline void swaps (void *, int); ^~~~~ aaa.c: In function 'get_secret': aaa.c:152:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (buf, sizeof (buf), f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -D_GLIBCXX_USE_C99_MATH=1 -c -o md5.o md5.c file.c: In function 'set_papchap': file.c:633:29: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] n->chap_require = result; ~~~~~~~~~~~~~~~~^~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -c contrib/pfc.c cc -Wl,-Os,--as-needed -o pfc pfc.o -lpcap cc -Wl,-Os,--as-needed -o xl2tpd xl2tpd.o pty.o misc.o control.o avp.o call.o network.o avpsend.o scheduler.o file.o aaa.o md5.o install -d -m 0755 /home/slitaz/wok/xl2tpd/install/usr/sbin install -m 0755 xl2tpd /home/slitaz/wok/xl2tpd/install/usr/sbin/xl2tpd install -d -m 0755 /home/slitaz/wok/xl2tpd/install/usr/share/man/man5 install -d -m 0755 /home/slitaz/wok/xl2tpd/install/usr/share/man/man8 install -m 0644 doc/xl2tpd.8 /home/slitaz/wok/xl2tpd/install/usr/share/man/man8/ install -m 0644 doc/xl2tpd.conf.5 doc/l2tp-secrets.5 \ /home/slitaz/wok/xl2tpd/install/usr/share/man/man5/ # pfc install -d -m 0755 /home/slitaz/wok/xl2tpd/install/usr/bin install -m 0755 pfc /home/slitaz/wok/xl2tpd/install/usr/bin/pfc install -d -m 0755 /home/slitaz/wok/xl2tpd/install/usr/share/man/man1 install -m 0644 contrib/pfc.1 /home/slitaz/wok/xl2tpd/install/usr/share/man/man1/ ================================================================================ Executing strip on all files... Done Time: 0.24s. Size: 150564 B -> 131320 B. Save: 19 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.42s. Size: 12092 B -> 5407 B. Save: 7 KB. Cache hit: 4/4. ================================================================================ Build dependencies to remove: 6 Removing: advancecomp-static libnl libnl-dev libnl-tools libpcap libpcap-dev Pack: xl2tpd 1.2.4 ================================================================================ 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 "xl2tpd-1.2.4-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "xl2tpd-1.2.4-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/xl2tpd-1.2.4... Done Checking site script in source/xl2tpd-1.2.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: xl2tpd 1.2.4 ================================================================================ Src file : xl2tpd-1.2.4.tar.gz Src size : 532.0K Source dir : 1.9M Produced : 184.0K Cook time : 10s Cook date : 2020-07-08 05:47 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 164.0K : 43.4K : 2 : xl2tpd-1.2.4-i486.tazpkg ================================================================================