=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for ipsec-tools-0.7.3.tar.bz2 => Checksum RMD160 OK for ipsec-tools-0.7.3.tar.bz2 => Checksum SHA512 OK for ipsec-tools-0.7.3.tar.bz2 ===> Installing dependencies for ipsec-tools-0.7.3nb4 ========================================================================== The supported build options for ipsec-tools are: radius The currently selected options are: radius You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.ipsec-tools (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, ipsec-tools-0.7.3nb4. Their current value is shown below: * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency libradius>=20040827: found libradius-20040827nb2 => Build dependency cwrappers>=20150314: found cwrappers-20170112 ===> Overriding tools for ipsec-tools-0.7.3nb4 ===> Extracting for ipsec-tools-0.7.3nb4 ===> Patching for ipsec-tools-0.7.3nb4 => Applying pkgsrc patches for ipsec-tools-0.7.3nb4 => Verifying /data/pkgsrc/security/ipsec-tools/patches/patch-src_racoon_gssapi.c => Applying pkgsrc patch /data/pkgsrc/security/ipsec-tools/patches/patch-src_racoon_gssapi.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_racoon_gssapi.c,v 1.1 2015/05/19 15:45:44 sevan Exp $ | |Protect against a NULL pointer dereference described in: |https://www.altsci.com/ipsec/ | |--- src/racoon/gssapi.c.orig 2015-05-19 15:28:49.000000000 +0000 |+++ src/racoon/gssapi.c -------------------------- Patching file src/racoon/gssapi.c using Plan A... Hunk #1 succeeded at 192. done ===> Creating toolchain wrappers for ipsec-tools-0.7.3nb4 ===> Configuring for ipsec-tools-0.7.3nb4 /bin/rm -f /data/scratch/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon/cfparse.c /bin/rm -f /data/scratch/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon/cftoken.c /bin/mkdir -p /data/scratch/security/ipsec-tools/work/.buildlink/include/netinet6 /usr/bin/egrep -v 'extern.*ipsec_.*_policy' /usr/include/netinet6/ipsec.h >/data/scratch/security/ipsec-tools/work/.buildlink/include/netinet6/ipsec.h => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Fixing locale directory references. => Checking for portability problems in extracted files checking for a BSD-compatible install... /usr/bin/install -c -o pbulkXXX -g users checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... /usr/bin/awk checking whether make sets $(MAKE)... yes checking for x86_64--netbsd-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of clang... gcc3 checking for x86_64--netbsd-gcc... (cached) clang checking whether we are using the GNU C compiler... (cached) yes checking whether clang accepts -g... (cached) yes checking for clang option to accept ISO C89... (cached) none needed checking dependency style of clang... (cached) gcc3 checking how to run the C preprocessor... clang -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... yes checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking for a sed that does not truncate output... /data/scratch/security/ipsec-tools/work/.tools/bin/sed checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... no checking whether clang++ accepts -g... no checking dependency style of clang++... none checking how to run the C++ preprocessor... clang-cpp checking for x86_64--netbsd-g77... g77 checking whether we are using the GNU Fortran 77 compiler... no checking whether g77 accepts -g... no checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from clang object... ok checking for objdir... .libs checking for x86_64--netbsd-ar... no checking for ar... ar checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for x86_64--netbsd-strip... no checking for strip... strip checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC checking if clang PIC flag -fPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... NetBSD ld.elf_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... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes libtool.m4: error: problem compiling CXX test program checking for clang++ option to produce PIC... checking if clang++ static flag works... no checking if clang++ supports -c -o file.o... no checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the c++ compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so (cached) (cached) checking how to hardcode library paths into programs... unsupported appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... no checking if g77 static flag -static works... no checking if g77 supports -c -o file.o... no checking whether the g77 linker (/usr/bin/ld) supports shared libraries... PKGSRC-WARNING: Something is trying to run the fortran compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. yes checking dynamic linker characteristics... PKGSRC-WARNING: Something is trying to run the fortran compiler, PKGSRC-WARNING: but it is not added to USE_LANGUAGES in the package Makefile. NetBSD ld.elf_so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for bison... no checking for byacc... no checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for egrep... (cached) /usr/bin/egrep checking net/pfkeyv2.h usability... yes checking net/pfkeyv2.h presence... yes checking for net/pfkeyv2.h... yes checking netinet/ipsec.h usability... no checking netinet/ipsec.h presence... no checking for netinet/ipsec.h... no checking netinet6/ipsec.h usability... yes checking netinet6/ipsec.h presence... yes checking for netinet6/ipsec.h... yes checking netipsec/ipsec.h usability... yes checking netipsec/ipsec.h presence... yes checking for netipsec/ipsec.h... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working memcmp... yes checking return type of signal handlers... void checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for strlcpy... yes checking for strlcat... yes checking for strdup... yes checking for an implementation of va_copy()... yes checking if printf accepts %z... yes checking if __func__ is available... yes checking if readline support is requested... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for readline in -lreadline... no checking if --with-flex option is specified... dirdefault checking if --with-flexlib option is specified... default checking if --with-openssl option is specified... default checking openssl version... ok checking openssl/engine.h usability... yes checking openssl/engine.h presence... yes checking for openssl/engine.h... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking sha2 support... yes checking openssl/sha2.h usability... no checking openssl/sha2.h presence... no checking for openssl/sha2.h... no checking if sha2 is defined in openssl/sha.h... yes checking openssl/camellia.h usability... yes checking openssl/camellia.h presence... yes checking for openssl/camellia.h... yes checking if --enable-adminport option is specified... yes checking if --enable-rc5 option is specified... no checking if --enable-idea option is specified... no checking for crypto containing MD5_Init... -lcrypto checking for util containing login... -lutil checking if --with-libiconv option is specified... no checking if --enable-hybrid option is specified... yes checking if --enable-frag option is specified... yes checking if --with-libradius option is specified... yes checking for radius containing rad_create_request... -lradius checking for rad_create_request... yes checking if --with-libpam option is specified... yes checking for pam containing pam_start... -lpam checking for pam_start... yes checking if --with-libldap option is specified... no checking if --enable-gssapi option is specified... no checking for krb5-config... /usr/bin/krb5-config checking if --enable-stats option is specified... no checking if --enable-dpd option is specified... yes checking if --enable-fastquit option is specified... no checking if --enable-samode-unspec option is specified... no checking whether to enable ipv6... yes checking for advanced API support... yes checking getaddrinfo bug... good checking kernel NAT-Traversal support... checking for struct sadb_x_nat_t_type.sadb_x_nat_t_type_len... yes yes checking whether to support NAT-T... yes checking which NAT-T versions to support... 00,02,rfc checking if --enable-broken-natt option is specified... no checking whether we support FWD policy... no checking for ipsec_policy_t... no checking kernel Security Context support... no checking selinux/selinux.h usability... no checking selinux/selinux.h presence... no checking for selinux/selinux.h... no checking whether to support Security Context... no configure: creating ./config.status config.status: creating Makefile config.status: creating package_version.h config.status: creating src/Makefile config.status: creating src/include-glibc/Makefile config.status: creating src/libipsec/Makefile config.status: creating src/setkey/Makefile config.status: creating src/racoon/Makefile config.status: creating src/racoon/samples/psk.txt config.status: creating src/racoon/samples/racoon.conf config.status: creating rpm/Makefile config.status: creating rpm/suse/Makefile config.status: creating rpm/suse/ipsec-tools.spec config.status: creating config.h config.status: executing depfiles commands => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package Makefile. WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package Makefile.