Cook: rp-l2tp 0.4 ================================================================================ QA: checking package receipt... Extracting source archive "rp-l2tp-0.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 loading site script /etc/slitaz/cook.site creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed) works... yes checking whether the C compiler (gcc -march=i486 -Os -pipe -mindirect-branch=thunk -Wl,-Os,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for libevent directory... libevent checking for working const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for vprintf... yes checking for gethostname... yes checking for gettimeofday... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes updating cache ./config.cache creating ./config.status creating Makefile creating libevent/Makefile creating handlers/Makefile gcc -M -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" auth.c debug.c dgram.c main.c md5.c network.c options.c peer.c session.c tunnel.c utils.c > .depend gcc -c -o auth.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" auth.c gcc -c -o debug.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" debug.c gcc -c -o dgram.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" dgram.c gcc -c -o main.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" main.c gcc -c -o md5.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" md5.c gcc -c -o network.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" network.c md5.c: In function 'MD5Final': md5.c:143:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ gcc -c -o options.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" options.c auth.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ debug.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ main.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o peer.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" peer.c gcc -c -o session.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" session.c gcc -c -o tunnel.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" tunnel.c dgram.c:119:1: warning: 'describe_pulled_avp' defined but not used [-Wunused-function] describe_pulled_avp(uint16_t vendor, ^~~~~~~~~~~~~~~~~~~ dgram.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ network.c:18:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -c -o utils.o -g -I.. -Ilibevent -Wall -Wstrict-prototypes -ansi -pedantic -D_GNU_SOURCE -DVERSION=\"0.4\" -DPREFIX=\"/usr\" utils.c options.c:42:49: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "load-handler", OPT_TYPE_CALLFUNC, (void *) do_load_handler }, ^ options.c: In function 'set_option': options.c:132:39: warning: argument to 'sizeof' in 'memcpy' call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memcpy(desc->addr, he->h_addr, sizeof(he->h_addr)); ^ options.c:147:7: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] fn = (int (*)(EventSelector *, l2tp_opt_descriptor *, char const *)) desc->addr; ^ At top level: options.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ session.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ peer.c:49:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "secret", OPT_TYPE_CALLFUNC, (void *) handle_secret_option}, ^ peer.c:50:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "hostname", OPT_TYPE_CALLFUNC, (void *) handle_hostname_option}, ^ peer.c:51:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "peername", OPT_TYPE_CALLFUNC, (void *) handle_peername_option}, ^ peer.c:53:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lac-handler", OPT_TYPE_CALLFUNC, (void *) set_lac_handler}, ^ peer.c:54:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lac-opts", OPT_TYPE_CALLFUNC, (void *) handle_lac_option}, ^ peer.c:55:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lns-handler", OPT_TYPE_CALLFUNC, (void *) set_lns_handler}, ^ peer.c:56:47: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic] { "lns-opts", OPT_TYPE_CALLFUNC, (void *) handle_lns_option}, ^ peer.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ tunnel.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ test -d libevent || ln -s ../libevent . make -C libevent make[1]: Entering directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/libevent' gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I.. -c -o event.o event.c make -C handlers make[1]: Entering directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o pty.o pty.c gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o sync-pppd.o sync-pppd.c utils.c: In function 'l2tp_load_handler': utils.c:216:15: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] init_fn = (void (*)(EventSelector *)) init; ^ At top level: utils.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o cmd.o cmd.c gcc -g -O2 -I.. -I../libevent -I../../libevent -Wall -fPIC -c -o dstring.o dstring.c pty.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ rm -f libl2tp.a ar -rc libl2tp.a auth.o debug.o dgram.o main.o md5.o network.o options.o peer.o session.o tunnel.o utils.o ranlib libl2tp.a || true gcc -c -o cmd-control.o cmd-control.c dstring.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ sync-pppd.c: In function 'handle_frame': sync-pppd.c:145:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n; ^ cmd.c: In function 'process_option': cmd.c:155:15: warning: variable 'len' set but not used [-Wunused-but-set-variable] socklen_t len; ^~~ At top level: sync-pppd.c:17:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ At top level: cmd.c:16:19: warning: 'RCSID' defined but not used [-Wunused-const-variable=] static char const RCSID[] = ^~~~~ gcc -o l2tp-control cmd-control.o gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I.. -c -o event_tcp.o event_tcp.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I.. -c -o hash.o hash.c gcc -march=i486 -Os -pipe -mindirect-branch=thunk -I.. -c -o event_sig.o event_sig.c In file included from /usr/include/signal.h:25, from event_sig.c:23: /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" ^~~~~~~ gcc -shared -o cmd.so cmd.o dstring.o event_sig.c: In function 'sig_handler': event_sig.c:125:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(Pipe[1], &sig, 1); ^~~~~~~~~~~~~~~~~~~~~~~ event_sig.c: In function 'DoPipe': event_sig.c:94:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, buf, 64); ^~~~~~~~~~~~~~~~~ gcc -shared -o sync-pppd.so pty.o sync-pppd.o make[1]: Leaving directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' rm -f libevent.a ar -cq libevent.a event.o event_tcp.o hash.o event_sig.o ranlib libevent.a make[1]: Leaving directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/libevent' make -C handlers make[1]: Entering directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' gcc -o l2tpd -rdynamic auth.o debug.o dgram.o main.o md5.o network.o options.o peer.o session.o tunnel.o utils.o libevent/*.o -ldl make -C handlers make[1]: Entering directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' mkdir -p /home/slitaz/wok/rp-l2tp/install/usr/sbin /usr/bin/install -c -m 755 -s l2tpd /home/slitaz/wok/rp-l2tp/install/usr/sbin mkdir -p /home/slitaz/wok/rp-l2tp/install/etc/l2tp /usr/bin/install -c -m 644 l2tp.conf /home/slitaz/wok/rp-l2tp/install/etc/l2tp/l2tp.conf.example mkdir -p /home/slitaz/wok/rp-l2tp/install/usr/share/man/man8 mkdir -p /home/slitaz/wok/rp-l2tp/install/usr/share/man/man5 /usr/bin/install -c -m 644 man/l2tpd.8 /home/slitaz/wok/rp-l2tp/install/usr/share/man/man8 /usr/bin/install -c -m 644 man/l2tp.conf.5 /home/slitaz/wok/rp-l2tp/install/usr/share/man/man5 make -C handlers install make[1]: Entering directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' mkdir -p /usr/sbin mkdir -p /usr/lib/l2tp/plugins /usr/bin/install -c -m 755 -s l2tp-control /usr/sbin /usr/bin/install -c -m 755 sync-pppd.so cmd.so /usr/lib/l2tp/plugins make[1]: Leaving directory '/home/slitaz/wok/rp-l2tp/source/rp-l2tp-0.4/handlers' ================================================================================ Executing strip on all files... Done Time: 0.39s. Size: 75904 B -> 75904 B. Save: 0 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 1.98s. Size: 8824 B -> 3585 B. Save: 5 KB. Cache hit: 2/2. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: rp-l2tp 0.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 "rp-l2tp-0.4-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "rp-l2tp-0.4-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/rp-l2tp-0.4... Done Checking site script in source/rp-l2tp-0.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: rp-l2tp 0.4 ================================================================================ Src file : rp-l2tp-0.4.tar.gz Src size : 196.0K Source dir : 1.3M Produced : 124.0K Cook time : 11s Cook date : 2020-07-07 22:57 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 224.0K : 50.9K : 5 : rp-l2tp-0.4-i486.tazpkg ================================================================================