Skip to content

make release-docker fails: revspec '5a088b195c298e8aea9bb10994715a0f124f37c9' #62

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

Open
prestonvanloon opened this issue Aug 5, 2020 · 4 comments

Comments

@prestonvanloon
Copy link

make release-docker
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/imp -w /usr/src/imp -it rust:latest bash -c "cargo build --release"
Unable to find image 'rust:latest' locally
latest: Pulling from library/rust
31dd5ebca5ef: Pull complete 
3ed641c4ae98: Pull complete 
bcd57146431e: Pull complete 
ac34a4d7c330: Pull complete 
3b0a7e6f20fb: Pull complete 
91629890e4dd: Pull complete 
Digest: sha256:80368be0c2b67d41dd46344f4a0843746144b099d556aa234ac9fddc1fe782ad
Status: Downloaded newer image for rust:latest
    Updating git repository `https://github.com/sigp/lighthouse`
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load source for dependency `eth2_config`

Caused by:
  Unable to update https://github.com/sigp/lighthouse?rev=5a088b195c298e8aea9bb10994715a0f124f37c9

Caused by:
  revspec '5a088b195c298e8aea9bb10994715a0f124f37c9' not found; class=Reference (4); code=NotFound (-3)
make: *** [Makefile:28: release-docker] Error 101
@prestonvanloon
Copy link
Author

I updated this to a more recent commit, but then it doesn't work at runtime.

make crawl-docker  
docker run --rm --user "$(id -u)":"$(id -g)" -v "$PWD":/usr/src/imp -w /usr/src/imp -it rust:latest bash -c "cd scripts && bash crawl-network.sh witti 1 snapshot"
Backing up /usr/src/imp/scripts/../.witti to /usr/src/imp/scripts/../.imp/witti/1596604746
cat /usr/src/imp/scripts/../.witti/crawler12000.csv
crawl-network.sh: line 100: ./../target/debug/imp: No such file or directory
Post processing starting...
tail: cannot open '/usr/src/imp/scripts/../.witti/crawler*' for reading: No such file or directory
tail: cannot open '/usr/src/imp/scripts/../.witti/crawler*' for reading: No such file or directory
Post processing complete
exit

@prestonvanloon
Copy link
Author

It looks like release builds wouldn't work for make crawl-docker. I'll try a debug one.

@jrhea
Copy link
Owner

jrhea commented Aug 6, 2020

It looks like release builds wouldn't work for make crawl-docker. I'll try a debug one.

I'm just getting back to this. Ya i think the docker build option is in need of some TLC. I have a couple of changes to make before this fix will even be useful to you, but i am working on it now. Oh and I think have a quick way to include stats on client/version distribution. Stay tuned.

@zilm13
Copy link

zilm13 commented Sep 23, 2020

Same error when building with or without docker both for release and debug

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

3 participants