-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: pack: cannot create $WORK/... #6171
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
Labels
Comments
This is a build breakage that I could reproduce trivially at % hg tip changeset: 244:cb8ea63f56f8 tag: tip user: Andrew Gerrand <adg@golang.org> date: Fri Aug 16 13:44:52 2013 +1000 summary: go.tools/cmd/godoc: redirect old pkg/cmd paths % Labels changed: added priority-asap, removed priority-triage, go1.2maybe. Status changed to Accepted. |
Alan: this looks like it's in your court. Owner changed to @adonovan. |
I believe the go tool creates (or nukes) too early the needed directories. go test code.google.com/p/go.tools/... -x -work WORK=/tmp/go-build832309492 mkdir -p $WORK/code.google.com/p/go.tools/cmd/cover/_test/code.google.com/p/go.tools/cmd/ mkdir -p $WORK/code.google.com/p/go.tools/cmd/godoc/_test/code.google.com/p/go.tools/cmd/ mkdir -p $WORK/code.google.com/p/go.tools/cmd/vet/_test/code.google.com/p/go.tools/cmd/ mkdir -p $WORK/code.google.com/p/go.tools/go/exact/_test/code.google.com/p/go.tools/go/ mkdir -p $WORK/code.google.com/p/go.tools/go/types/_test/code.google.com/p/go.tools/go/ mkdir -p $WORK/code.google.com/p/go.tools/go/types/typemap/_test/code.google.com/p/go.tools/go/types/ mkdir -p $WORK/code.google.com/p/go.tools/go/vcs/_test/code.google.com/p/go.tools/go/ mkdir -p $WORK/code.google.com/p/go.tools/importer/_test/code.google.com/p/go.tools/ ... mkdir -p $WORK/code.google.com/p/go.tools/importer/_test/ cd /df/go-lib/src/code.google.com/p/go.tools/importer /df/go/pkg/tool/linux_amd64/6g -o $WORK/code.google.com/p/go.tools/importer/_test/_go_.6 -p code.google.com/p/go.tools/importer_test -complete -D _/df/go-lib/src/code.google.com/p/go.tools/importer -I $WORK -I /df/go-lib/pkg/linux_amd64 ./source_test.go /data4/go/pkg/tool/linux_amd64/pack grcP $WORK $WORK/code.google.com/p/go.tools/importer/_test/code.google.com/p/go.tools/importer_test.a $WORK/code.google.com/p/go.tools/importer/_test/_go_.6 # code.google.com/p/go.tools/importer_test pack: cannot create $WORK/code.google.com/p/go.tools/importer/_test/code.google.com/p/go.tools/importer_test.a: No such file or directory $WORK/code.google.com/p/go.tools/importer/_test/importer.test tree $WORK /tmp/go-build991757215 └── code.google.com └── p └── go.tools ├── importer │ └── _test │ └── _go_.6 └── ssa ├── interp │ └── _test │ └── _go_.6 └── _test └── _go_.6 |
Indeed, it seems that the tests are not broken as such. export GOARCH=amd64 go test code.google.com/p/go.tools/ssa code.google.com/p/go.tools/go/vcs ok code.google.com/p/go.tools/ssa 8.717s ok code.google.com/p/go.tools/go/vcs 0.393s go test code.google.com/p/go.tools/go/types ok code.google.com/p/go.tools/go/types 13.820s go test code.google.com/p/go.tools/ssa code.google.com/p/go.tools/go/vcs code.google.com/p/go.tools/go/types # code.google.com/p/go.tools/go/types pack: cannot create $WORK/code.google.com/p/go.tools/go/types/_test/code.google.com/p/go.tools/go/types.a: No such file or directory ok code.google.com/p/go.tools/ssa 8.853s ok code.google.com/p/go.tools/go/vcs 0.600s FAIL code.google.com/p/go.tools/go/types [build failed] |
Fixed by https://golang.org/cl/12796045 Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by capnm9:
The text was updated successfully, but these errors were encountered: