You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It took me hours to track this down, why compilation of generated source by annotaion processor (the latest auto-value library) is failing with obscure error message. It seems that the root cause is missing transitive dependency.
$ bazel build --javacopt=-XepDisableAllChecks java/com/google/gerrit/server/diff:diff
...
bazel-out/local-fastbuild/bin/java/com/google/gerrit/server/diff/_javac/diff/libdiff_sourcegenfiles/com/google/gerrit/server/diff/AutoValue_IntraLineDiffArgs.java:51: error: cannot access StringKey
return (this.project.equals(that.project()))
^
class file for com.google.gwtorm.client.StringKey not found
@cushon Thanks. Surprisingly, the original issue in gerrit wasn't exposed on sane platforms (Linux & Mac Os X), but was only reported on the other platform. However, with this small reproducer, it now exposed on Linux as well.
Should I close this issue here and rather re-open a new one for EP?
Activity
Bazel: Fix build on other platform
cushon commentedon Nov 17, 2017
This appears to be caused by Error Prone:
davido commentedon Nov 17, 2017
@cushon Thanks. Surprisingly, the original issue in gerrit wasn't exposed on sane platforms (Linux & Mac Os X), but was only reported on the other platform. However, with this small reproducer, it now exposed on Linux as well.
Should I close this issue here and rather re-open a new one for EP?
davido commentedon Nov 19, 2017
Duplicate of #4108.
Report completion errors