Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 880442 Details for
Bug 920775
net-vpn/pptpd-1.4.0-r3 - [clang] compat.c: error: call to undeclared function strerror; ISO C99 and later
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:20231227-055108.log
net-vpn:pptpd-1.4.0-r3:20231227-055108.log (text/plain), 11.07 KB, created by
Toralf Förster
on 2023-12-27 08:54:55 UTC
(
hide
)
Description:
net-vpn:pptpd-1.4.0-r3:20231227-055108.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-27 08:54:55 UTC
Size:
11.07 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 tcpd > * 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 ] > * Applying pptpd-1.4.0-ppp-2.5.0.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. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> 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.guess with /usr/share/gnuconfig/config.guess > * econf: updating pptpd-1.4.0/config.sub with /usr/share/gnuconfig/config.sub >./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 --with-libwrap >checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /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... clang >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 clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking whether clang understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of clang... 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... 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... clang -E >checking for egrep -e... /bin/grep -E >checking for socklen_t... yes >checking for libwrap alone... no >checking for libwrap with libnsl... no >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. >'/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/clang16-errors.log' -> '/var/tmp/clang/net-vpn/pptpd-1.4.0-r3/clang16-errors.log' >'/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/temp/clang16-safe.log' -> '/var/tmp/clang/net-vpn/pptpd-1.4.0-r3/clang16-safe.log' >>>> 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 -Werror=implicit-function-declaration -Werror=implicit-int' >make all-am >make[1]: Entering directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0' >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -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/GMfifo32 -C $d all; done >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pptpd.o pptpd.c >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o configfile.o configfile.c >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. >clang -o pptpd-logwtmp.so -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o pptpmanager.o pptpmanager.c >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o compat.o compat.c >make[2]: Leaving directory '/var/tmp/portage/net-vpn/pptpd-1.4.0-r3/work/pptpd-1.4.0/plugins' >clang -DHAVE_CONFIG_H -I. -I. -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -DLIBDIR='"/usr/lib64"' -c -o inststr.o inststr.c >compat.c:168:5: error: call to undeclared function 'strerror'; ISO C99 and later > do not support implicit function declarations > [-Wimplicit-function-declaration] > 168 | syslog_perror("sigpipe write"); > | ^ >./our_syslog.h:38:62: note: expanded from macro 'syslog_perror' > 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) > | ^ >compat.c:168:5: warning: format specifies type 'char *' but the argument has > type 'int' [-Wformat] > 168 | syslog_perror("sigpipe write"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./our_syslog.h:38:62: note: expanded from macro 'syslog_perror' > 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >/usr/include/bits/syslog.h:41:47: note: expanded from macro 'syslog' > 41 | __syslog_chk (pri, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) > | ^~~~~~~~~~~ >compat.c:178:3: error: call to undeclared function 'memset'; ISO C99 and later > do not support implicit function declarations > [-Wimplicit-function-declaration] > 178 | memset(&sa, 0, sizeof(sa)); > | ^ >compat.c:194:5: error: call to undeclared function 'strerror'; ISO C99 and later > do not support implicit function declarations > [-Wimplicit-function-declaration] > 194 | syslog_perror("sigpipe read"); > | ^ >./our_syslog.h:38:62: note: expanded from macro 'syslog_perror' > 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) > | ^ >compat.c:194:5: warning: format specifies type 'char *' but the argument has > type 'int' [-Wformat] > 194 | syslog_perror("sigpipe read"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >./our_syslog.h:38:62: note: expanded from macro 'syslog_perror' > 38 | #define syslog_perror(s) syslog(LOG_ERR, "%s: %s", s, strerror(errno)) > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ >/usr/include/bits/syslog.h:41:47: note: expanded from macro 'syslog' > 41 | __syslog_chk (pri, __USE_FORTIFY_LEVEL - 1, __VA_ARGS__) > | ^~~~~~~~~~~ >2 warnings and 3 errors generated. >make[1]: *** [Makefile:474: compat.o] Error 1 >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:360: 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:20231227-055108.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 920775
:
880436
|
880437
|
880438
|
880439
|
880440
|
880441
| 880442 |
880443
|
880444
|
880445