Package Details: scylla-tools 2.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: scylla-tools
Description: Tools to be used with ScyllaDB, such as cqlsh, nodetool and others
Upstream URL:
Licenses: Apache
Conflicts: cassandra
Provides: scylla-tools
Submitter: Argenet
Maintainer: Argenet (dahankzter)
Last Packager: Argenet
Votes: 3
Popularity: 0.000001
First Submitted: 2017-12-24 07:37
Last Updated: 2018-07-25 04:44

Latest Comments

vludax commented on 2018-03-22 11:47

Oh I see! I've removed Java 9 and now this package builds successfully. Thanks for your time!

Argenet commented on 2018-03-21 21:27

vludax, I was able to reproduce this issue by forcing Java 9 environment to be used by default. The default Java environment can be found using archlinux-java script as follows:

% archlinux-java get                                                                                                                                   

As mentioned before, scylla-tools does not compile with Java 9. I will update the PKGBUILD file to either explicitly use Java 8 environment, if that is possible, or error out in case if archlinux-java get returns something different from java-8-openjdk. Thanks for your help and patience!

Argenet commented on 2018-03-21 17:35

I checked with Scylla developers and they said Java 9 is not supported. FWIW, Cassandra does not support it either. There is some code that uses private symbols from Java 8 that are missing in Java 9.

Can you try to downgrade your Java compiler to see it it helps? If that resolves the issue, I will add constraints to the PKGBUILD file.

vludax commented on 2018-03-21 11:33

Hmm I run makepkg with -s to sync the dependencies. Both jre8-openjdk-headless and jdk8-openjdk are installed on my system, and I had installed scylla-jmx manually.

I've tried building it with yaourt, but unfortunately got the same error. Please see the build log at

Argenet commented on 2018-03-20 16:19

Can you try to build using AUR helpers such as yaourt or pacaur? They bring in all the dependencies. With makepkg, one has to make sure all dependencies are satisfied upfront.

vludax commented on 2018-03-20 09:35

javac 9.0.4

I build it with makepkg

Argenet commented on 2018-03-19 22:08

Hi vludax,

I tried to build scylla-tools and it works fine for me. From the posted log, I feel like there might be some Java version mismatch. Can you post the output of javac -version? Another question is, do you install dependencies through yaourt/pacaur or just build it directy using makepkg from PKGBUILD file?

vludax commented on 2018-03-19 10:44

Hey Argenet, unfortunately the package seems to be failing at the build-project step. Would you have any clue how I could get it to build? Thanks!

Build log: Buildfile: /tmp/scylla-tools/src/scylla-tools-java/build.xml







init-dependencies: [echo] Loading dependency paths from file: /tmp/scylla-tools/src/scylla-tools-java/build/build-dependencies.xml

init-dependencies: [echo] Loading dependency paths from file: /tmp/scylla-tools/src/scylla-tools-java/build/build-dependencies-sources.xml [unzip] Expanding: /tmp/scylla-tools/src/scylla-tools-java/build/lib/jars/org.jacoco.agent- into /tmp/scylla-tools/src/scylla-tools-java/build/lib/jars




build-project: [echo] apache-cassandra: /tmp/scylla-tools/src/scylla-tools-java/build.xml [javac] Compiling 888 source files to /tmp/scylla-tools/src/scylla-tools-java/build/classes/main [javac] Note: Processing compiler hints annotations [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.openjdk.jmh.generators.BenchmarkProcessor' less than -source '1.8' [javac] Note: Processing compiler hints annotations [javac] Note: Writing compiler command file at META-INF/hotspot_compiler [javac] Note: Done processing compiler hints annotations [javac] /tmp/scylla-tools/src/scylla-tools-java/src/java/org/apache/cassandra/utils/ error: unreported exception Exception; must be caught or declared to be thrown [javac] perform(Stream.of(actions)); [javac] ^ [javac] /tmp/scylla-tools/src/scylla-tools-java/src/java/org/apache/cassandra/utils/concurrent/ error: cannot find symbol [javac] unsafe.monitorEnter(object); [javac] ^ [javac] symbol: method monitorEnter(Object) [javac] location: variable unsafe of type Unsafe [javac] /tmp/scylla-tools/src/scylla-tools-java/src/java/org/apache/cassandra/utils/concurrent/ error: cannot find symbol [javac] unsafe.monitorExit(object); [javac] ^ [javac] symbol: method monitorExit(Object) [javac] location: variable unsafe of type Unsafe [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors [javac] 1 warning

BUILD FAILED /tmp/scylla-tools/src/scylla-tools-java/build.xml:763: Compile failed; see the compiler error output for details.

Argenet commented on 2017-12-24 09:48

You are most welcome! Please note that there are still issues to be addressed for this package as Arch Linux uses python3 as a default Python interpreter but the scripts in this package assume 'python' to be 'python2' therefore some warnings/errors are possible.

I will send a pull request to the GitHub repository, in the meantime this should be possible to resolve locally with sed scripts. Expect an update of the package soon to address it.

vludax commented on 2017-12-24 09:12

Thank you! :)