Skip to content

v22.7.0 no longer compiles under freebsd #509

Description

@ncw

v22.6.0 used to compile just fine with freebsd but v22.7.0 does not giving this error

daemon/sdnotify_unix.go:31:17: undefined: unix.ClockGettime

I used git bisect to track it down to this commit 6d96518 by @corhere

Fail

$ git co main
$ GOOS=freebsd go build ./daemon
# github.com/coreos/go-systemd/v22/daemon
daemon/sdnotify_unix.go:31:17: undefined: unix.ClockGettime
$ 

OK

$ git co v22.6.0
$ GOOS=freebsd go build ./daemon
$ 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions