You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-discuss
I am trying to compile bazel on a Cray xc-50. From source using the bazel-0.9.0-dist.zip file
I got this error:
Building Bazel from scratch../opt/java/jdk1.8.0_51/bin/javac -classpath third_party/aether/aether-api-1.0.0.v20140518.jar:third_party/aether/aether-connector-basic-1.0.0.v20140518.jar:third_party/aether/aether-impl-1.0.0.v20140518.jar:third_party/aether/aether-spi-1.0.0.v20140518.jar:third_party/aether/aether-transport-classpath-1.0.0.v20140518.jar:third_party/aether/aether-transport-file-1.0.0.v20140518.jar:third_party/aether/aether-transport-http-1.0.0.v20140518.jar:third_party/aether/aether-transport-wagon-1.0.0.v20140518.jar:third_party/aether/aether-util-1.0.0.v20140518.jar:third_party/android_common/com.android.tools.build_builder-model_2.0.0.jar:third_party/android_common/com.android.tools.build_builder-test-api_2.0.0.jar:third_party/android_common/com.android.tools.build_builder_2.0.0.jar:third_party/android_common/com.android.tools.build_manifest-merger_25.0.0.jar:third_party/android_common/com.android.tools.external.lombok_lombok-ast_0.2.3.jar:third_party/android_common/com.android.tools.layoutlib_layoutlib_25.0.0.jar:third_party/android_common/com.android.tools.lint_lint-api_25.0.0.jar:third_party/android_common/com.android.tools.lint_lint-checks_25.0.0.jar:third_party/android_common/com.android.tools_common_25.0.0.jar:third_party/android_common/com.android.tools_ddmlib_25.0.0.jar:third_party/android_common/com.android.tools_dvlib_25.0.0.jar:third_party/android_common/com.android.tools_repository_25.0.0.jar:third_party/android_common/com.android.tools_sdk-common_25.0.0.jar:third_party/android_common/com.android.tools_sdklib_25.0.0.jar:third_party/android_common/com.android_annotations_25.0.0.jar:third_party/apache_commons_codec/commons-codec-1.9.jar:third_party/apache_commons_collections/commons-collections-3.2.2.jar:third_party/apache_commons_compress/apache-commons-compress-1.9.jar:third_party/apache_commons_lang/commons-lang-2.6.jar:third_party/apache_commons_logging/commons-logging-1.1.1.jar:third_party/apache_commons_pool2/commons-pool2-2.3.jar:third_party/apache_httpclient/httpclient-4.5.3.jar:third_party/apache_httpcore/httpcore-4.4.6.jar:third_party/apache_velocity/velocity-1.7.jar:third_party/api_client/google-api-client-1.22.0.jar:third_party/api_client/google-api-client-jackson2-1.22.0.jar:third_party/api_client/google-http-client-1.22.0.jar:third_party/api_client/google-http-client-jackson2-1.22.0.jar:third_party/asm/asm-6.0-sources.jar:third_party/asm/asm-6.0.jar:third_party/asm/asm-analysis-6.0-sources.jar:third_party/asm/asm-analysis-6.0.jar:third_party/asm/asm-commons-6.0-sources.jar:third_party/asm/asm-commons-6.0.jar:third_party/asm/asm-tree-6.0-sources.jar:third_party/asm/asm-tree-6.0.jar:third_party/asm/asm-util-6.0-sources.jar:third_party/asm/asm-util-6.0.jar:third_party/auth/google-auth-library-credentials-0.6.0.jar:third_party/auth/google-auth-library-oauth2-http-0.6.0.jar:third_party/auto/auto-common-0.3.jar:third_party/auto/auto-service-1.0-rc2.jar:third_party/auto/auto-value-1.4.jar:third_party/bytebuddy/byte-buddy-dep-0.7-rc6.jar:third_party/error_prone/error_prone_annotation-2.1.1.jar:third_party/error_prone/error_prone_annotations-2.1.1.jar:third_party/error_prone/error_prone_check_api-2.1.1.jar:third_party/guava/guava-testlib-23.1-jre.jar:third_party/gson/gson-2.2.4.jar:third_party/hamcrest/hamcrest-core-1.3.jar:third_party/hazelcast/hazelcast-3.6.4.jar:third_party/hazelcast/hazelcast-client-3.6.4.jar:third_party/hungarian_algorithm/software-and-algorithms-1.0-src.jar:third_party/hungarian_algorithm/software-and-algorithms-1.0.jar:third_party/instrumentation/instrumentation-api-0.4.3.jar:third_party/jackson2/jackson-core-2.8.6.jar:third_party/java/jdk/langtools/javac-9-dev-r4023-3.jar:third_party/java/jdk/langtools/javac.jar:third_party/java/android_databinding/v2_3_1/exec.jar:third_party/java/jacoco/jacocoagent.jar:third_party/java/jacoco/org.jacoco.agent-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.agent-0.7.5.201505241946.jar:third_party/java/jacoco/org.jacoco.core-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.core-0.7.5.201505241946.jar:third_party/java/jacoco/org.jacoco.report-0.7.5.201505241946-src.jar:third_party/java/jacoco/org.jacoco.report-0.7.5.201505241946.jar:third_party/java/jarjar/gradle/wrapper/gradle-wrapper.jar:third_party/java/jarjar/jarjar-1.4.jar:third_party/java/jarjar/jarjar-core/src/test/resources/enumtest.jar:third_party/java/javapoet/javapoet-1.8.0.jar:third_party/java/jcommander/jcommander-1.48.jar:third_party/java/proguard/proguard5.3.3/examples/annotations/lib/annotations.jar:third_party/java/proguard/proguard5.3.3/lib/proguard.jar:third_party/java/proguard/proguard5.3.3/lib/proguardgui.jar:third_party/java/proguard/proguard5.3.3/lib/retrace.jar:third_party/jcip_annotations/jcip-annotations-1.0-1.jar:third_party/jgit/org.eclipse.jgit-4.0.1.201506240215-r.jar:third_party/jimfs/jimfs-1.1.jar:third_party/jsch/jsch-0.1.51.jar:third_party/jsr305/jsr-305.jar:third_party/jsr330_inject/javax.inject.jar:third_party/junit/junit-4.11.jar:third_party/maven/maven-builder-support-3.3.3.jar:third_party/maven/maven-settings-3.3.3.jar:third_party/maven/maven-settings-builder-3.3.3.jar:third_party/maven_model/maven-aether-provider-3.2.3.jar:third_party/maven_model/maven-model-3.2.3.jar:third_party/maven_model/maven-model-builder-3.2.3.jar:third_party/maven_model/maven-repository-metadata-3.2.3.jar:third_party/mockito/mockito-all-1.10.19.jar:third_party/netty/netty-all-4.1.16.Final.jar:third_party/netty_tcnative/netty-tcnative-boringssl-static-2.0.6.Final.jar:third_party/opencensus/opencensus-api-0.6.0.jar:third_party/pcollections/pcollections-2.1.2.jar:third_party/plexus_component_annotations/plexus-component-annotations-1.6.jar:third_party/plexus_interpolation/plexus-interpolation-1.22.jar:third_party/plexus_utils/plexus-utils-3.0.21.jar:third_party/slf4j/slf4j-api-1.7.7.jar:third_party/slf4j/slf4j-jdk14-1.7.7.jar:third_party/tomcat_annotations_api/tomcat-annotations-api-8.0.5.jar:third_party/truth/truth-0.36.jar:third_party/truth8/truth-java8-extension-0.36.jar:third_party/turbine/turbine-0.1-20170828.jar:third_party/xz/xz-1.5.jar:third_party/allocation_instrumenter/java-allocation-instrumenter-3.0.1.jar:third_party/ijar/test/libwrongcentraldir.jar:third_party/protobuf/3.4.0/libprotobuf_java.jar:third_party/protobuf/3.4.0/libprotobuf_java_util.jar:third_party/grpc/grpc-auth-1.7.0.jar:third_party/grpc/grpc-context-1.7.0.jar:third_party/grpc/grpc-core-1.7.0.jar:third_party/grpc/grpc-netty-1.7.0.jar:third_party/grpc/grpc-protobuf-1.7.0.jar:third_party/grpc/grpc-protobuf-lite-1.7.0.jar:third_party/grpc/grpc-stub-1.7.0.jar:third_party/guava/guava-23.1-jre.jar:third_party/error_prone/error_prone_core-2.1.1.jar:/tmp/bazel_i43Itj90 -sourcepath src/java_tools/singlejar/java/com/google/devtools/build/zip:src/main/java:src/tools/xcode-common/java/com/google/devtools/build/xcode/common:src/tools/xcode-common/java/com/google/devtools/build/xcode/util:third_party/java/dd_plist/java:/tmp/bazel_i43Itj90/src -d /tmp/bazel_i43Itj90/classes -source jdk1.8.0_51 -target jdk1.8.0_51 -encoding UTF-8 @/tmp/bazel_DgcLVWkE/param
javac: invalid source release: jdk1.8.0_51
Usage: javac <options> <source files>
use -help for a list of possible options
If I look at the version of java and javac both are: 1.8.0_51.
daverio@daint104:~/installs/bazel> java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
daverio@daint104:~/installs/bazel> javac -version
javac 1.8.0_51
Anyone have a clue how to fix this?
Lea Waller
unread,
May 15, 2018, 9:43:31 AM5/15/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to bazel-discuss
export JAVA_VERSION=1.8 fixes this for me! Good luck :-)