huijunwu opened a new issue #3562:
URL: https://github.com/apache/incubator-heron/issues/3562
**Describe the bug**
`bazel build` on //tools/travis/toolchain reports error
**To Reproduce**
Steps to reproduce the behavior:
master branch
```
$ bazel build //tools/travis/toolchain/...
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:30:1:
//tools/travis/toolchain:cc-compiler-local: no such attribute
'dynamic_runtime_libs' in 'cc_toolchain' rule
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:30:1:
//tools/travis/toolchain:cc-compiler-local: no such attribute
'static_runtime_libs' in 'cc_toolchain' rule
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:30:1:
//tools/travis/toolchain:cc-compiler-local: missing value for mandatory
attribute 'toolchain_config' in 'cc_toolchain' rule
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:44:1:
//tools/travis/toolchain:cc-compiler-k8: no such attribute
'dynamic_runtime_libs' in 'cc_toolchain' rule
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:44:1:
//tools/travis/toolchain:cc-compiler-k8: no such attribute
'static_runtime_libs' in 'cc_toolchain' rule
ERROR: /home/ubuntu/heron/tools/travis/toolchain/BUILD:44:1:
//tools/travis/toolchain:cc-compiler-k8: missing value for mandatory attribute
'toolchain_config' in 'cc_toolchain' rule
ERROR: error loading package 'tools/travis/toolchain': Package
'tools/travis/toolchain' contains errors
INFO: Elapsed time: 1.032s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
```
**Expected behavior**
no error from command
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Operating System**
- OS: ubuntu 20.04
- Version 20.04
**Additional context**
guess `//tools/travis/toolchain` is not used by travis? why does travis CI
not report error ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]