=> Bootstrap dependency digest>=20010302: found digest-20190127 => Checksum SHA1 OK for quagga-1.2.4.tar.gz => Checksum RMD160 OK for quagga-1.2.4.tar.gz => Checksum SHA512 OK for quagga-1.2.4.tar.gz ===> Installing dependencies for quagga-1.2.4nb4 ========================================================================== 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) ========================================================================== ========================================================================== The following variables will affect the build process of this package, quagga-1.2.4nb4. Their current value is shown below: * CURSES_DEFAULT = curses Based on these variables, the following variables have been set: * CURSES_TYPE = curses * TERMCAP_TYPE = curses You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2 => Tool dependency gawk>=3.1.1: found gawk-5.1.0 => Tool dependency gmake>=3.81: found gmake-4.2.1nb1 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency perl>=5.8.0: found perl-5.32.0nb1 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.7.3 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency cwrappers>=20150314: found cwrappers-20180325 => Full dependency user-darwin>=20130712: found user-darwin-20170116 => Full dependency readline>=6.0: found readline-8.1 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for quagga-1.2.4nb4 ===> Extracting for quagga-1.2.4nb4 ===> Patching for quagga-1.2.4nb4 => Applying pkgsrc patches for quagga-1.2.4nb4 => Verifying /opt/pkgsrc/net/quagga/patches/patch-configure => Applying pkgsrc patch /opt/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.7 2018/03/01 00:48:04 maya 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 20514 (offset -117 lines). done => Verifying /opt/pkgsrc/net/quagga/patches/patch-lib_thread.c => Applying pkgsrc patch /opt/pkgsrc/net/quagga/patches/patch-lib_thread.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_thread.c,v 1.1 2019/09/30 08:57:49 kardel Exp $ | | - add fast check on prev/next pointer invariants | - add check to detect inserting of a thread already in a list | - add check to detect deletion of a thread not in a list | - ignore cancellation requests for the currently running thread (fixes crash) | - fix setting of prey/next pointers on adjecant elements when a head/tail element is | deleted | |--- lib/thread.c.orig 2018-02-19 21:24:55.000000000 +0000 |+++ lib/thread.c -------------------------- Patching file lib/thread.c using Plan A... Hunk #1 succeeded at 531. Hunk #2 succeeded at 564. Hunk #3 succeeded at 577. Hunk #4 succeeded at 647. Hunk #5 succeeded at 994. Hunk #6 succeeded at 1229. done => Verifying /opt/pkgsrc/net/quagga/patches/patch-lib_thread.h => Applying pkgsrc patch /opt/pkgsrc/net/quagga/patches/patch-lib_thread.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-lib_thread.h,v 1.1 2019/09/30 08:57:49 kardel Exp $ | | - add a name to a thread for error messages | - add a list pointer to the thread to track list membership | |--- lib/thread.h.orig 2018-02-19 21:24:55.000000000 +0000 |+++ lib/thread.h -------------------------- Patching file lib/thread.h using Plan A... Hunk #1 succeeded at 38. Hunk #2 succeeded at 78. done => Verifying /opt/pkgsrc/net/quagga/patches/patch-solaris_quagga.init.in => Applying pkgsrc patch /opt/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 /opt/pkgsrc/net/quagga/patches/patch-zebra_ioctl.c => Applying pkgsrc patch /opt/pkgsrc/net/quagga/patches/patch-zebra_ioctl.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-zebra_ioctl.c,v 1.1 2020/12/10 17:08:17 kardel Exp $ | | use SIOCGIFDATA on NetBSD to fetch link status | instead of relying on SIOCGIFMEDIA | |--- zebra/ioctl.c.orig 2018-02-19 21:24:55.000000000 +0000 |+++ zebra/ioctl.c -------------------------- Patching file zebra/ioctl.c using Plan A... Hunk #1 succeeded at 348. Hunk #2 succeeded at 357. done => Verifying /opt/pkgsrc/net/quagga/patches/patch-zebra_kernel__socket.c => Applying pkgsrc patch /opt/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.3 2020/12/10 17:08:17 kardel Exp $ | | RTM_RESOLVE needs to be conditional | |--- 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.4nb4 ===> Configuring for quagga-1.2.4nb4 => 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... aarch64-apple-darwin20 checking host system type... aarch64-apple-darwin20 checking target system type... aarch64-apple-darwin20 checking for a BSD-compatible install... /usr/bin/install -c -o sjmulder -g staff checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/pkg-dev/bin/gmkdir -p checking for gawk... /opt/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... /opt/pkg/bin/perl checking for gawk... gawk checking for aarch64-apple-darwin20-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 grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking pkg-config is at least version 0.9.0... yes 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... print -r checking for a sed that does not truncate output... /opt/pkg/bin/nbsed checking for fgrep... /usr/bin/grep -F checking for ld used by clang... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no 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) 1048576 checking how to convert aarch64-apple-darwin20 file names to aarch64-apple-darwin20 format... func_convert_file_noop checking how to convert aarch64-apple-darwin20 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for aarch64-apple-darwin20-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-apple-darwin20-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for aarch64-apple-darwin20-ar... no checking for ar... ar checking for archiver @FILE support... no checking for aarch64-apple-darwin20-strip... no checking for strip... strip checking for aarch64-apple-darwin20-ranlib... no checking for 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 aarch64-apple-darwin20-mt... no checking for mt... no checking if : is a manifest tool... no checking for aarch64-apple-darwin20-dsymutil... no checking for dsymutil... dsymutil checking for aarch64-apple-darwin20-nmedit... no checking for nmedit... nmedit checking for aarch64-apple-darwin20-lipo... no checking for lipo... lipo checking for aarch64-apple-darwin20-otool... no checking for otool... otool checking for aarch64-apple-darwin20-otool64... no checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes 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... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no 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 (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin20 dyld 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... /opt/pkg/bin/nbsed 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 aarch64-apple-darwin20-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... yes 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... no checking for sys/conf.h... yes checking for ucontext.h... no 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... no 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... ioctl checking for struct ip_mreqn.imr_ifindex... yes checking for linux/mroute.h... no checking for BSD struct ip_mreq hack... yes checking for RFC3678 protocol-independed API... yes 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... no checking for netinet/tcp.h... yes checking whether TCP_MD5SIG is declared... no checking linux/tcp.h usability... no checking linux/tcp.h presence... no checking for linux/tcp.h... no checking ipforward method... sysctl checking for getaddrinfo... yes checking whether does this OS have IPv6 stack... configure: error: Failed to detect IPv6 stack *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/net/quagga *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/quagga