librespeed / homebrew-tap

Homebrew Tap for LibreSpeed
BSD 2-Clause "Simplified" License
19 stars 6 forks source link

fresh install of the librespeed-cli won't compile #3

Open dmirtillo opened 2 months ago

dmirtillo commented 2 months ago

Launched the installation commands as per documentation which resulted in a compilation error

~ brew tap librespeed/tap
==> Tapping librespeed/tap
Cloning into '/opt/homebrew/Library/Taps/librespeed/homebrew-tap'...
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (33/33), done.
remote: Total 52 (delta 13), reused 35 (delta 8), pack-reused 0 (from 0)
Receiving objects: 100% (52/52), 8.05 KiB | 2.01 MiB/s, done.
Resolving deltas: 100% (13/13), done.
Tapped 1 formula (14 files, 16.4KB).

~ brew install librespeed-cli
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################### 100.0%
==> Downloading https://formulae.brew.sh/api/cask.jws.json
######################################################################### 100.0%
==> Fetching dependencies for librespeed/tap/librespeed-cli: go
==> Fetching go
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.23.0-1
######################################################################### 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/go/blobs/sha256:5cc408349e666ae
######################################################################### 100.0%
==> Fetching librespeed/tap/librespeed-cli
==> Downloading https://github.com/librespeed/speedtest-cli/archive/v1.0.9.tar.g
==> Downloading from https://codeload.github.com/librespeed/speedtest-cli/tar.gz
##O=#  #
==> Installing librespeed-cli from librespeed/tap
==> Installing dependencies for librespeed/tap/librespeed-cli: go
==> Installing librespeed/tap/librespeed-cli dependency: go
==> Downloading https://ghcr.io/v2/homebrew/core/go/manifests/1.23.0-1
Already downloaded: /Users/dmirtillo/Library/Caches/Homebrew/downloads/bd01a3e28775a39c18eaa93dd3cef33b52cbd7d1dc2a5e8668a723b26d125f19--go-1.23.0-1.bottle_manifest.json
==> Pouring go--1.23.0.arm64_sonoma.bottle.1.tar.gz
🍺  /opt/homebrew/Cellar/go/1.23.0: 13,227 files, 268.1MB
==> Installing librespeed/tap/librespeed-cli
==> go build -o /opt/homebrew/Cellar/librespeed-cli/1.0.9/bin/librespeed-cli -ld
Last 15 lines from /Users/dmirtillo/Library/Logs/Homebrew/librespeed-cli/01.go:

go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/urfave/cli/v2 v2.3.0
go: downloading github.com/briandowns/spinner v1.12.0
go: downloading github.com/gocarina/gocsv v0.0.0-20210408192840-02d7211d929d
go: downloading github.com/go-ping/ping v0.0.0-20210407214646-e4e642a95741
go: downloading golang.org/x/net v0.0.0-20210421230115-4e50805a0758
go: downloading github.com/fatih/color v1.10.0
go: downloading golang.org/x/sys v0.0.0-20210421221651-33663a62ff08
go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/mattn/go-colorable v0.1.8
go: downloading github.com/russross/blackfriday/v2 v2.1.0
# command-line-arguments
link: golang.org/x/net/internal/socket: invalid reference to syscall.recvmsg

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

Am I missing something here? Appreciate the help

adolfintel commented 2 months ago

DO NOT DOWNLOAD

adolfintel commented 2 months ago

Above comments are malware, report on sight

karlacio commented 1 month ago

Same error on Ventura 13.7 on apple silicon.

Any news?

eleanordoesntcode commented 4 weeks ago

I've made a PR to update to 1.0.11, which seems to fix the build (or at least it worked on my machine)