bazel cache error build
Hi,
I am trying to build the package using the given instructions. On doing bash apollo.sh build , I get the following error :
ERROR: /home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/BUILD:92:1: undeclared inclusion(s) in rule '@boringssl//boringssl-chromium-stable-with-bazel:crypto': this rule is missing dependency declarations for the following files included by 'external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bcm.c': '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/aes/aes.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/aes/key_wrap.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/aes/mode_wrappers.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/add.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/asm/x86_64-gcc.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/bn.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/bytes.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/cmp.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/ctx.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/div.c' '/home/siddharth/.cache/bazel/_bazel_siddharth/540135163923dd7d5820f3ee4b306b32/external/boringssl/boringssl-chromium-stable-with-bazel/src/crypto/fipsmodule/bn/exponentiation.c'
I have tried clearing the cache and then re-running build. Can someone help me figure out what might be the issue.
Thanks in advance!
Oh , I have the same issue. HOPE SOMEONE TO SOLVE IT!!!
One of our dependencies is broken by its most recent change. We are working on it and will have a solution soon, probably by hosting a stable version in apollo itself.
Expect the lastest version. If UPDATE, please tell us! THANKS
It should have been fixed now. Please run bazel clean --expunge and ./apollo.sh build.
I have the same issue. BUT run bazel clean -expunge and ./apollo.sh build can't solve it。
@GerberaTetra1991 Have you pulled the latest code? Make sure https://github.com/ApolloAuto/apollo/commit/39d91c875675f55a01f60385a06faca97f8ef370 is included.
@siyangy Thanks for your help. I am able to build the project now.
Although on viewing dreamview at the localhost, I can't see the car.

You need to play the demo rosbag to see the car. See README.md for more details.
Thanks for your help! @siyangy I am able to build now! I have tried jump into the docker container.
The dependency bug in docker has been fixed.
Possibly related to #9927, I'm having troubles with sha 540135163923dd7d5820f3ee4b306b32 too (see first line of the error of this issue). I'm not sure the dependency bug in docker is entirely fixed