=> Bootstrap dependency digest>=20211023: found digest-20211023 => Checksum BLAKE2s OK for beats-6.8.13.tar.gz => Checksum SHA512 OK for beats-6.8.13.tar.gz ===> Installing dependencies for beats-6.8.13nb12 ========================================================================== The following variables will affect the build process of this package, beats-6.8.13nb12. Their current value is shown below: * VARBASE = /var You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency gmake>=3.81: found gmake-4.3nb3 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency go117-1.17.6*: found go117-1.17.6 => Build dependency cwrappers>=20150314: found cwrappers-20180325 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/pkg/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Overriding tools for beats-6.8.13nb12 ===> Extracting for beats-6.8.13nb12 ===> Patching for beats-6.8.13nb12 => Applying pkgsrc patches for beats-6.8.13nb12 => Verifying /usr/pkgsrc/sysutils/beats/patches/patch-libbeat_common_file_stderr__other.go => Applying pkgsrc patch /usr/pkgsrc/sysutils/beats/patches/patch-libbeat_common_file_stderr__other.go Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-libbeat_common_file_stderr__other.go,v 1.1 2020/04/15 13:00:55 jperkin Exp $ | |Use more portable unix.Dup2(). | |--- libbeat/common/file/stderr_other.go.orig 2020-03-05 13:27:52.000000000 +0000 |+++ libbeat/common/file/stderr_other.go -------------------------- Patching file libbeat/common/file/stderr_other.go using Plan A... Hunk #1 succeeded at 21. done => Verifying /usr/pkgsrc/sysutils/beats/patches/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_client.go => Applying pkgsrc patch /usr/pkgsrc/sysutils/beats/patches/patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_client.go Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_github.com_insomniacslk_dhcp_dhcpv4_client.go,v 1.1 2019/03/15 15:03:02 he Exp $ | |BindToInterface is apparently only implemented for Linux and Darwin. |So much for portable software. Since I fail to grasp what dhcp has |to do with shipping logs, just comment out the code to make it build. | |--- vendor/github.com/insomniacslk/dhcp/dhcpv4/client.go.orig 2019-03-06 10:13:10.000000000 +0000 |+++ vendor/github.com/insomniacslk/dhcp/dhcpv4/client.go -------------------------- Patching file vendor/github.com/insomniacslk/dhcp/dhcpv4/client.go using Plan A... Hunk #1 succeeded at 90. Hunk #2 succeeded at 113. done => Verifying /usr/pkgsrc/sysutils/beats/patches/patch-vendor_github.com_tsg_gopacket_pcap_pcap.go => Applying pkgsrc patch /usr/pkgsrc/sysutils/beats/patches/patch-vendor_github.com_tsg_gopacket_pcap_pcap.go Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_github.com_tsg_gopacket_pcap_pcap.go,v 1.2 2020/04/15 13:00:55 jperkin Exp $ | |Just require pcap, fixes NetBSD. |Pull in upstream patch to fix newer cgo syntax. | |--- vendor/github.com/tsg/gopacket/pcap/pcap.go.orig 2020-03-05 13:27:52.000000000 +0000 |+++ vendor/github.com/tsg/gopacket/pcap/pcap.go -------------------------- Patching file vendor/github.com/tsg/gopacket/pcap/pcap.go using Plan A... Hunk #1 succeeded at 8. Hunk #2 succeeded at 163. Hunk #3 succeeded at 375. Hunk #4 succeeded at 436. Hunk #5 succeeded at 479. Hunk #6 succeeded at 542. Hunk #7 succeeded at 811. done => Verifying /usr/pkgsrc/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go => Applying pkgsrc patch /usr/pkgsrc/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.go,v 1.2 2021/09/04 14:10:33 bsiegert Exp $ | |We get link errors about runtime.support_avx and runtime.support_avx2, so |revert the offending commit from |https://github.com/golang/crypto/commit/b0697eccbea9adec5b7ba8008f4c33d98d733388 |I've not been able to track which version of golang.org/x/crypto is |embedded in the beats package, and frankly am befuddled that this sort |of thing makes it into released code, in this day and age with widespread |use of CI etc. This coupled with the apparent widespread practice of |"vendoring" code (copy a vendor's code and ship it as part of your source |package) makes it difficult to stamp out this sort of bugs. Sigh! | |--- vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.go.orig 2019-03-06 10:13:10.000000000 +0000 |+++ vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.go -------------------------- Patching file vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.go using Plan A... Hunk #1 succeeded at 6. done => Verifying /usr/pkgsrc/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.s => Applying pkgsrc patch /usr/pkgsrc/sysutils/beats/patches/patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.s Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-vendor_golang.org_x_crypto_blake2b_blake2bAVX2__amd64.s,v 1.1 2019/03/15 15:03:03 he Exp $ | |We get link errors about runtime.support_avx and runtime.support_avx2, so |revert the offending commit from |https://github.com/golang/crypto/commit/b0697eccbea9adec5b7ba8008f4c33d98d733388 |I've not been able to track which version of golang.org/x/crypto is |embedded in the beats package, and frankly am befuddled that this sort |of thing makes it into released code, in this day and age with widespread |use of CI etc. This coupled with the apparent widespread practice of |"vendoring" code (copy a vendor's code and ship it as part of your source |package) makes it difficult to stamp out this sort of bugs. Sigh! | |--- vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.s.orig 2019-03-06 10:13:10.000000000 +0000 |+++ vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.s -------------------------- Patching file vendor/golang.org/x/crypto/blake2b/blake2bAVX2_amd64.s using Plan A... Hunk #1 succeeded at 748. done ===> Creating toolchain wrappers for beats-6.8.13nb12 ===> Configuring for beats-6.8.13nb12 => Checking for portability problems in extracted files