Skip to content

Instantly share code, notes, and snippets.

@p0deje
Created July 4, 2020 20:32
Show Gist options
  • Save p0deje/a98b17a671781360e8d85329f7851b83 to your computer and use it in GitHub Desktop.
Save p0deje/a98b17a671781360e8d85329f7851b83 to your computer and use it in GitHub Desktop.
$ java -version
openjdk version “11.0.7” 2020-04-14
OpenJDK Runtime Environment (build 11.0.7+10)
OpenJDK 64-Bit Server VM (build 11.0.7+10, mixed mode)
$ bazel build grid
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:grid (313 packages loaded, 4129 targets configured).
INFO: Found 1 target...
ERROR: /Users/p0deje/Development/SeleniumHQ/selenium/java/server/src/org/openqa/selenium/grid/config/BUILD.bazel:3:13: Building java/server/src/org/openqa/selenium/grid/config/libconfig.jar (17 source files) and running annotation processors (AutoServiceProcessor) failed (Exit 1): java failed: error executing command
(cd /private/var/tmp/_bazel_p0deje/d9f7ca256f773f0ccaaf86cfc9fd2df8/execroot/selenium && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
PATH=/opt/puppetlabs/bin:/usr/local/sbin:/Users/p0deje/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/git/bin:/opt/puppetlabs/bin \
external/remotejdk11_macos/bin/java ‘--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED’ ‘--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED’ ‘--patch-module=java.compiler=external/remote_java_tools_darwin/java_tools/java_compiler.jar’ ‘--patch-module=jdk.compiler=external/remote_java_tools_darwin/java_tools/jdk_compiler.jar’ ‘--add-opens=java.base/java.nio=ALL-UNNAMED’ ‘--add-opens=java.base/java.lang=ALL-UNNAMED’ -jar external/remote_java_tools_darwin/java_tools/JavaBuilder_deploy.jar @bazel-out/darwin-fastbuild/bin/java/server/src/org/openqa/selenium/grid/config/libconfig.jar-0.params @bazel-out/darwin-fastbuild/bin/java/server/src/org/openqa/selenium/grid/config/libconfig.jar-1.params)
Execution platform: @local_config_platform//:host
java/server/src/org/openqa/selenium/grid/config/DescribedOption.java:128: error: cannot find symbol
return allOptions.stream()
^
symbol: method stream()
location: variable allOptions of type Optional<List<String>>
Target //java/server/src/org/openqa/selenium/grid:executable-grid failed to build
ERROR: /Users/p0deje/Development/SeleniumHQ/selenium/java/server/src/org/openqa/selenium/grid/BUILD.bazel:80:12 Building java/server/src/org/openqa/selenium/grid/config/libconfig.jar (17 source files) and running annotation processors (AutoServiceProcessor) failed (Exit 1): java failed: error executing command
(cd /private/var/tmp/_bazel_p0deje/d9f7ca256f773f0ccaaf86cfc9fd2df8/execroot/selenium && \
exec env - \
LC_CTYPE=en_US.UTF-8 \
PATH=/opt/puppetlabs/bin:/usr/local/sbin:/Users/p0deje/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/git/bin:/opt/puppetlabs/bin \
external/remotejdk11_macos/bin/java ‘--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED’ ‘--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED’ ‘--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED’ ‘--patch-module=java.compiler=external/remote_java_tools_darwin/java_tools/java_compiler.jar’ ‘--patch-module=jdk.compiler=external/remote_java_tools_darwin/java_tools/jdk_compiler.jar’ ‘--add-opens=java.base/java.nio=ALL-UNNAMED’ ‘--add-opens=java.base/java.lang=ALL-UNNAMED’ -jar external/remote_java_tools_darwin/java_tools/JavaBuilder_deploy.jar @bazel-out/darwin-fastbuild/bin/java/server/src/org/openqa/selenium/grid/config/libconfig.jar-0.params @bazel-out/darwin-fastbuild/bin/java/server/src/org/openqa/selenium/grid/config/libconfig.jar-1.params)
Execution platform: @local_config_platform//:host
INFO: Elapsed time: 195.897s, Critical Path: 69.70s
INFO: 351 processes: 314 darwin-sandbox, 37 worker.
FAILED: Build did NOT complete successfully
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment