Closed istabraq-iot closed 4 years ago
@GalRogozinski @karimodm
Sorry for the delay We are currently all focused on IRI release issues
After fixing those issues we will tend to compass
I have solved it but now I have new error:
ERROR: An error occurred during the fetch of repository 'io_netty_netty_tcnative_boringssl_static':
java.io.IOException: Error downloading [http://central.maven.org/maven2/io/netty/netty-tcnative-boringssl-static/2.0.25.Final/netty-tcnative-boringssl-static-2.0.25.Final.jar] to /home/istabraq/.cache/bazel/_bazel_istabraq/375cc74ae3ea6eac7c6410ee6367e7f6/external/io_netty_netty_tcnative_boringssl_static/netty-tcnative-boringssl-static-2.0.25.Final.jar: Unknown host: central.maven.org
ERROR: /home/istabraq/compass/compass/BUILD:10:1: //compass:layers_calculator depends on @io_netty_netty_tcnative_boringssl_static//jar:jar in repository @io_netty_netty_tcnative_boringssl_static which failed to fetch. no such package '@io_netty_netty_tcnative_boringssl_static//jar': java.io.IOException: Error downloading [http://central.maven.org/maven2/io/netty/netty-tcnative-boringssl-static/2.0.25.Final/netty-tcnative-boringssl-static-2.0.25.Final.jar] to /home/istabraq/.cache/bazel/_bazel_istabraq/375cc74ae3ea6eac7c6410ee6367e7f6/external/io_netty_netty_tcnative_boringssl_static/netty-tcnative-boringssl-static-2.0.25.Final.jar: Unknown host: central.maven.org
ERROR: Analysis of target '//docker:layers_calculator' failed; build aborted: no such package '@io_netty_netty_tcnative_boringssl_static//jar': java.io.IOException: Error downloading [http://central.maven.org/maven2/io/netty/netty-tcnative-boringssl-static/2.0.25.Final/netty-tcnative-boringssl-static-2.0.25.Final.jar] to /home/istabraq/.cache/bazel/_bazel_istabraq/375cc74ae3ea6eac7c6410ee6367e7f6/external/io_netty_netty_tcnative_boringssl_static/netty-tcnative-boringssl-static-2.0.25.Final.jar: Unknown host: central.maven.org
I tried to have a look today. Due to constraints I couldn't invest too much time on this issue. It seemed to be harder than I anticipated.
Please use docker images from here in the meanwhile: https://hub.docker.com/r/iotacafe/compass/tags
You can solve your error with the following reply of one issue: https://github.com/bazelbuild/rules_docker/issues/705#issuecomment-551393211.
After solve this i get the same error as you notify forward. I solve this with the following workaround: https://github.com/iotaledger/compass/issues/142#issuecomment-58673532
NOTE: _if you don't have the path that the user comment in the workaround you need to execute the bazel run //docker:layers_calculator
, get the error, and after you will have the folder with the "external" folder inside._
After this i get one error with the JDK that i solve installing the new jdk: sudo apt install default-jdk
Once the jdk was installed i had another error with the docker permissions so i gave them:
sudo chmod 666 /var/run/docker.sock
Is working fine now with me.
Hello. I have same issue no such package '@com_google_protobuf_deps//'
.
It happend if run bazel run //docker:layers_calculator
fixed it by follow https://github.com/iotaledger/compass/issues/142#issuecomment-586735326 and after sudo chmod 666 /var/run/docker.sock and only after this run bazel run //docker:layers_calculator
Fixed by #150
Duplicate of #142
I want to setup a private tangle on my own virtual machine with Ubuntu 18.04, 4GB RAM and 20GB memory. I have follow this instructions: https://docs.iota.org/docs/compass/0.1/how-to-guides/set-up-a-private-tangle. Every command works fine until reach this one:
bazel run //docker:layers_calculator
. It shows an error as follows:How can I solve this problem? what I have missed?