==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_5832e8f5-71ab-40b7-8a71-e0d75828a463]...done ==> Making package: pptpd 1.4.0-3.1 (Mon Mar 11 16:36:38 2024) ==> Retrieving sources... -> Downloading 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 382 100 382 0 0 555 0 --:--:-- --:--:-- --:--:-- 556 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 359 100 359 0 0 133 0 0:00:02 0:00:02 --:--:-- 360 100 359 100 359 0 0 133 0 0:00:02 0:00:02 --:--:-- 360 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 100 246k 100 246k 0 0 79072 0 0:00:03 0:00:03 --:--:-- 1375k -> Downloading pptpd-1.4.0.tar.gz.asc... % 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 390 100 390 0 0 262 0 0:00:01 0:00:01 --:--:-- 262 100 390 100 390 0 0 262 0 0:00:01 0:00:01 --:--:-- 262 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 377 100 377 0 0 108 0 0:00:03 0:00:03 --:--:-- 380 100 377 100 377 0 0 108 0 0:00:03 0:00:03 --:--:-- 380 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 100 190 100 190 0 0 46 0 0:00:04 0:00:04 --:--:-- 763 -> Found pptpd.service -> Found unrecognized-opt.patch ==> Validating source files with sha256sums... pptpd-1.4.0.tar.gz ... Passed pptpd-1.4.0.tar.gz.asc ... Skipped pptpd.service ... Passed unrecognized-opt.patch ... Passed ==> Verifying source file signatures with gpg... pptpd-1.4.0.tar.gz ... Passed ==> Making package: pptpd 1.4.0-3.1 (Mon Mar 11 16:36:47 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (4) New Version Net Change core/dbus 1.14.10-2 0.89 MiB core/libnl 3.9.0-1 2.11 MiB core/libpcap 1.10.4-1 0.63 MiB core/ppp 2.5.0-3 0.91 MiB Total Installed Size: 4.54 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnl... installing dbus... installing libpcap... installing ppp... [?25h==> Checking buildtime dependencies... ==> Retrieving sources... -> Found pptpd-1.4.0.tar.gz -> Found pptpd-1.4.0.tar.gz.asc -> Found pptpd.service -> Found unrecognized-opt.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting pptpd-1.4.0.tar.gz with bsdtar ==> Starting build()... autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:3: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:3: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:3: the top level configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.in:4: the top level configure.in:153: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:153: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:153: the top level configure.in:153: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:153: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2892: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2909: AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.in:153: the top level configure.in:240: warning: The macro 'AC_CHECKING' is obsolete. configure.in:240: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.in:240: the top level configure.in:296: warning: AC_OUTPUT should be used without arguments. configure.in:296: You should run autoupdate. autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:109: installing './compile' Makefile.am:7: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /startdir/src/pptpd-1.4.0/missing: Unknown `--is-lightweight' option Try `/startdir/src/pptpd-1.4.0/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) 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 for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for pty.h... yes checking for string.h... (cached) yes checking for syslog.h... yes checking for libintl.h... yes checking for libutil.h... no 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 how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E 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. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory '/startdir/src/pptpd-1.4.0' gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o pqueue.o pqueue.c for d in plugins; do make -j12 --jobserver-auth=fifo:/tmp/GMfifo1933 -C $d all; done gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o pptpd.o pptpd.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o configfile.o configfile.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o pptpmanager.o pptpmanager.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o compat.o compat.c make[2]: Entering directory '/startdir/src/pptpd-1.4.0/plugins' make[2]: warning: -j12 forced in submake: resetting jobserver mode. gcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o inststr.o inststr.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o getopt.o getopt.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o getopt1.o getopt1.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o pptpctrl.o pptpctrl.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o ctrlpacket.o ctrlpacket.c gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o pptpgre.o pptpgre.c 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: 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 gcc -DHAVE_CONFIG_H -I. -I. -O2 -fno-builtin -Wall -DSBINDIR='"/usr/bin"' -c -o ppphdlc.o ppphdlc.c make[2]: *** [Makefile:19: pptpd-logwtmp.so] Error 1 make[2]: Leaving directory '/startdir/src/pptpd-1.4.0/plugins' make[1]: *** [Makefile:932: all-local] Error 2 make[1]: *** Waiting for unfinished jobs.... 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"); | ^~~~~~~~~~~~~ our_syslog.h:38:49: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) | ^~~~~~~~ ~~~~~~~~~~~~~~~ | | | int compat.c:168:5: note: in expansion of macro ‘syslog_perror’ 168 | syslog_perror("sigpipe write"); | ^~~~~~~~~~~~~ our_syslog.h:38:55: note: format string is defined here 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) | ~^ | | | char * | %d 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 | compat.c: In function ‘sigpipe_read’: our_syslog.h:38:49: warning: format ‘%s’ expects argument of type ‘char *’, but argument 4 has type ‘int’ [-Wformat=] 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) | ^~~~~~~~ ~~~~~~~~~~~~~~~ | | | int compat.c:194:5: note: in expansion of macro ‘syslog_perror’ 194 | syslog_perror("sigpipe read"); | ^~~~~~~~~~~~~ our_syslog.h:38:55: note: format string is defined here 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) | ~^ | | | char * | %d make[1]: Leaving directory '/startdir/src/pptpd-1.4.0' make: *** [Makefile:359: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_5832e8f5-71ab-40b7-8a71-e0d75828a463/build