You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on a fresh machine./hack/build.sh fails because it tries to go get ... go-license but on newer Golang go get ... is deprecated for go install ...2.
when I manually build go-licenses and add it to my PATH I get a series of warming (See below)
Expected behavior
Successful build with no errors or warnings
Steps to reproduce the problem
Fresh machine (M1 Mac in my case)
Install latest version of Golang
Git clone client repo
./hack/build/sh
➜ client git:(main) ✗ ./hack/build.sh
🚒 Update
=== Update Deps for Golang
--- Go mod tidy and vendor
--- Removing unwanted vendor files
--- Updating licenses
W0314 15:22:23.364165 78912 library.go:86] "golang.org/x/sys/unix" contains non-Go code that can't be inspected for further dependencies:/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/golang.org/x/sys/unix/asm_bsd_arm64.s/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_13.s/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.sW0314 15:22:24.622940 78912 library.go:86] "github.com/modern-go/reflect2" contains non-Go code that can't be inspected for further dependencies:
/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/github.com/modern-go/reflect2/relfect2_arm64.s
/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s
/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s
/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s
W0314 15:22:36.579409 78912 library.go:86] "go.starlark.net/starlark" contains non-Go code that can't be inspected for further dependencies:/Users/maximilien/github/knative-client/src/github.com/knative/client/vendor/go.starlark.net/starlark/empty.s...
kn version
N/A since trying to build latest
Knative (serving/eventing) version
N/A
/kind good-first-issue
/kind bug
The text was updated successfully, but these errors were encountered:
Bug report
Two issues:
on a fresh machine
./hack/build.sh
fails because it tries togo get ... go-license
but on newer Golanggo get ...
is deprecated forgo install ...
2.when I manually build
go-licenses
and add it to my PATH I get a series of warming (See below)Expected behavior
Successful build with no errors or warnings
Steps to reproduce the problem
./hack/build/sh
kn version
N/A since trying to build latest
Knative (serving/eventing) version
N/A
The text was updated successfully, but these errors were encountered: