Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build errors #1346

Closed
qsphan opened this issue Nov 18, 2017 · 3 comments
Closed

Build errors #1346

qsphan opened this issue Nov 18, 2017 · 3 comments
Assignees
Labels
Module: Build Indicates build related issues Type: Question Indicates that an issue or pull request needs more information

Comments

@qsphan
Copy link

qsphan commented Nov 18, 2017

Hi, I'm building the latest apollo on two different machines (using bash apollo.sh build). I got "build failed!" on both machines with two different errors. Could you please tell me how to fix?

Machine 1: Ubuntu 14.04, error:

[INFO] Start building, please wait ...
INFO: Reading 'startup' options from /apollo/tools/bazel.rc: --batch_cpu_scheduling
Error: mkdir('/root/.cache/bazel/_bazel_root'): (error: 13): Permission denied

Machine 2: Ubuntu 16.04, error:

ERROR: /apollo/modules/third_party_perception/BUILD:24:1: no such package '@ros//': Expected directory at /home/tmp/ros but it does not exist. and referenced by '//modules/third_party_perception:third_party_perception'
ERROR: Analysis of target '//modules/third_party_perception:third_party_perception' failed; build aborted
INFO: Elapsed time: 1.523s
FAILED: Build did NOT complete successfully (5 packages loaded)

Apart from these errors, I also got some warnings, such as:

[WARNING] Failed to find device with pattern "video*" ...

[WARNING] ESD CAN library supplied by ESD Electronics does not exist. If you need ESD CAN, please refer to third_party/can_card_library/esd_can/README.md.

@wyqhnr
Copy link

wyqhnr commented Nov 21, 2017

is it because of that ros of indigo is not supported in ubuntu 16.04?

@liupanpan
Copy link

For Machine 1: Ubuntu 14.04, error. Don't use root to build.

@wanglei828 wanglei828 added Type: Question Indicates that an issue or pull request needs more information Module: Build Indicates build related issues labels Mar 16, 2018
@xiaoxq xiaoxq closed this as completed Apr 16, 2018
@pancumtneu
Copy link

pancumtneu commented Nov 5, 2018

Just delete this file /home/apollo/.cache/bazel/_bazel_root The procedure "bash apollo.sh build "will continue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module: Build Indicates build related issues Type: Question Indicates that an issue or pull request needs more information
Projects
None yet
Development

No branches or pull requests

6 participants