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

no such file or directory #2

Open
wy15 opened this issue Oct 20, 2015 · 4 comments
Open

no such file or directory #2

wy15 opened this issue Oct 20, 2015 · 4 comments

Comments

@wy15
Copy link

wy15 commented Oct 20, 2015

Why?

➜  ~  gobenchui github.com/divan/gobenchui/example
[INFO] Benchmarking package github.com/divan/gobenchui/example
[DEBUG] Cloning git workspace to /var/folders/02/6fwn685x4ksc6yyzn8s0pmxm0000gn/T/gobenchui569854371
[DEBUG] Switching to b21aea879112e184edbbed373bd9ed70c7672c5d (Replaces os.LookupEnv with os.Getenv for compatibility with Go 1.4) by Ivan Daniluk <[email protected]>
If browser window didn't appear, please go to this url: http://localhost:6222
[DEBUG] Switching to 799e04be3f5a02beb175196e48944810ac6feb1e (Make linters a bit happier) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 6d373a322bd327c10d9b871551b90971c769f18d (Update README) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 2d341c2a0518e42dcff428ab5fe46ff617ce5f51 (Update README) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 1ed2f2e856152ba567192499101b1049c8ec0d1d (Update README) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 8ea68b6f6af446036e9b41931eb60bc656537b59 (Add README) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 96ec906ea3b6720a14970bba00e9e8580a1f05d8 (Fix some flags and log messages) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 1109f30d04d5d39076d4822357ae0623b4e597f5 (Imrove error detection) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 99b5eee21ad55ab7560897880a3f5b302c2616a1 (Added gb tool support) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 0bda8ba2733d809872033867dc09fcc6e4965986 (Added GO15VENDOREXPERIMENT support) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 8addc0596fc4b0219362830a2b13ebbd229a82b5 (Changed x value for commits) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 036181d7a762234991025a9d1c7831f2c96dcafb (Improve error displaying) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 276e2df70fab8522c2206ee10039fc8c4fa08bef (Added advanced tooltips) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 5dd623b5a47f1c306d4f67c8400b7aa7f92eda20 (Make linters a bit happier) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to bb30377085fc4c12e8f160809c76c5bd5018e19b (Small fixes) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 3e05e4b8111b6f0fb9bee76698247c4ede48d539 (Add tests for hg) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to 497c66e638e11670954f906fc24b8b00272d4054 (Added Hg (Mercurial) support) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to bf17ab4355e81faa3bbff8d82adc37422b5cf085 (Added example git package with demo benchmarks) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to eaf85af5a69d790ebec40f4a5206f31519af01d2 (Add details on index page) by Ivan Daniluk <[email protected]>
[DEBUG] Switching to f18f631439dd8dfecf57b05936a10e54cac5e649 (Add loader icon) by Ivan Daniluk <[email protected]>
[ERROR] failed: chdir /var/folders/02/6fwn685x4ksc6yyzn8s0pmxm0000gn/T/gobenchui569854371/src/pkg/example: no such file or directory
@wy15
Copy link
Author

wy15 commented Oct 20, 2015

os
mac osx 10.11

go env

➜  ~  go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/qi/work/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.5.1/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.5.1/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT=""
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

@divan
Copy link
Owner

divan commented Oct 23, 2015

Hi. I have no idea so far. Is it repeatable? Do you have similar errors with other packages?

@wy15
Copy link
Author

wy15 commented Oct 23, 2015

Hi divan,thanks for reply.
Other packages don't have this issue.
I think ,maybe this step "Cloning git workspace to /var/folders/02/6fwn685x4ksc6yyzn8s0pmxm0000gn/T/gobenchui569854371" doesn't work.

@divan
Copy link
Owner

divan commented Oct 23, 2015

Yep, I just found the reason. Go get didn't fetch submodule (example/ is a submodule), so example/ folder was empty. Taking into account, I have another issue with submodule fetching, I decided to get rid of 'example/' at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants