Brandons-Laptop:macvz brandon 2024-11-08 10:49:42 $ brew install mac-vz/tap/macvz
==> Fetching mac-vz/tap/macvz
==> Downloading https://github.com/mac-vz/macvz/archive/v0.0.4-1.tar.gz
Already downloaded: /Users/brandon/Library/Caches/Homebrew/downloads/5f2cc601901008264cd936e29047499153efb998be4c455a692d971f200ed4e9--macvz-0.0.4-1.tar.gz
==> Installing macvz from mac-vz/tap
==> make VERSION=0.0.4-1 clean binaries
Last 15 lines from /Users/brandon/Library/Logs/Homebrew/macvz/01.make:
# The hostagent must be compiled with CGO_ENABLED=1 so that net.LookupIP() in the DNS server
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/mac-vz/macvz/pkg/version.Version=0.0.4-1" -o _output/share/macvz/macvz-guestagent.Linux-x86_64 ./cmd/macvz-guestagent
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -ldflags="-s -w -X github.com/mac-vz/macvz/pkg/version.Version=0.0.4-1" -o _output/share/macvz/macvz-guestagent.Linux-aarch64 ./cmd/macvz-guestagent
# calls the native resolver library and not the simplistic version in the Go library.
CGO_ENABLED=1 go build -ldflags="-s -w -X github.com/mac-vz/macvz/pkg/version.Version=0.0.4-1" -o _output/bin/macvz ./cmd/macvz
# github.com/mac-vz/macvz/cmd/macvz-guestagent
link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg
# github.com/mac-vz/macvz/cmd/macvz-guestagent
link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg
make: *** [_output/share/macvz/macvz-guestagent.Linux-x86_64] Error 1
make: *** Waiting for unfinished jobs....
make: *** [_output/share/macvz/macvz-guestagent.Linux-aarch64] Error 1
# github.com/mac-vz/macvz/cmd/macvz
link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg
make: *** [_output/bin/macvz] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/mac-vz/homebrew-tap/issues