Build broken on OSX due to Bazel components


bazel build //kythe/java/... fails on Darwin:

zarko-macbookpro:kythe-ci zarko$ bazel build //kythe/java/...
WARNING: /private/var/tmp/_bazel_zarko/2be6994bf77f75bac8f1433eb6e9dc33/external/io_bazelbuild_bazel/WORKSPACE:1: Workspace name in /private/var/tmp/_bazel_zarko/2be6994bf77f75bac8f1433eb6e9dc33/external/io_bazelbuild_bazel/WORKSPACE (@io_bazel) does not match the name given in the repository's definition (@io_bazelbuild_bazel); this will cause a build error in future versions.
WARNING: /private/var/tmp/_bazel_zarko/2be6994bf77f75bac8f1433eb6e9dc33/external/io_bazelbuild_bazel/tools/build_rules/java_rules_skylark.bzl:185:13: Variables HOST_CFG and DATA_CFG are deprecated in favor of strings "host" and "data" correspondingly.
INFO: Found 31 targets...
ERROR: /private/var/tmp/_bazel_zarko/2be6994bf77f75bac8f1433eb6e9dc33/external/io_bazelbuild_bazel/src/main/native/BUILD:36:1: undeclared inclusion(s) in rule '@io_bazelbuild_bazel//src/main/':
this rule is missing dependency declarations for the following files included by 'external/io_bazelbuild_bazel/src/main/native/':
zarko created this task.Via WebNov 15 2016, 12:44 PM
zarko assigned this task to craigbarber.
zarko added a subscriber: zarko.
zarko added a comment.Via WebNov 15 2016, 12:47 PM

This was broken by D1130.

salguarnieri added a subscriber: salguarnieri.Via WebDec 5 2016, 11:10 AM

Please verify and close T188 when this is being marked as resolved.

salguarnieri added a project: OS X Build.Via WebDec 6 2016, 11:29 AM
salguarnieri triaged this task as "High" priority.Via WebDec 8 2016, 5:49 PM
craigbarber added a comment.Via WebDec 12 2016, 1:46 PM

Work on resolving this is blocked pending the acquisition of machine which I can use to test the OSX build. If this is blocking anyone, please feel free to comment out the offending targets, as there isn't anything using that code at the moment.

craigbarber added a comment.Via WebDec 14 2016, 2:13 PM

Still waiting on a hardware requisition to dig into this. In the meantime, I've switched the offending bazel targets to manual in D1182, so they won't interfere with the overall darwin build.

At a glance this issue looks related to the new external dependency I added to bazel build, but without being able to locally repro I can't say much else at this point in time.

Add Comment