Giter Club home page Giter Club logo

Comments (7)

grischard avatar grischard commented on July 18, 2024 1

Updating x/sys with go get -u golang.org/x/sys fixes it for me.

from homebrew-tap.

jorgedel4 avatar jorgedel4 commented on July 18, 2024

I have the same issue

from homebrew-tap.

itsmeow avatar itsmeow commented on July 18, 2024

Go 1.18 is relatively new, I am not sure what causes this issue but there is not much established documentation at the moment. I would suggest downgrading to 1.17.

from homebrew-tap.

itsmeow avatar itsmeow commented on July 18, 2024

I cannot reproduce this on Windows with Go 1.18 attempting a manual build.

from homebrew-tap.

grischard avatar grischard commented on July 18, 2024

Same issue on arm64, which I'm copy-pasting here for googlability:

> brew install spicetify-cli
==> Downloading https://github.com/spicetify/spicetify-cli/archive/v2.9.3.tar.gz
Already downloaded: /Users/stereo/Library/Caches/Homebrew/downloads/62d203f35f20f8f486073967799109312a01f93cf7fd6de8d5036425b1de633d--spicetify-cli-2.9.3.tar.gz
==> Installing spicetify-cli from khanhas/tap
==> go build -ldflags -X main.version=2.9.3 -o /opt/homebrew/Cellar/spicetify-cli/2.9.3/bin/spicetify
Last 15 lines from /Users/stereo/Library/Logs/Homebrew/spicetify-cli/01.go:
go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading golang.org/x/sys v0.0.0-20201119102817-f84b799fce68
# golang.org/x/sys/unix
../pkg/mod/golang.org/x/[email protected]/unix/syscall_darwin.1_13.go:29:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
../pkg/mod/golang.org/x/[email protected]/unix/zsyscall_darwin_arm64.go:121:3: too many errors

from homebrew-tap.

grischard avatar grischard commented on July 18, 2024

See also google/go-jsonnet#596 and golang/go#49219

"I believe you have an indirect dependency on an old version of x/sys that breaks when running go install with go 1.18."

from homebrew-tap.

itsmeow avatar itsmeow commented on July 18, 2024

Fixed by spicetify/cli#1547

from homebrew-tap.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.