Skip to content

Cannot upgrade dependencies in MacOS (amd64,darwin) #208

@amckinney

Description

@amckinney

When I attempt to upgrade my Go module dependencies, I'm encountering the following error.

.../go/pkg/mod/github.com/ory/dockertest/v3@v3.6.0/docker/pkg/term/tc.go:13:28: undefined: unix.SYS_IOCTL
.../go/pkg/mod/github.com/ory/dockertest/v3@v3.6.0/docker/pkg/term/tc.go:18:28: undefined: unix.SYS_IOCTL
.../go/pkg/mod/github.com/ory/dockertest/v3@v3.6.0/docker/pkg/term/termios_bsd.go:24:31: undefined: unix.SYS_IOCTL
.../go/pkg/mod/github.com/ory/dockertest/v3@v3.6.0/docker/pkg/term/termios_bsd.go:37:31: undefined: unix.SYS_IOCTL

I was able to trace down the issue to the recent commit in golang/org/x/sys.

To Reproduce

From the root of my repository:

$ go mod init github.com/foo/bar
$ go mod edit -go=1.14
$ go get -u -t ./...

Expected behavior

The upgrade should complete successfully.

Environment

GOARCH="amd64"
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions