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

Import Error "lookup of '$ret6' failed #249

Open
OxTaZ0w opened this issue Jun 7, 2023 · 3 comments
Open

Import Error "lookup of '$ret6' failed #249

OxTaZ0w opened this issue Jun 7, 2023 · 3 comments

Comments

@OxTaZ0w
Copy link

OxTaZ0w commented Jun 7, 2023

Hi All,

Trying to install using the below command and it fails as shown - I have also tried downloading the source code and running "go run cmd/grpcui/grpcui.go -plaintext localhost:9190" but get very similar errors.

Im using latest version of Kali on Debian 6.1.27-1 - Any help will be greatly appreciated.

└─# go install github.com/fullstorydev/grpcui/cmd/grpcui@latest

go: downloading github.com/fullstorydev/grpcui v1.3.1
go: downloading github.com/fullstorydev/grpcurl v1.8.6
go: downloading github.com/jhump/protoreflect v1.12.0
go: downloading github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4
go: downloading golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9
go: downloading google.golang.org/grpc v1.45.0-dev.0.20220218222403-011544f72939
go: downloading github.com/golang/protobuf v1.5.2
go: downloading google.golang.org/protobuf v1.28.0
go: downloading golang.org/x/net v0.0.0-20200822124328-c89045814202
go: downloading github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021
go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: downloading golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12
go: downloading github.com/cespare/xxhash/v2 v2.1.1
go: downloading github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4
go: downloading github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1
go: downloading github.com/envoyproxy/protoc-gen-validate v0.1.0
go: downloading golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
go: downloading golang.org/x/text v0.3.7
go: downloading github.com/census-instrumentation/opencensus-proto v0.2.1
go: downloading cloud.google.com/go v0.56.0
# golang.org/x/net/http2
pkg/mod/golang.org/x/net@v0.0.0-20200822124328-c89045814202/http2/frame.go:17:39: error: import error for ‘.golang.org/x/net/http/httpguts.headerValueContainsToken’: lookup of ‘$ret6’ failed
17 | "golang.org/x/net/http/httpguts"
| ^
pkg/mod/golang.org/x/net@v0.0.0-20200822124328-c89045814202/http2/frame.go:17:39: error: unrecognized binary operator
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20200822124328-c89045814202/http/httpguts/httplex.go:142: error: not enough arguments to return
/root/go/pkg/mod/golang.org/x/net@v0.0.0-20200822124328-c89045814202/http/httpguts/httplex.go:144: error: not enough arguments to return

@jhump
Copy link
Contributor

jhump commented Jun 7, 2023

@OxTaZ0w, what version of Go are you using?

@OxTaZ0w
Copy link
Author

OxTaZ0w commented Jun 7, 2023

@jhump , thanks for the reply - It would be the current version available via apt as I was working on a fresh build of Kali so had to install it. I cant get to my rig at the moment as not in the office but what ever the latest version was using "apt install gccgo-go"

Thanks again

@n-athan
Copy link

n-athan commented Aug 5, 2023

The installation stops at the same place for me. Did an apt upgrade just to be sure.

$ go version  
go version go1.18 gccgo (Debian 13.1.0-6) 13.1.0 linux/amd64

I removed Go and installed the newe version from Go SDK. Now i run go version go1.20.7 linux/amd64 . After this the install works again.

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

3 participants