imp
imp copied to clipboard
make release-docker fails: revspec '5a088b195c298e8aea9bb10994715a0f124f37c9'
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
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
It looks like release builds wouldn't work for make crawl-docker
. I'll try a debug one.
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.
Same error when building with or without docker both for release and debug