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

not possible to build with go-1.18 #11

Closed
adlandh opened this issue Mar 22, 2022 · 1 comment · Fixed by #14
Closed

not possible to build with go-1.18 #11

adlandh opened this issue Mar 22, 2022 · 1 comment · Fixed by #14

Comments

@adlandh
Copy link
Contributor

adlandh commented Mar 22, 2022

go install github.com/maykonlf/semver-cli/cmd/semver@latest
go: downloading github.com/maykonlf/semver-cli v1.0.2
go: downloading github.com/spf13/cobra v0.0.5
go: downloading github.com/spf13/viper v1.6.1
go: downloading github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/magiconair/properties v1.8.1
go: downloading github.com/pelletier/go-toml v1.6.0
go: downloading github.com/spf13/cast v1.3.0
go: downloading github.com/spf13/jwalterweatherman v1.1.0
go: downloading github.com/subosito/gotenv v1.2.0
go: downloading gopkg.in/ini.v1 v1.51.0
go: downloading gopkg.in/yaml.v2 v2.2.7
go: downloading golang.org/x/text v0.3.2
go: downloading golang.org/x/sys v0.0.0-20191128015809-6d18c012aee9

golang.org/x/sys/unix

Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/syscall_darwin.1_13.go:25:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.1_13.go:27:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.1_13.go:40:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:28:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:43:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:59:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:75:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:90:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:105:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:121:3: //go:linkname must refer to declared function or variable
Users/adlan/Devel/go/pkg/mod/golang.org/x/sys@v0.0.0-20191128015809-6d18c012aee9/unix/zsyscall_darwin_arm64.go:121:3: too many errors

With go-1.17 eveything's ok

@adlandh
Copy link
Contributor Author

adlandh commented Mar 22, 2022

My system is MacOs 12.3 (21E230)

@maykonlf maykonlf linked a pull request Mar 24, 2022 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant