Skip to content

Error building on Mac M3: invalid reference to syscall.recvmsg #2

@abhigts1

Description

@abhigts1

Trying to run the following command : brew install chipmk/tap/docker-mac-net-connect

It shows the following in the terminal :

make
VERSION=v0.1.2
build-go

fatal: not a git repository (or any of the parent directories): .git
go build -ldflags "-s -w -X github.com/chipmk/docker-mac-net-connect/version.Version=v0.1.2 -X github.com/chipmk/docker-mac-net-connect/version.SetupImage=ghcr.io/chipmk/docker-mac-net-connect/setup" github.com/chipmk/docker-mac-net-connect
# github.com/chipmk/docker-mac-net-connect
link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg
make: *** [build-go] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/chipmk/homebrew-tap/issues

I ran the command go version and it shows me that I have go version go1.23.0 darwin/arm64

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