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

cmd/go: update x/vgo #26434

Closed
saibing opened this issue Jul 18, 2018 · 2 comments

Comments

Projects
None yet
5 participants
@saibing
Copy link

commented Jul 18, 2018

Please answer these questions before submitting your issue. Thanks!

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

go version devel +e161b1e8ee Wed Jul 18 02:09:03 2018 +0000 windows/amd64 go:2018-02-20.1

Does this issue reproduce with the latest release?

yes

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

d00257414@szxy8d002574141:/d/git/go/src/vgo [master]$ vgo env
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\d00257414\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\git\go
set GOPROXY=http://10.75.203.36:9090
set GORACE=
set GOROOT=D:\my\go
set GOTMPDIR=
set GOTOOLDIR=D:\my\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=D:\git\go\src\vgo\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\D00257~1\AppData\Local\Temp\go-build739524394=/tmp/go-build -gno-record-gcc-switches

What did you do?

vgo mod -sync

What did you expect to see?

success to fetch all thirdparty modules

What did you see instead?

D:\work\isource\bingo>vgo mod -sync
go: finding github.com/SimpleMessageNotification/smn-sdk-go v0.0.0-20180420150945-7a43cf15cb61
go: finding github.com/Shopify/toxiproxy v1.2.1
go: finding github.com/Shopify/sarama v1.17.0
go: finding github.com/kr/text v0.1.0
go: finding github.com/pierrec/xxHash v0.1.1
go: finding github.com/kr/pty v1.1.1
go: finding github.com/apache/thrift v0.0.0-20171203172758-327ebb6c2b6d
go: finding github.com/RangelReale/osin v1.0.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading rnd-isource.huawei.com/baas/decimal v1.0.2
-> unzip D:\git\go\src\mod\cache\download\rnd-isource.huawei.com\baas\decimal\@v\v1.0.2.zip: invalid file name rnd-isour
ce.huawei.com/baas/decimal@v1.0.2/.gitignore
go: downloading rnd-isource.huawei.com/baas/om v1.1.1
-> unzip D:\git\go\src\mod\cache\download\rnd-isource.huawei.com\baas\om\@v\v1.1.1.zip: invalid file name rnd-isource.hu
awei.com/baas/om@v1.1.1/.gitignore
go: downloading github.com/tylerb/graceful v1.2.15
-> unzip D:\git\go\src\mod\cache\download\github.com\tylerb\graceful\@v\v1.2.15.zip: invalid file name github.com/tylerb
/graceful@v1.2.15/.gitignore
go: downloading rnd-isource.huawei.com/baas/foundation v1.2.0
-> unzip D:\git\go\src\mod\cache\download\rnd-isource.huawei.com\baas\foundation\@v\v1.2.0.zip: invalid file name rnd-is
ource.huawei.com/baas/foundation@v1.2.0/.gitignore
go: downloading rnd-isource.huawei.com/baas/sms v1.1.1
-> unzip D:\git\go\src\mod\cache\download\rnd-isource.huawei.com\baas\sms\@v\v1.1.1.zip: invalid file name rnd-isource.h
uawei.com/baas/sms@v1.1.1/.gitignore
go: downloading github.com/stretchr/testify v1.2.2
-> unzip D:\git\go\src\mod\cache\download\github.com\stretchr\testify\@v\v1.2.2.zip: invalid file name github.com/stretc
hr/testify@v1.2.2/.gitignore
go: downloading rnd-isource.huawei.com/baas/db v1.0.0
-> unzip D:\git\go\src\mod\cache\download\rnd-isource.huawei.com\baas\db\@v\v1.0.0.zip: invalid file name rnd-isource.hu
awei.com/baas/db@v1.0.0/README.md
go: downloading gopkg.in/square/go-jose.v1 v1.1.1
-> unzip D:\git\go\src\mod\cache\download\gopkg.in\square\go-jose.v1\@v\v1.1.1.zip: invalid file name gopkg.in/square/go
-jose.v1@v1.1.1/.gitcookies.sh.enc
go: downloading gopkg.in/ini.v1 v1.37.0
-> unzip D:\git\go\src\mod\cache\download\gopkg.in\ini.v1\@v\v1.37.0.zip: invalid file name gopkg.in/ini.v1@v1.37.0/.git
hub/ISSUE_TEMPLATE.md

@oiooj oiooj added the modules label Jul 18, 2018

@rsc

This comment has been minimized.

Copy link
Contributor

commented Jul 18, 2018

Sorry, this is fixed in the development copy of go but we haven't pushed the change out to vgo yet.
That will happen tomorrow some time, I expect. I'll leave this bug open until then.

@rsc rsc changed the title cmd/go: unzip thirdparty zip file failed on Windows 7 cmd/go: update x/vgo Jul 18, 2018

@FiloSottile FiloSottile added this to the Unreleased milestone Jul 19, 2018

@gopherbot

This comment has been minimized.

Copy link

commented Jul 19, 2018

Change https://golang.org/cl/123579 mentions this issue: cmd/go: import from main repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.