=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> 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 quagga-1.2.2.tar.gz => Checksum RMD160 OK for quagga-1.2.2.tar.gz => Checksum SHA512 OK for quagga-1.2.2.tar.gz ===> Installing dependencies for quagga-1.2.2nb1 ========================================================================== The supported build options for quagga are: inet6 quagga-vtysh The currently selected options are: inet6 quagga-vtysh You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.quagga (not defined) ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6 => Tool dependency gawk>=3.1.1: found gawk-4.1.4nb1 => Tool dependency gmake>=3.81: found gmake-4.1nb3 => Tool dependency perl>=5.0: found perl-5.26.1nb2 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20171108 => Full dependency readline>=6.0: found readline-7.0 ===> Overriding tools for quagga-1.2.2nb1 ===> Extracting for quagga-1.2.2nb1 ===> Patching for quagga-1.2.2nb1 => Applying pkgsrc patches for quagga-1.2.2nb1 => Verifying /data/pkgsrc/net/quagga/patches/patch-configure => Applying pkgsrc patch /data/pkgsrc/net/quagga/patches/patch-configure Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-configure,v 1.6 2018/01/22 13:42:07 wiedi Exp $ |HAVE_BSD_STRUCT_IP_MREQ_HACK does not work on SunOS |Results in: can't setsockopt IP_MULTICAST_IF(...): No route to host | |--- configure.orig 2017-10-03 14:59:10.000000000 +0000 |+++ configure -------------------------- Patching file configure using Plan A... Hunk #1 succeeded at 20631. done => Verifying /data/pkgsrc/net/quagga/patches/patch-solaris_quagga.init.in => Applying pkgsrc patch /data/pkgsrc/net/quagga/patches/patch-solaris_quagga.init.in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-solaris_quagga.init.in,v 1.4 2017/10/08 15:25:45 gdt Exp $ | |Disable the broken upgrade function, unsuitable and unnecessary for pkgsrc. | |--- solaris/quagga.init.in.orig 2017-10-03 14:57:10.000000000 +0000 |+++ solaris/quagga.init.in -------------------------- Patching file solaris/quagga.init.in using Plan A... Hunk #1 succeeded at 229. done => Verifying /data/pkgsrc/net/quagga/patches/patch-zebra_kernel__socket.c => Applying pkgsrc patch /data/pkgsrc/net/quagga/patches/patch-zebra_kernel__socket.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-zebra_kernel__socket.c,v 1.2 2017/10/08 15:25:45 gdt Exp $ | |--- zebra/kernel_socket.c.orig 2017-10-03 14:57:10.000000000 +0000 |+++ zebra/kernel_socket.c -------------------------- Patching file zebra/kernel_socket.c using Plan A... Hunk #1 succeeded at 208. done ===> Creating toolchain wrappers for quagga-1.2.2nb1 ===> Configuring for quagga-1.2.2nb1 => 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 => Checking for portability problems in extracted files checking build system type... x86_64--netbsd checking host system type... x86_64--netbsd checking target system type... x86_64--netbsd 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/pkg/bin/gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for perl... /usr/pkg/bin/perl checking for gawk... gawk checking for x86_64--netbsd-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 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 whether clang understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of clang... gcc3 checking how to run the C preprocessor... clang -E checking for x86_64--netbsd-ranlib... no checking for ranlib... ranlib checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for clang option to accept ISO C99... none needed checking for ANSI C header files... yes 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert x86_64--netbsd file names to x86_64--netbsd format... func_convert_file_noop checking how to convert x86_64--netbsd file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64--netbsd-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so|_pic\.a)$ checking for x86_64--netbsd-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64--netbsd-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64--netbsd-strip... no checking for strip... strip checking for x86_64--netbsd-ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64--netbsd-mt... no checking for mt... mt checking if mt is a manifest tool... 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... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no 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... yes checking whether to build static libraries... yes configure: creating ./config.lt config.lt: creating libtool rm: libtoolT: No such file or directory checking for sed... /usr/bin/sed checking for pdflatex... /bin/false checking for latexmk... /bin/false configure: WARNING: Will not be able to make PDF versions of TeX documents checking for pandoc... /bin/false configure: WARNING: Will not be able to make PDF versions of MD documents checking which default CFLAGS to set... CFLAGS supplied by user checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for x86_64--netbsd-ar... ar checking if make is GNU make... yes checking if zebra should be configurable to send Route Advertisements... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for working volatile... yes checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for uid_t in sys/types.h... yes checking for mode_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking sys/ksym.h usability... no checking sys/ksym.h presence... no checking for sys/ksym.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/types.h... (cached) yes checking linux/version.h usability... no checking linux/version.h presence... no checking for linux/version.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking asm/types.h usability... no checking asm/types.h presence... no checking for asm/types.h... no checking sys/cdefs.h usability... yes checking sys/cdefs.h presence... yes checking for sys/cdefs.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking features.h usability... no checking features.h presence... no checking for features.h... no checking for net/if.h... yes checking for net/if_var.h... no checking for sys/un.h... yes checking for netinet/in_systm.h... yes checking for netinet/in_var.h... yes checking for net/if_dl.h... yes checking for net/netopt.h... no checking for net/route.h... yes checking for inet/nd.h... no checking for arpa/inet.h... yes checking for netinet/ip_icmp.h... no checking for fcntl.h... yes checking for stddef.h... yes checking for sys/ioctl.h... yes checking for syslog.h... yes checking for wchar.h... yes checking for wctype.h... yes checking for sys/sysctl.h... yes checking for sys/sockio.h... yes checking for kvm.h... yes checking for sys/conf.h... no checking for ucontext.h... yes checking for ucontext_t.uc_mcontext.uc_regs... no checking for ucontext_t.uc_mcontext.regs... no checking for ucontext_t.uc_mcontext.gregs... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for tputs in -ltermcap... yes checking for main in -lreadline... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for rl_completion_matches in -lreadline... yes checking whether byte ordering is bigendian... no checking for unistd.h... (cached) yes checking for working chown... yes checking for working POSIX fnmatch... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working memcmp... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... no checking for strftime... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for strftime... (cached) yes checking for vprintf... yes checking for _doprnt... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for pow in -lm... yes checking for pow... yes checking for dup2... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for getpagesize... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for inet_aton... yes checking for strnlen... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strndup... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strlcat... yes checking for strlcpy... yes checking for daemon... yes checking for snprintf... yes checking for vsnprintf... yes checking for if_nametoindex... yes checking for if_indextoname... yes checking for getifaddrs... yes checking for uname... yes checking for fcntl... yes checking for getgrouplist... yes checking asm-generic/unistd.h usability... no checking asm-generic/unistd.h presence... no checking for asm-generic/unistd.h... no checking zebra between kernel interface method... Route socket checking net/bpf.h usability... yes checking net/bpf.h presence... yes checking for net/bpf.h... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking zebra IS-IS I/O method... BPF checking for broken CMSG_FIRSTHDR... no checking route read method... sysctl checking interface looking up method... sysctl checking for struct ip_mreqn.imr_ifindex... no checking for linux/mroute.h... no checking for BSD struct ip_mreq hack... no checking for RFC3678 protocol-independed API... no checking for net/if.h... (cached) yes checking for net/if_media.h... yes checking for struct ifmediareq.ifm_status... yes checking for net/if.h... (cached) yes checking for struct if_data.ifi_link_state... yes checking for netinet/tcp.h... yes checking whether TCP_MD5SIG is declared... yes checking ipforward method... sysctl checking for getaddrinfo... yes checking whether does this OS have IPv6 stack... KAME checking for netinet6/in6.h... yes checking for netinet/in6_var.h... no checking for netinet/icmp6.h... yes checking for netinet6/in6_var.h... yes checking for netinet6/nd6.h... yes checking for inet_ntop in -lc... yes checking for inet_pton in -lc... yes checking for crypt in -lcrypt... yes checking for res_init in -lresolv... yes checking whether system has GNU regex... checking for regexec in -lc... yes checking for struct sockaddr... yes checking for struct sockaddr_in... yes checking for struct sockaddr_in6... yes checking for struct sockaddr_un... yes checking for struct sockaddr_dl... yes checking for socklen_t... yes checking for struct vifctl... no checking for struct mfcctl... no checking for struct sioc_sg_req... no checking for vifi_t... no checking for struct sioc_vif_req... no checking for struct igmpmsg... no checking for struct ifaliasreq... yes checking for struct if6_aliasreq... no checking for struct in6_aliasreq... yes checking for struct nd_opt_adv_interval... no checking for struct rt_addrinfo... yes checking for struct nd_opt_homeagent_info... no checking for struct nd_opt_adv_interval... (cached) no checking for struct sockaddr.sa_len... yes checking for struct sockaddr_in.sin_len... yes checking for struct sockaddr_un.sun_len... yes checking for struct sockaddr_in6.sin6_scope_id... yes checking for struct sockaddr_dl.sdl_len... yes checking for struct if6_aliasreq.ifra_lifetime... no checking for struct nd_opt_adv_interval.nd_opt_ai_type... no checking for struct in_pktinfo... yes checking for struct icmphdr... no checking for IP_PKTINFO... no checking for IP_RECVDSTADDR... yes checking for IP_RECVIF... yes checking whether getrusage is available... yes checking whether CLOCK_MONOTONIC is declared... yes checking for clock_gettime in -lrt... yes checking whether prctl PR_SET_KEEPCAPS is available... no checking priv.h usability... no checking priv.h presence... no checking for priv.h... no checking whether clang accepts function __attribute__((weak,alias()))... yes checking whether clang supports #pragma weak... no checking whether clang supports #pragma _HP_SECONDARY_DEF... no checking whether clang supports #pragma _CRI duplicate... no checking how to create weak aliases with clang... attribute checking whether clang supports weak aliases across object file boundaries... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking for library containing backtrace... -lexecinfo checking for malloc.h... yes checking whether mallinfo is available... no checking directory to use for state file... /var/run/zebra checking for working htonl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating qpb/Makefile config.status: creating zebra/Makefile config.status: creating ripd/Makefile config.status: creating ripngd/Makefile config.status: creating bgpd/Makefile config.status: creating ospfd/Makefile config.status: creating watchquagga/Makefile config.status: creating ospf6d/Makefile config.status: creating isisd/Makefile config.status: creating vtysh/Makefile config.status: creating doc/Makefile config.status: creating ospfclient/Makefile config.status: creating tests/Makefile config.status: creating m4/Makefile config.status: creating pimd/Makefile config.status: creating nhrpd/Makefile config.status: creating tests/bgpd.tests/Makefile config.status: creating tests/libzebra.tests/Makefile config.status: creating redhat/Makefile config.status: creating pkgsrc/Makefile config.status: creating fpm/Makefile config.status: creating redhat/quagga.spec config.status: creating lib/version.h config.status: creating isisd/topology/Makefile config.status: creating pkgsrc/bgpd.sh config.status: creating pkgsrc/ospf6d.sh config.status: creating pkgsrc/ospfd.sh config.status: creating pkgsrc/ripd.sh config.status: creating pkgsrc/ripngd.sh config.status: creating pkgsrc/zebra.sh config.status: creating solaris/Makefile config.status: creating vtysh/extract.pl config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory Quagga configuration -------------------- quagga version : 1.2.2 host operating system : netbsd source code location : . compiler : clang compiler flags : -O2 -I/usr/pkg/include -I/usr/include make : make linker flags : -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lexecinfo -lresolv -lcrypt -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lrt -lreadline -ltermcap -lm state file directory : /var/run/zebra config file directory : /usr/pkg/etc/zebra example directory : /usr/pkg/share/examples/quagga user to run as : quagga group to run as : quagga group for vty sockets : config file mask : 0600 log file mask : 0600 zebra protobuf enabled : no The above user and group must have read/write access to the state file directory and to the config files in the config file directory. => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp