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

fix: Update dependencies for OpenBSD support #11861

Merged
merged 4 commits into from
Sep 23, 2022
Merged

Conversation

geowiwi
Copy link
Contributor

@geowiwi geowiwi commented Sep 22, 2022

resolves #

go build -tags "" -ldflags " -X github.com/influxdata/telegraf/internal.Commit=f899eb5c -X github.com/influxdata/telegraf/internal.Branch=master -X github.com/influxdata/telegraf/internal.Version=1.25.0-f899eb5c" ./cmd/telegraf
# github.com/moby/sys/mount
../go/pkg/mod/github.com/moby/sys/[email protected]/mounter_bsd.go:9:10: fatal error: 'sys/_iovec.h' file not found
#include <sys/_iovec.h>
         ^~~~~~~~~~~~~~
1 error generated.

and

go vet $(go list ./... | grep -v ./plugins/parsers/influx)
# github.com/vmware/govmomi/toolbox/hgfs
../go/pkg/mod/github.com/vmware/[email protected]/toolbox/hgfs/server.go:323:4: a.sysStat undefined (type *AttrV2 has no field or method sysStat)

and

go vet $(go list ./... | grep -v ./plugins/parsers/influx)
# github.com/goburrow/serial
../go/pkg/mod/github.com/goburrow/[email protected]/serial_bsd.go:30:18: undefined: syscall.B460800
../go/pkg/mod/github.com/goburrow/[email protected]/serial_bsd.go:78:45: fds.X__fds_bits undefined (type *syscall.FdSet has no field or method X__fds_bits)
../go/pkg/mod/github.com/goburrow/[email protected]/serial_bsd.go:79:46: fds.X__fds_bits undefined (type *syscall.FdSet has no field or method X__fds_bits)
../go/pkg/mod/github.com/goburrow/[email protected]/serial_bsd.go:86:6: fds.X__fds_bits undefined (type *syscall.FdSet has no field or method X__fds_bits)
../go/pkg/mod/github.com/goburrow/[email protected]/serial_bsd.go:92:13: fds.X__fds_bits undefined (type *syscall.FdSet has no field or method X__fds_bits)
../go/pkg/mod/github.com/goburrow/[email protected]/termios_bsd.go:10:19: cannot use speed (variable of type uint32) as type int32 in assignment
../go/pkg/mod/github.com/goburrow/[email protected]/termios_bsd.go:14:19: cannot use speed (variable of type uint32) as type int32 in assignment
# github.com/vmware/govmomi/toolbox/hgfs
../go/pkg/mod/github.com/vmware/[email protected]/toolbox/hgfs/server.go:323:4: a.sysStat undefined (type *AttrV2 has no field or method sysStat)

- github.com/vmware/govmomi
- github.com/goburrow/serial
@geowiwi geowiwi changed the title [Fix]: Update dependencies for OpenBSD support fix: Update dependencies for OpenBSD support Sep 22, 2022
@powersj powersj added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Sep 22, 2022
@telegraf-tiger
Copy link
Contributor

@sspaink sspaink merged commit bb9906a into influxdata:master Sep 23, 2022
popey pushed a commit that referenced this pull request Oct 3, 2022
dba-leshop pushed a commit to dba-leshop/telegraf that referenced this pull request Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants