apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Build Error: BadExitStatusException

Open lucasjinreal opened this issue 9 years ago • 3 comments

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?

lucasjinreal avatar Jul 12 '17 00:07 lucasjinreal

Can you please check if "/usr/bin/gcc" is available in your environment?

jinghaomiao avatar Jul 12 '17 00:07 jinghaomiao

@jinfagang I modified your title to a shorter one.

  1. can you try to clean and build again by command
bash apollo.sh clean
bash apollo.sh build
  1. If you see the same error again, you can check if there is any system error with command
dmesg

startcode avatar Jul 12 '17 01:07 startcode

Thank you guys! I will try it!

lucasjinreal avatar Jul 12 '17 12:07 lucasjinreal