This go port fails to build on arm64.
build log: http://build-failures.rhaalovely.net/aarch64/2021-10-29/sysutils/telegraf.log
log snippets:
...
github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/disk
# github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/disk
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:24:36: undefined: MNT_WAIT
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:29:15: undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:30:28: undefined: MNT_WAIT
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:36:19: undefined: MNT_RDONLY
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:39:19: undefined: MNT_SYNCHRONOUS
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:42:19: undefined: MNT_NOEXEC
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:45:19: undefined: MNT_NOSUID
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:119:22:
undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:123:54:
undefined: Statfs
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:138:34:
undefined: Diskstats
vendor/github.com/shirou/gopsutil/disk/disk_openbsd.go:45:19: too many errors
github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/mem
# github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/mem
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:21:17: undefined: CTLVm
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:21:24: undefined: VmUvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:26:14: undefined: sizeOfUvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:29:13: undefined: Uvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:43:17: undefined: CTLVm
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:43:24: undefined: VmUvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:48:14: undefined: sizeOfUvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:51:13: undefined: Uvmexp
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:72:16: undefined: CTLVfs
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:72:24: undefined: VfsGeneric
vendor/github.com/shirou/gopsutil/mem/mem_openbsd.go:72:24: too many errors
github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/net
github.com/influxdata/telegraf/vendor/github.com/shirou/gopsutil/load
github.com/influxdata/telegraf/vendor/github.com/dgrijalva/jwt-go
github.com/influxdata/telegraf/plugins/inputs/dcos
github.com/influxdata/telegraf/plugins/inputs/disque
github.com/influxdata/telegraf/plugins/inputs/dmcache
github.com/influxdata/telegraf/vendor/golang.org/x/crypto/ed25519
github.com/influxdata/telegraf/vendor/golang.org/x/net/bpf
github.com/influxdata/telegraf/vendor/golang.org/x/net/internal/iana
github.com/influxdata/telegraf/vendor/golang.org/x/net/internal/socket
# github.com/influxdata/telegraf/vendor/golang.org/x/net/internal/socket
vendor/golang.org/x/net/internal/socket/cmsghdr.go:9:10: undefined: cmsghdr
vendor/golang.org/x/net/internal/socket/cmsghdr.go:10:10: undefined: cmsghdr
vendor/golang.org/x/net/internal/socket/cmsghdr.go:11:10: undefined: cmsghdr
vendor/golang.org/x/net/internal/socket/cmsghdr_bsd.go:9:10: undefined: cmsghdr
vendor/golang.org/x/net/internal/socket/iovec_64bit.go:12:10: undefined: iovec
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:11:10: undefined: msghdr
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:11:28: undefined: iovec
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:26:10: undefined: msghdr
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:33:10: undefined: msghdr
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:37:10: undefined: msghdr
vendor/golang.org/x/net/internal/socket/msghdr_bsd.go:37:10: too many errors
...
--
Those of you who think you know everything are very annoying to those
of us who do.
No comments:
Post a Comment