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/tools/cmd/gorename: erroring out in os/user and net packages (maybe other packages). #24374

Closed
james-lawrence opened this issue Mar 13, 2018 · 2 comments
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@james-lawrence
Copy link
Contributor

version: go1.10
go env

GOARCH="amd64"
GOBIN=""
GOCACHE="/home/james-lawrence/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/james-lawrence/.golang/lib"
GORACE=""
GOROOT="/home/james-lawrence/.golang/go"
GOTMPDIR=""
GOTOOLDIR="/home/james-lawrence/.golang/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build667774914=/tmp/go-build -gno-record-gcc-switches"

the net package is reproducable via:

gorename -from '"github.com/golang/dep".gvnode' -to 'gvnodeTest'
/home/james-lawrence/.golang/go/src/net/C:18:25: expected type, found '=' (and 2 more errors)
gorename: couldn't load packages due to errors: net
@dominikh
Copy link
Member

Try rebuilding gorename. It's probably been built with an older version of Go which didn't support type aliases yet.

@dominikh dominikh changed the title tooling: gorename erroring out in os/user and net packages (maybe other packages). x/tools/cmd/gorename: erroring out in os/user and net packages (maybe other packages). Mar 13, 2018
@gopherbot gopherbot added this to the Unreleased milestone Mar 13, 2018
@andybons andybons added the WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. label Mar 13, 2018
@gopherbot
Copy link

Timed out in state WaitingForInfo. Closing.

(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)

@golang golang locked and limited conversation to collaborators Apr 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

4 participants