Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cannot compile for FreeBSD #4516

Closed as not planned
Closed as not planned
@unknowndevQwQ

Description

@unknowndevQwQ

coder currently has no binaries for freebsd, tried to compile one but got an error

Steps to reproduce

  1. git clone github.com/coder/coder (commit abf14d9)
  2. run scripts/build_go.sh --os freebsd --arch amd64 --agpl

output:

# github.com/u-root/u-root/pkg/termios
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/sgtty_unix.go:13:20: undefined: unix.TCGETS
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/sgtty_unix.go:14:20: undefined: unix.TCSETS
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:33:10: undefined: TTYIO
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:39:9: undefined: MakeRaw
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:48:10: undefined: TTYIO
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:71:10: undefined: TTYIO
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:75:10: undefined: TTYIO
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/var_unix.go:42:38: undefined: syscall.IUTF8
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/var_unix.go:50:37: undefined: syscall.OFILL
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/var_unix.go:51:37: undefined: syscall.OFDEL
../../go/pkg/mod/github.com/u-root/[email protected]/pkg/termios/termios.go:39:9: too many errors
# github.com/godbus/dbus/v5
../../go/pkg/mod/github.com/godbus/dbus/[email protected]/transport_unix.go:52:10: cannot use t (variable of type *unixTransport) as type transport in return statement:
        *unixTransport does not implement transport (missing SendNullByte method)
../../go/pkg/mod/github.com/godbus/dbus/[email protected]/transport_unix.go:58:10: cannot use t (variable of type *unixTransport) as type transport in return statement:
        *unixTransport does not implement transport (missing SendNullByte method)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions