apollo
apollo copied to clipboard
Build Error: BadExitStatusException
When I bazel to build project just got this error:
ERROR: /home/jintian/.cache/bazel/_bazel_jintian/d1c80f2469ad0b5bc66edb51c88be305/external/curlpp/BUILD.bazel:3:1: C++ compilation of rule '@curlpp//:curlpp' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g '-std=c++0x' '-DUSE_ESD_CAN=false' -MD -MF ... (remaining 30 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
Any idea?
Can you please check if "/usr/bin/gcc" is available in your environment?
@jinfagang I modified your title to a shorter one.
- can you try to clean and build again by command
bash apollo.sh clean
bash apollo.sh build
- If you see the same error again, you can check if there is any system error with command
dmesg
Thank you guys! I will try it!