Skip to content

build: add support for OpenBSD #2341

@anoduck

Description

@anoduck

Pebble is a requirement for httpx, and thus during installation it ejected the following set of errors, which immediately caused the installation to fail.:

# github.com/cockroachdb/pebble/vfs
/go/bin/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/bin/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/bin/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/bin/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/bin/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/bin/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)

System: OpenBSD Current 7.2
Go Version: go1.19.4 openbsd/amd64

Any information to further help diagnose the issue would be greatly appreciated.

Jira issue: PEBBLE-128

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions