How did you invoke bazel? (i.e. what target did you invoke, and in what repo?)
On Tuesday, April 10, 2018 at 2:44:17 PM UTC-6, Jim King wrote: > > 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/4c9e93dd-d31b-4197-91d7-9f581e4228b8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.