Skip to content

x/pkgsite@latest doesn't install #54672

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

Closed
y4ney opened this issue Aug 25, 2022 · 1 comment
Closed

x/pkgsite@latest doesn't install #54672

y4ney opened this issue Aug 25, 2022 · 1 comment

Comments

@y4ney
Copy link

y4ney commented Aug 25, 2022

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

$ go version
go version go1.18.4 darwin/arm64

Does this issue reproduce with the latest release?

I am not clear about that,because my golang version must be consistent with the team.

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

go env Output
$ go env
GO111MODULE="on"
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/yaney/Library/Caches/go-build"
GOENV="/Users/yaney/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/yaney/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/yaney/go"
GOPRIVATE=""
GOPROXY="https://goproxy.cn"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18.4"
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/t0/5dc5xbgs6qg__wghsr84hrym0000gn/T/go-build698603497=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

  • install pkgsite
go install golang.org/x/pkgsite/cmd/pkgsite@latest Output
go: downloading golang.org/x/pkgsite v0.0.0-20220824165620-386289514eef
go: downloading golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
go: downloading golang.org/x/vuln v0.0.0-20220823182523-5ae4b706aeb8
../pkg/mod/golang.org/x/pkgsite@v0.0.0-20220824165620-386289514eef/internal/godoc/dochtml/internal/render/linkify.go:13:2: package go/doc/comment is not in GOROOT (/usr/local/go/src/go/doc/comment)
ls /usr/local/go/src/go/doc/ Output
Makefile         comment_test.go  doc_test.go      example_test.go  filter.go        reader.go        synopsis_test.go
comment.go       doc.go           example.go       exports.go       headscan.go      synopsis.go      testdata
  • last,I download the source of code ——go1.18.5.darwin-arm64.tar.gz from https://go.dev/dl/,There is no the same file here.
    Is there any other way?

Yaney
Thanks!

What did you expect to see?

Install pkgsite successfully

What did you see instead?

@y4ney y4ney changed the title affected/package: affected/pkgsite: x/pkgsite@latest doesn't install Aug 25, 2022
@y4ney y4ney changed the title affected/pkgsite: x/pkgsite@latest doesn't install x/pkgsite@latest doesn't install Aug 25, 2022
@gopherbot gopherbot added this to the Unreleased milestone Aug 25, 2022
@seankhliao
Copy link
Member

https://github.com/golang/pkgsite#requirements

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Aug 25, 2022
@golang golang locked and limited conversation to collaborators Aug 25, 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