Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

brew install failing due to go1.23 #27

Open
brandonros opened this issue Nov 8, 2024 · 2 comments
Open

brew install failing due to go1.23 #27

brandonros opened this issue Nov 8, 2024 · 2 comments

Comments

@brandonros
Copy link

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
@brandonros
Copy link
Author

seems related to joohoi/acme-dns#365

@brandonros
Copy link
Author

brandonros commented Nov 8, 2024

brew edit mac-vz/tap/macvz

change depends_on "go" => :build to depends_on "[email protected]" => :build

then

brew install mac-vz/tap/macvz

@brandonros brandonros changed the title brew install failing brew install failing due to go1.23 Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant