[
https://issues.apache.org/jira/browse/CASSANDRA-16312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-16312:
-----------------------------------------
Resolution: Not A Problem
Status: Resolved (was: Triage Needed)
Not sure what to tell you, but clearly this is environmental and not a bug we
can fix.
> Can't build Cassandra 3.11 from source
> --------------------------------------
>
> Key: CASSANDRA-16312
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16312
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Vadim Kornev
> Priority: Normal
>
> Version of Cassandra is 3.11.9/3.11.10
> {code:bash}
> java -version
> openjdk version "1.8.0_275"
> OpenJDK Runtime Environment (build 1.8.0_275-b01)
> OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
> {code}
> {code:bash}
> Buildfile: .../cassandra/build.xml
> [script] Warning: Nashorn engine is planned to be removed from a future
> JDK release
> init:
> maven-ant-tasks-localrepo:
> maven-ant-tasks-download:
> maven-ant-tasks-init:
> maven-declare-dependencies:
> maven-ant-tasks-retrieve-build:
> init-dependencies:
> [echo] Loading dependency paths from file:
> .../cassandra/build/build-dependencies.xml
> init-dependencies:
> [echo] Loading dependency paths from file:
> .../cassandra/build/build-dependencies-sources.xml
> [unzip] Expanding:
> .../cassandra/build/lib/jars/org.jacoco.agent-0.7.5.201505241946.jar into
> .../cassandra/build/lib/jars
> check-gen-cql3-grammar:
> gen-cql3-grammar:
> generate-cql-html:
> generate-jflex-java:
> rat-init:
> rat-report:
> build-project:
> [echo] apache-cassandra: .../cassandra/build.xml
> [javac] Compiling 2 source files to .../build/classes/main
> [javac]
> .../cassandra/src/java/org/apache/cassandra/utils/Throwables.java:80: error:
> unreported exception Exception; must be caught or declared to be thrown
> [javac] perform(Stream.of(actions));
> [javac] ^
> [javac]
> .../cassandra/src/java/org/apache/cassandra/utils/concurrent/Locks.java:46:
> error: cannot find symbol
> [javac] unsafe.monitorEnter(object);
> [javac] ^
> [javac] symbol: method monitorEnter(Object)
> [javac] location: variable unsafe of type Unsafe
> [javac]
> .../cassandra/src/java/org/apache/cassandra/utils/concurrent/Locks.java:52:
> error: cannot find symbol
> [javac] unsafe.monitorExit(object);
> [javac] ^
> [javac] symbol: method monitorExit(Object)
> [javac] location: variable unsafe of type Unsafe
> [javac] Note:
> .../cassandra/src/java/org/apache/cassandra/utils/Throwables.java uses
> unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 3 errors
> BUILD FAILED
> .../cassandra/build.xml:863: Compile failed; see the compiler error output
> for details.
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]