-
Notifications
You must be signed in to change notification settings - Fork 21.4k
Closed
Labels
Description
System information
Geth version: v1.11.2
OS & Version: OpenBSD 7.2 amd64
Expected behaviour
geth successfully compiles using 'make install' or 'go install ...'
Actual behaviour
geth fails to build
Steps to reproduce the behaviour
Attempt to build geth on OpenBSD:
$ go install github.com/ethereum/go-ethereum/cmd/geth@latest
OR
$ git clone https://github.com/ethereum/go-ethereum
$ cd go-ethereum/
$ git checkout v1.11.2
$ make install
Backtrace
$ go install github.com/ethereum/go-ethereum/cmd/geth@latest
go: downloading github.com/ethereum/go-ethereum v1.11.2
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
go: downloading github.com/russross/blackfriday/v2 v2.1.0
# github.com/karalabe/usb
In file included from ../../go/pkg/mod/github.com/karalabe/[email protected]/raw_errors.go:22:
../../go/pkg/mod/github.com/karalabe/[email protected]/./libusb/libusb/libusb.h:1807:67: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
../../go/pkg/mod/github.com/karalabe/[email protected]/./libusb/libusb/libusb.h:1810:9: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
../../go/pkg/mod/github.com/karalabe/[email protected]/./libusb/libusb/libusb.h:1812:9: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
../../go/pkg/mod/github.com/karalabe/[email protected]/./libusb/libusb/libusb.h:1816:9: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
../../go/pkg/mod/github.com/karalabe/[email protected]/./libusb/libusb/libusb.h:1819:9: warning: declaration of 'struct timeval' will not be visible outside of this function [-Wvisibility]
# github.com/cockroachdb/pebble/vfs
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:18:27: stat.Bsize undefined (type unix.Statfs_t has no field or method Bsize)
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:18:48: stat.Bfree undefined (type unix.Statfs_t has no field or method Bfree)
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:19:28: stat.Bsize undefined (type unix.Statfs_t has no field or method Bsize)
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:19:49: stat.Bavail undefined (type unix.Statfs_t has no field or method Bavail)
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:20:28: stat.Bsize undefined (type unix.Statfs_t has no field or method Bsize)
../../go/pkg/mod/github.com/cockroachdb/[email protected]/vfs/disk_usage_unix.go:20:49: stat.Blocks undefined (type unix.Statfs_t has no field or method Blocks)
When submitting logs: please submit them as text and not screenshots.