* Package: net-misc/sstp-client-1.0.17:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.19.9-gentoo-dist * Checking for suitable kernel configuration options ... [ ok ] >>> Unpacking source... >>> Unpacking sstp-client-1.0.17.tar.gz to /var/tmp/portage/net-misc/sstp-client-1.0.17/work >>> Source unpacked in /var/tmp/portage/net-misc/sstp-client-1.0.17/work >>> Preparing source in /var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17 ... * Applying sstp-client-1.0.12-remove-network-test.patch ... patching file src/Makefile.am Hunk #1 succeeded at 27 with fuzz 2 (offset 4 lines). [ ok ] * Applying sstp-client-1.0.12-fix-example.patch ... [ ok ] * Applying sstp-client-1.0.17-fix-bashism-configure.ac.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/net-misc/sstp-client-1.0.17/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: sstp-client-1.0.17/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17 ... * econf: updating sstp-client-1.0.17/config.sub with /usr/share/gnuconfig/config.sub * econf: updating sstp-client-1.0.17/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/sstp-client-1.0.17 --htmldir=/usr/share/doc/sstp-client-1.0.17/html --with-sysroot=/ --libdir=/usr/lib64 --enable-ppp-plugin --enable-group=sstpc --enable-user=sstpc --with-pppd-plugin-dir=/usr/lib64/pppd/2.4.9 --with-runtime-dir=/run/sstpc --disable-static checking whether make supports nested variables... yes 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... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... 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 build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from clang object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 vfork.h... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBEVENT... yes checking for pkg-config... (cached) /usr/bin/x86_64-pc-linux-gnu-pkg-config checking whether compiling and linking against OpenSSL works... yes checking for openpty in -lutil... yes checking for pppd/pppd.h... yes checking if pppd/mppe.h defines mppe_keys_xyz() functions... no checking for linux/rtnetlink.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for paths.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for syslog.h... yes checking for stdbool.h... (cached) yes checking for pty.h... yes checking for sys/types.h... (cached) yes checking for sys/socket.h... yes checking for unistd.h... (cached) yes checking for mode_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for working alloca.h... yes checking for alloca... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking how to run the C preprocessor... clang -E checking for uid_t in sys/types.h... yes checking for working chown... yes checking for GNU libc compatible malloc... yes checking for dup2... yes checking for gethostname... yes checking for localtime_r... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for socket... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strchr... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating sstp-client-1.0.pc config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating src/libsstp-log/Makefile config.status: creating src/libsstp-api/Makefile config.status: creating src/libsstp-compat/Makefile config.status: creating src/pppd-plugin/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands sstp-client version 1.0.17 Prefix..........: /usr Runtime Dir.....: /run/sstpc System CA Path..: /etc/ssl/certs User:...........: root Group:..........: root Using OpenSSL...: -lssl -lcrypto C Compiler......: clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int Using Event.....: -levent Linker..........: /usr/bin/x86_64-pc-linux-gnu-ld -m elf_x86_64 -levent -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lutil -lssl -lcrypto with pppd plugin support Plugin Directory: /usr/lib64/pppd/2.4.9 Auth-Notifier...: no Plugin Cflags...: >>> Source configured. '/var/tmp/portage/net-misc/sstp-client-1.0.17/temp/clang14.log' -> '/var/tmp/clang/net-misc/sstp-client-1.0.17/clang14.log' '/var/tmp/portage/net-misc/sstp-client-1.0.17/temp/clang15.log' -> '/var/tmp/clang/net-misc/sstp-client-1.0.17/clang15.log' >>> Compiling source in /var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17' Making all in src/libsstp-log make[2]: Entering directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-log' /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_log_la-sstp-log.lo `test -f 'sstp-log.c' || echo './'`sstp-log.c /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_log_la-sstp-log-syslog.lo `test -f 'sstp-log-syslog.c' || echo './'`sstp-log-syslog.c /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_log_la-sstp-log-std.lo `test -f 'sstp-log-std.c' || echo './'`sstp-log-std.c /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_log_la-sstp-log-file.lo `test -f 'sstp-log-file.c' || echo './'`sstp-log-file.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-log.c -fPIC -DPIC -o .libs/libsstp_log_la-sstp-log.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-log-file.c -fPIC -DPIC -o .libs/libsstp_log_la-sstp-log-file.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-log-std.c -fPIC -DPIC -o .libs/libsstp_log_la-sstp-log-std.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-log-syslog.c -fPIC -DPIC -o .libs/libsstp_log_la-sstp-log-syslog.o /bin/sh ../../libtool --tag=CC --mode=link clang -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -levent -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libsstp_log.la libsstp_log_la-sstp-log.lo libsstp_log_la-sstp-log-syslog.lo libsstp_log_la-sstp-log-std.lo libsstp_log_la-sstp-log-file.lo -lutil -lssl -lcrypto libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libsstp_log.a .libs/libsstp_log_la-sstp-log.o .libs/libsstp_log_la-sstp-log-syslog.o .libs/libsstp_log_la-sstp-log-std.o .libs/libsstp_log_la-sstp-log-file.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libsstp_log.a libtool: link: ( cd ".libs" && rm -f "libsstp_log.la" && ln -s "../libsstp_log.la" "libsstp_log.la" ) make[2]: Leaving directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-log' Making all in src/libsstp-api make[2]: Entering directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-api' /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_api_la-sstp-api.lo `test -f 'sstp-api.c' || echo './'`sstp-api.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-api.c -fPIC -DPIC -o .libs/libsstp_api_la-sstp-api.o /bin/sh ../../libtool --tag=CC --mode=link clang -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -export-dynamic -release 0 -levent -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libsstp_api.la -rpath /usr/lib64 libsstp_api_la-sstp-api.lo -lutil -lssl -lcrypto libtool: link: clang -shared -fPIC -DPIC .libs/libsstp_api_la-sstp-api.o -levent -Wl,--as-needed -lutil -lssl -lcrypto -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libsstp_api-0.so -o .libs/libsstp_api-0.so libtool: link: (cd ".libs" && rm -f "libsstp_api.so" && ln -s "libsstp_api-0.so" "libsstp_api.so") libtool: link: ( cd ".libs" && rm -f "libsstp_api.la" && ln -s "../libsstp_api.la" "libsstp_api.la" ) make[2]: Leaving directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-api' Making all in src/libsstp-compat make[2]: Entering directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-compat' /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o libsstp_compat_la-sstp-compat.lo `test -f 'sstp-compat.c' || echo './'`sstp-compat.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-compat.c -fPIC -DPIC -o .libs/libsstp_compat_la-sstp-compat.o /bin/sh ../../libtool --tag=CC --mode=link clang -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -levent -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libsstp_compat.la libsstp_compat_la-sstp-compat.lo -lutil -lssl -lcrypto libtool: link: x86_64-pc-linux-gnu-ar cr .libs/libsstp_compat.a .libs/libsstp_compat_la-sstp-compat.o libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libsstp_compat.a libtool: link: ( cd ".libs" && rm -f "libsstp_compat.la" && ln -s "../libsstp_compat.la" "libsstp_compat.la" ) make[2]: Leaving directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/libsstp-compat' Making all in src/pppd-plugin make[2]: Entering directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/pppd-plugin' /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o sstp_pppd_plugin_la-sstp-plugin.lo `test -f 'sstp-plugin.c' || echo './'`sstp-plugin.c /bin/sh ../../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o sstp_pppd_plugin_la-sstp-mppe.lo `test -f 'sstp-mppe.c' || echo './'`sstp-mppe.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-plugin.c -fPIC -DPIC -o .libs/sstp_pppd_plugin_la-sstp-plugin.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c sstp-mppe.c -fPIC -DPIC -o .libs/sstp_pppd_plugin_la-sstp-mppe.o sstp-mppe.c:44:9: error: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] BCOPY(mppe_send_key, send_key, length); ^ /usr/include/pppd/pppd.h:824:25: note: expanded from macro 'BCOPY' #define BCOPY(s, d, l) memcpy(d, s, l) ^ sstp-mppe.c:44:9: note: include the header or explicitly provide a declaration for 'memcpy' /usr/include/pppd/pppd.h:824:25: note: expanded from macro 'BCOPY' #define BCOPY(s, d, l) memcpy(d, s, l) ^ 1 error generated. make[2]: *** [Makefile:479: sstp_pppd_plugin_la-sstp-mppe.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17/src/pppd-plugin' make[1]: *** [Makefile:560: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17' make: *** [Makefile:407: all] Error 2 * ERROR: net-misc/sstp-client-1.0.17::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/sstp-client-1.0.17::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/sstp-client-1.0.17::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:sstp-client-1.0.17:20220917-153824.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/sstp-client-1.0.17/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/sstp-client-1.0.17/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17' * S: '/var/tmp/portage/net-misc/sstp-client-1.0.17/work/sstp-client-1.0.17'