Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 860632 Details for
Bug 904877
net-vpn/pptpd-1.4.0-r3 - pptpd-logwtmp.c: error: VERSION undeclared here (not in a function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-vpn:pptpd-1.4.0-r3:20230423-131839.log
net-vpn:pptpd-1.4.0-r3:20230423-131839.log (text/plain), 14.85 KB, created by
Toralf Förster
on 2023-04-23 13:19:42 UTC
(
hide
)
Description:
net-vpn:pptpd-1.4.0-r3:20230423-131839.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-04-23 13:19:42 UTC
Size:
14.85 KB
patch
obsolete
> * Package: net-vpn/pptpd-1.4.0-r3:0 > * Repository: gentoo > * Maintainer: pinkbyte@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking pptpd-1.4.0.tar.gz to /var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work >>>> Source unpacked in /var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work >>>> Preparing source in /var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0 ... > * Applying pptpd-1.4.0-gentoo.patch ... > [ ok ] > * Applying pptpd-1.4.0-sandbox-fix.patch ... > [ ok ] > * Applying pptpd-1.4.0-pidfile.patch ... > [ ok ] > * Applying pptpd-1.4.0-libdir.patch ... > [ ok ] > * Applying pptpd-1.4.0-musl.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader' ... > [ ok ] > * Running 'automake --add-missing --copy --force-missing' ... > [ ok ] > * Running elibtoolize in: pptpd-1.4.0/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0 ... > * econf: updating pptpd-1.4.0/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating pptpd-1.4.0/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/pptpd-1.4.0-r3 --htmldir=/usr/share/doc/pptpd-1.4.0-r3/html --libdir=/usr/lib64 --enable-bcrelay >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >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... yes >checking command line for VRF build... default no >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-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... no >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... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /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... yes >checking for openpty in -lutil... yes >checking for gettext in -lintl... no >=============================================================================== >Configuration chosen: > PPPd: Standard. > LIBWRAP security: No. > Broadcast Relay: Yes. > 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 >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0 ... >make -j4 'COPTS=-O2 -pipe -march=native -fno-diagnostics-color' >make all-am >make[1]: Entering directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pqueue.o pqueue.c >for d in plugins; do make -j4 --jobserver-auth=fifo:/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/GMfifo25 -C $d all; done >make[2]: Entering directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0/plugins' >make[2]: warning: -j4 forced in submake: resetting jobserver mode. >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pptpd.o pptpd.c >x86_64-pc-linux-gnu-gcc -o pptpd-logwtmp.so -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o configfile.o configfile.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 >pptpd-logwtmp.c: At top level: >pptpd-logwtmp.c:19:13: warning: âpptpd_original_ipâ defined but not used [-Wunused-variable] > 19 | static char pptpd_original_ip[PATH_MAX+1]; > | ^~~~~~~~~~~~~~~~~ >make[2]: *** [Makefile:18: pptpd-logwtmp.so] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0/plugins' >make[1]: *** [Makefile:935: all-local] Error 2 >make[1]: *** Waiting for unfinished jobs.... >make[1]: Leaving directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' >make: *** [Makefile:362: all] Error 2 > * ERROR: net-vpn/pptpd-1.4.0-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-vpn/pptpd-1.4.0-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-vpn/pptpd-1.4.0-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/net-vpn:pptpd-1.4.0-r3:20230423-131839.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/environment'. > * Working directory: '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' > * S: '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 904877
:
860626
|
860627
|
860628
|
860629
|
860630
|
860631
| 860632 |
860633