godbus/dbus

godbus/dbus does not compile for FreeBSD 386

twpayne opened this issue · 1 comments

This can be demonstrated by cross-compiling for freebsd/386:

$ GOOS=freebsd GOARCH=386 go test .
# github.com/godbus/dbus/v5 [github.com/godbus/dbus/v5.test]
./transport_unix.go:52:3: cannot use t (type *unixTransport) as type transport in return argument:
	*unixTransport does not implement transport (missing SendNullByte method)
./transport_unix.go:58:3: cannot use t (type *unixTransport) as type transport in return argument:
	*unixTransport does not implement transport (missing SendNullByte method)
FAIL	github.com/godbus/dbus/v5 [build failed]
FAIL

On further investigation, the problem is that I'm cross-compiling and cgo is not available. Sorry for the noise.