Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for freebsd/arm64 #7031

Merged
merged 1 commit into from
Feb 19, 2020
Merged

Add support for freebsd/arm64 #7031

merged 1 commit into from
Feb 19, 2020

Conversation

MikaelUrankar
Copy link
Contributor

@MikaelUrankar MikaelUrankar commented Feb 16, 2020

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.
# Update sys, net and gopsutil to fix build failure on FreeBSD/aarch64:
github.com/influxdata/telegraf/vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/cmsghdr.go:9:10: undefined: cmsghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/cmsghdr.go:10:10: undefined: cmsghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/cmsghdr.go:11:10: undefined: cmsghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go:9:10: undefined: cmsghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/iovec_64bit.go:12:10: undefined: iovec
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:11:10: undefined: msghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:11:28: undefined: iovec
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:26:10: undefined: msghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:33:10: undefined: msghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:37:10: undefined: msghdr
vendor/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:37:10: too many errors

# github.com/influxdata/telegraf/vendor/golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go:400:12: undefined: uint128

# github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/disk
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:26:36: undefined: MNT_WAIT
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:31:15: undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:32:28: undefined: MNT_WAIT
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:38:17: undefined: MNT_RDONLY
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:41:17: undefined: MNT_SYNCHRONOUS
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:44:17: undefined: MNT_NOEXEC
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:154:9: undefined: Bintime
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:163:22: undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:167:54: undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:182:32: undefined: Devstat
vendor/github.com/shirou/gopsutil/disk/disk_freebsd.go:44:17: too many errors

@danielnelson
Copy link
Contributor

Thanks for the update, can you run go mod tidy and push, hopefully that will take care of the CI failures.

For watchers, this will require Telegraf to be built with Go 1.14. I expect this would be used with the official Telegraf 1.15 builds only.

@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Feb 19, 2020
@danielnelson danielnelson added this to the 1.14.0 milestone Feb 19, 2020
@danielnelson danielnelson merged commit 740e30a into influxdata:master Feb 19, 2020
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants