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

x/sys: install error "found (vx.x.x), but does not contain package golang.org/x/sys" #53144

Closed
phongvq opened this issue May 30, 2022 · 1 comment

Comments

@phongvq
Copy link

phongvq commented May 30, 2022

What version of Go are you using (go version)?

$ go version
go version go1.18.2 darwin/arm64

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/phongvq/Library/Caches/go-build"
GOENV="/Users/phongvq/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/phongvq/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/phongvq/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/homebrew/Cellar/go/1.18.2/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/go/1.18.2/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/j5/f_9l18994ng03qpgt9k4c8q80000gn/T/go-build16809025=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Run command:

go install github.com/OJ/gobuster/v3@latest

What did you expect to see?

can install x/sys package

What did you see instead?

go: golang.org/x/sys@latest: module golang.org/x/sys@latest found (v0.0.0-20220520151302-bc2c85ada10a), but does not contain package golang.org/x/sys
@gopherbot gopherbot added this to the Unreleased milestone May 30, 2022
@phongvq phongvq changed the title x/sys: install error "found (vx.x.x), but does not contain package golang.org/x/sys x/sys: install error "found (vx.x.x), but does not contain package golang.org/x/sys: May 30, 2022
@phongvq phongvq changed the title x/sys: install error "found (vx.x.x), but does not contain package golang.org/x/sys: x/sys: install error "found (vx.x.x), but does not contain package golang.org/x/sys" May 30, 2022
@seankhliao
Copy link
Member

The output you gave is inconsistent with the command you gave (and doesn't reproduce).
The error is also correct for whatever you tried to do, there is no package at the root of golang.org/s/sys

Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.

For questions please refer to https://github.com/golang/go/wiki/Questions

@golang golang locked and limited conversation to collaborators May 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants