I am having trouble building grpc with bazel. I get the following errors:

ERROR: 
/usr/local/google/home/jsking/.cache/bazel/_bazel_jsking/5829c07283a19b7748a372d152deaad4/external/com_github_cares_cares/BUILD.bazel:59:1:
 
undeclared inclusion(s
) in rule '@com_github_cares_cares//:ares': 
this rule is missing dependency declarations for the following files 
included by 'external/com_github_cares_cares/ares__get_hostent.c': 
 '/usr/lib/clang/4.0.1/include/stddef.h' 
 '/usr/lib/clang/4.0.1/include/stdarg.h' 
 '/usr/lib/clang/4.0.1/include/stdbool.h' 
 '/usr/lib/clang/4.0.1/include/stdint.h' 
Target //:grpc failed to build 
Use --verbose_failures to see the command lines of failed build steps. 
INFO: Elapsed time: 0.370s, Critical Path: 0.16s 
FAILED: Build did NOT complete successfully

I read that this is caused by bazel not having those paths in its default 
include paths and that they need to be added to the toolchain.  However, 
adding a toolchain file looked horribly complicated.  Is there a simple way 
to just add some include paths to the default set?
I am building this directly from the clone of the repo with no 
modifications.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/015c45bd-8d81-40b0-be78-42e88234c147%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to