>>> pptpd: Building main/pptpd 1.4.0-r4 (using abuild 3.10.0-r2) started Tue, 11 Apr 2023 16:43:01 +0000 >>> pptpd: Checking sanity of /home/buildozer/aports/main/pptpd/APKBUILD... >>> pptpd: Analyzing dependencies... >>> pptpd: Installing for build: build-base ppp-daemon ppp-dev (1/5) Installing libpcap (1.10.4-r1) (2/5) Installing ppp-daemon (2.5.0-r2) (3/5) Installing ppp-dev (2.5.0-r2) (4/5) Installing .makedepends-pptpd (20230411.164302) (5/5) Installing ifupdown-ng-ppp (0.12.1-r1) Executing busybox-1.36.0-r6.trigger OK: 409 MiB in 104 packages >>> pptpd: Cleaning up srcdir >>> pptpd: Cleaning up pkgdir >>> pptpd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pptpd-1.4.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 246k 100 246k 0 0 1546k 0 --:--:-- --:--:-- --:--:-- 1548k >>> pptpd: Fetching https://distfiles.alpinelinux.org/distfiles/edge/pptpd-1.4.0.tar.gz >>> pptpd: Checking sha512sums... pptpd-1.4.0.tar.gz: OK fix_MSG_TRYHARD.patch: OK pptpd.patch: OK pptpd.confd: OK pptpd.initd: OK options.pptp: OK pptpd.conf: OK >>> pptpd: Unpacking /var/cache/distfiles/edge/pptpd-1.4.0.tar.gz... >>> pptpd: fix_MSG_TRYHARD.patch patching file bcrelay.c >>> pptpd: pptpd.patch patching file Makefile.am patching file plugins/Makefile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking command line for use of BSD PPP... default standard pppd checking command line for use of SLIRP... default no checking command line for syslog facility name... default LOG_DAEMON checking command line for bcrelay build... default no checking command line for VRF build... default no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for ranlib... ranlib checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether #! works in shell scripts... yes checking for setsid... yes checking for daemon... yes checking for setproctitle... no checking for getservbyname... yes checking for strlcpy... yes checking for fork... yes checking for memmove... yes checking for strerror... yes checking for writev... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 pty.h usability... yes checking pty.h presence... yes checking for pty.h... yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking libutil.h usability... no checking libutil.h presence... no checking for libutil.h... no checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking for size_t... yes checking for ssize_t... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for socklen_t... yes checking for accept in -lc... yes checking for gethostbyname in -lc... yes checking for openpty in -lc... yes checking for gettext in -lc... yes checking for accept in -lsocket... no checking for gethostbyname in -lnsl... no checking for openpty in -lutil... yes checking for gettext in -lintl... no =============================================================================== Configuration chosen: PPPd: Standard. LIBWRAP security: No. Broadcast Relay: No. VRF support: No. configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands cd . && /bin/sh /home/buildozer/aports/main/pptpd/src/pptpd-1.4.0/missing --run automake-1.11 --foreign Makefile /home/buildozer/aports/main/pptpd/src/pptpd-1.4.0/missing: line 52: automake-1.11: not found WARNING: `automake-1.11' is missing on your system. You should only need it if you modified `Makefile.am', `acinclude.m4' or `configure.in'. You might want to install the `Automake' and `Perl' packages. Grab them from any GNU archive site. cd . && /bin/sh ./config.status Makefile config.status: creating Makefile make all-am make[1]: Entering directory '/home/buildozer/aports/main/pptpd/src/pptpd-1.4.0' gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pqueue.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pptpd.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c configfile.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pptpmanager.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c compat.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c inststr.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c getopt.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pptpctrl.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c ctrlpacket.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c pptpgre.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c ppphdlc.c gcc -DHAVE_CONFIG_H -I. -I. -Os -O2 -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -c bcrelay.c for d in plugins; do make -j64 --jobserver-auth=fifo:/tmp/GMfifo17083 -C $d all; done make[2]: Entering directory '/home/buildozer/aports/main/pptpd/src/pptpd-1.4.0/plugins' make[2]: warning: -j64 forced in submake: resetting jobserver mode. gcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil In file included from compat.c:12: compat.c: In function 'sigpipe_handler': our_syslog.h:38:62: warning: implicit declaration of function 'strerror'; did you mean 'perror'? [-Wimplicit-function-declaration] 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) | ^~~~~~~~ compat.c:168:5: note: in expansion of macro 'syslog_perror' 168 | syslog_perror("sigpipe write"); | ^~~~~~~~~~~~~ compat.c: In function 'sigpipe_assign': compat.c:178:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 178 | memset(&sa, 0, sizeof(sa)); | ^~~~~~ compat.c:131:1: note: 'memset' is defined in header ''; did you forget to '#include '? 130 | #include +++ |+#include 131 | pptpd-logwtmp.c:17:23: error: 'VERSION' undeclared here (not in a function) 17 | char pppd_version[] = VERSION; | ^~~~~~~ pptpd-logwtmp.c:19:31: error: 'PATH_MAX' undeclared here (not in a function) 19 | static char pptpd_original_ip[PATH_MAX+1]; | ^~~~~~~~ pptpd-logwtmp.c:22:8: error: unknown type name 'option_t' 22 | static option_t options[] = { | ^~~~~~~~ pptpd-logwtmp.c:23:3: warning: braces around scalar initializer 23 | { "pptpd-original-ip", o_string, pptpd_original_ip, | ^ pptpd-logwtmp.c:23:3: note: (near initialization for 'options[0]') pptpd-logwtmp.c:23:5: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 23 | { "pptpd-original-ip", o_string, pptpd_original_ip, | ^~~~~~~~~~~~~~~~~~~ pptpd-logwtmp.c:23:5: note: (near initialization for 'options[0]') pptpd-logwtmp.c:23:5: error: initializer element is not computable at load time pptpd-logwtmp.c:23:5: note: (near initialization for 'options[0]') pptpd-logwtmp.c:23:26: error: 'o_string' undeclared here (not in a function) 23 | { "pptpd-original-ip", o_string, pptpd_original_ip, | ^~~~~~~~ pptpd-logwtmp.c:23:26: warning: excess elements in scalar initializer pptpd-logwtmp.c:23:26: note: (near initialization for 'options[0]') pptpd-logwtmp.c:23:36: warning: excess elements in scalar initializer 23 | { "pptpd-original-ip", o_string, pptpd_original_ip, | ^~~~~~~~~~~~~~~~~ pptpd-logwtmp.c:23:36: note: (near initialization for 'options[0]') pptpd-logwtmp.c:24:5: warning: excess elements in scalar initializer 24 | "Original IP address of the PPTP connection", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptpd-logwtmp.c:24:5: note: (near initialization for 'options[0]') pptpd-logwtmp.c:25:5: error: 'OPT_STATIC' undeclared here (not in a function) 25 | OPT_STATIC, NULL, PATH_MAX }, | ^~~~~~~~~~ pptpd-logwtmp.c:25:5: warning: excess elements in scalar initializer pptpd-logwtmp.c:25:5: note: (near initialization for 'options[0]') pptpd-logwtmp.c:25:17: warning: excess elements in scalar initializer 25 | OPT_STATIC, NULL, PATH_MAX }, | ^~~~ pptpd-logwtmp.c:25:17: note: (near initialization for 'options[0]') pptpd-logwtmp.c:25:23: warning: excess elements in scalar initializer 25 | OPT_STATIC, NULL, PATH_MAX }, | ^~~~~~~~ pptpd-logwtmp.c:25:23: note: (near initialization for 'options[0]') pptpd-logwtmp.c:26:3: warning: braces around scalar initializer 26 | { "pptpd-logwtmp-strip-domain", o_bool, &pptpd_logwtmp_strip_domain, | ^ pptpd-logwtmp.c:26:3: note: (near initialization for 'options[1]') pptpd-logwtmp.c:26:5: warning: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion] 26 | { "pptpd-logwtmp-strip-domain", o_bool, &pptpd_logwtmp_strip_domain, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptpd-logwtmp.c:26:5: note: (near initialization for 'options[1]') pptpd-logwtmp.c:26:5: error: initializer element is not computable at load time pptpd-logwtmp.c:26:5: note: (near initialization for 'options[1]') pptpd-logwtmp.c:26:35: error: 'o_bool' undeclared here (not in a function); did you mean 'bool'? 26 | { "pptpd-logwtmp-strip-domain", o_bool, &pptpd_logwtmp_strip_domain, | ^~~~~~ | bool pptpd-logwtmp.c:26:35: warning: excess elements in scalar initializer pptpd-logwtmp.c:26:35: note: (near initialization for 'options[1]') pptpd-logwtmp.c:26:43: warning: excess elements in scalar initializer 26 | { "pptpd-logwtmp-strip-domain", o_bool, &pptpd_logwtmp_strip_domain, | ^ pptpd-logwtmp.c:26:43: note: (near initialization for 'options[1]') pptpd-logwtmp.c:27:5: warning: excess elements in scalar initializer 27 | "Strip domain from username before logging", OPT_PRIO | 1 }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pptpd-logwtmp.c:27:5: note: (near initialization for 'options[1]') pptpd-logwtmp.c:27:50: error: 'OPT_PRIO' undeclared here (not in a function) 27 | "Strip domain from username before logging", OPT_PRIO | 1 }, | ^~~~~~~~ pptpd-logwtmp.c:27:50: warning: excess elements in scalar initializer pptpd-logwtmp.c:27:50: note: (near initialization for 'options[1]') pptpd-logwtmp.c:28:3: warning: braces around scalar initializer 28 | { NULL } | ^ pptpd-logwtmp.c:28:3: note: (near initialization for 'options[2]') pptpd-logwtmp.c:28:5: warning: initialization of 'int' from 'void *' makes integer from pointer without a cast [-Wint-conversion] 28 | { NULL } | ^~~~ pptpd-logwtmp.c:28:5: note: (near initialization for 'options[2]') pptpd-logwtmp.c: In function 'ip_up': pptpd-logwtmp.c:45:23: error: 'peer_authname' undeclared (first use in this function); did you mean 'ppp_peer_authname'? 45 | char *user = reduce(peer_authname); | ^~~~~~~~~~~~~ | ppp_peer_authname pptpd-logwtmp.c:45:23: note: each undeclared identifier is reported only once for each function it appears in pptpd-logwtmp.c:46:7: error: 'debug' undeclared (first use in this function); did you mean 'debug_on'? 46 | if (debug) | ^~~~~ | debug_on pptpd-logwtmp.c:47:47: error: 'ifname' undeclared (first use in this function) 47 | notice("pptpd-logwtmp.so ip-up %s %s %s", ifname, user, | ^~~~~~ pptpd-logwtmp.c:49:3: warning: implicit declaration of function 'logwtmp' [-Wimplicit-function-declaration] 49 | logwtmp(ifname, user, pptpd_original_ip); | ^~~~~~~ pptpd-logwtmp.c: In function 'ip_down': pptpd-logwtmp.c:54:7: error: 'debug' undeclared (first use in this function); did you mean 'debug_on'? 54 | if (debug) | ^~~~~ | debug_on pptpd-logwtmp.c:55:43: error: 'ifname' undeclared (first use in this function) 55 | notice("pptpd-logwtmp.so ip-down %s", ifname); | ^~~~~~ pptpd-logwtmp.c: In function 'plugin_init': pptpd-logwtmp.c:61:3: warning: implicit declaration of function 'add_options' [-Wimplicit-function-declaration] 61 | add_options(options); | ^~~~~~~~~~~ pptpd-logwtmp.c:62:3: warning: implicit declaration of function 'add_notifier' [-Wimplicit-function-declaration] 62 | add_notifier(&ip_up_notifier, ip_up, NULL); | ^~~~~~~~~~~~ pptpd-logwtmp.c:62:17: error: 'ip_up_notifier' undeclared (first use in this function) 62 | add_notifier(&ip_up_notifier, ip_up, NULL); | ^~~~~~~~~~~~~~ pptpd-logwtmp.c:63:17: error: 'ip_down_notifier' undeclared (first use in this function) 63 | add_notifier(&ip_down_notifier, ip_down, NULL); | ^~~~~~~~~~~~~~~~ pptpd-logwtmp.c:64:7: error: 'debug' undeclared (first use in this function); did you mean 'debug_on'? 64 | if (debug) | ^~~~~ | debug_on make[2]: *** [Makefile:19: pptpd-logwtmp.so] Error 1 make[2]: Leaving directory '/home/buildozer/aports/main/pptpd/src/pptpd-1.4.0/plugins' make[1]: *** [Makefile:840: all-local] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildozer/aports/main/pptpd/src/pptpd-1.4.0' make: *** [Makefile:277: all] Error 2 >>> ERROR: pptpd: build failed >>> pptpd: Uninstalling dependencies... (1/5) Purging .makedepends-pptpd (20230411.164302) (2/5) Purging ppp-dev (2.5.0-r2) (3/5) Purging ifupdown-ng-ppp (0.12.1-r1) (4/5) Purging ppp-daemon (2.5.0-r2) (5/5) Purging libpcap (1.10.4-r1) Executing busybox-1.36.0-r6.trigger OK: 408 MiB in 99 packages