Skip to content

Update github.com/moby/term dependency to fix darwin builds #41550

@priyawadhwa

Description

@priyawadhwa

Description

I am trying to import the OpenTelemetry API into my project, but the build is failing on darwin with the following error:

# github.com/docker/docker/pkg/term
../go/pkg/mod/github.com/docker/docker@v1.4.2-0.20190924003213-a8608b5b67c7/pkg/term/tc.go:13:28: undefined: unix.SYS_IOCTL
../go/pkg/mod/github.com/docker/docker@v1.4.2-0.20190924003213-a8608b5b67c7/pkg/term/tc.go:18:28: undefined: unix.SYS_IOCTL
../go/pkg/mod/github.com/docker/docker@v1.4.2-0.20190924003213-a8608b5b67c7/pkg/term/termios_bsd.go:24:31: undefined: unix.SYS_IOCTL
../go/pkg/mod/github.com/docker/docker@v1.4.2-0.20190924003213-a8608b5b67c7/pkg/term/termios_bsd.go:37:31: undefined: unix.SYS_IOCTL

It looks like this was fixed in github.com/docker/term a few weeks ago: moby/term#16

I'm guessing that moby/moby/pkg/term needs to be updated in vendor.conf to incorporate this fix

github.com/moby/term 7f0af18e79f2784809e9cef63d0df5aa2c79d76e

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