Created attachment 209684 [details] unbound_exporter-0.1_4.patch ===> Building unbound_exporter from github.com/kumina/unbound_exporter # github.com/kumina/unbound_exporter/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:19:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:46:21: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:50:24: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:55:27: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: undefined: CapRights vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body http://thunderx1.nyi.freebsd.org/build.html?mastername=head-arm64-default&build=p518178_s355024 Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for freebsd/arm64. Tested on 12.1-STABLE/arm64 and 12.1-RELEASE/amd64.
A commit references this bug: Author: dmgk Date: Sun Dec 8 17:25:39 UTC 2019 New revision: 519502 URL: https://svnweb.freebsd.org/changeset/ports/519502 Log: net-mgmt/unbound_exporter: Unbreak on aarch64 ===> Building unbound_exporter from github.com/kumina/unbound_exporter # github.com/kumina/unbound_exporter/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:19:23: undefined: CAP_RIGHTS_VERSION_00 vendor/golang.org/x/sys/unix/cap_freebsd.go:46:21: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:50:24: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:55:27: undefined: CapRights vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: undefined: CapRights vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body http://thunderx1.nyi.freebsd.org/data/head-arm64-default/p518178_s355024/logs/errors/unbound_exporter-0.1_3.log Unbreak by updating golang.org/x/sys to 33540a1f6037 which adds support for freebsd/arm64. PR: 242419 Approved by: Athanasios Douitsis <aduitsis@cpan.org> (maintainer) Changes: head/net-mgmt/unbound_exporter/Makefile head/net-mgmt/unbound_exporter/distinfo