Skip to content

x/pkgsite@latest doesn't install #54672

Closed as not planned
Closed as not planned
@y4ney

Description

@y4ney

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/[email protected]/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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions