Package Details: scylla 2.2.0-1

Git Clone URL: https://aur.archlinux.org/scylla.git (read-only)
Package Base: scylla
Description: Scylla is an open source NoSQL drop-in replacement for Apache Cassandra with fast throughput and low latency
Upstream URL: http://www.scylladb.com/
Licenses: AGPL
Conflicts: cassandra, scylla-git
Provides: scylla
Submitter: kiz
Maintainer: Argenet (dahankzter)
Last Packager: Argenet
Votes: 7
Popularity: 0.000178
First Submitted: 2017-03-13 07:28
Last Updated: 2018-07-19 02:53

Required by (1)

Sources (8)

Pinned Comments

Argenet commented on 2018-01-05 18:07

Please note that compiling ScyllaDB is a resource-consuming operation that uses a lot of memory and puts extra load on CPU.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

Argenet commented on 2018-03-04 20:27

Hi Michael,

The next failure indicates an internal compiler error. With Scylla, this typically happens when compiler runs out of memory. Scylla is using C++ templates heavily and thus it consumes a lot of RAM on compilation. You can try to decrease the number of concurrent jobs. Currently, PKGBUILD uses nproc --all to pass in the number of jobs, you can find out what its value is on your machine and edit PKGBUILD. For example, if on you machine nproc --all produces 4, you can try to make it: ninja -j2 build/release/scylla in the PKGBUILD file and see how it goes.

You can approximately expect 2GB of RAM per job to be used.

mgd commented on 2018-03-04 12:55

Hi Argenet,

your work around gets rid of the problem reported.

However now I stumble over a gcc crash later down the compile process. Need to further investigate though.

[97/297] CXX build/release/main.o FAILED: build/release/main.o g++ -MD -MT build/release/main.o -MF build/release/main.o.d -std=gnu++1y -g -Wall -Werror -Wno-error=deprecated-declarations -fvisibility=hidden -Wno-attributes -pthread -I/home/mgd/packages/scylla-2.1.0-2/src/scylla/seastar -U_FORTIFY_SOURCE -march=nehalem -I/home/mgd/packages/scylla-2.1.0-2/src/scylla/seastar/fmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -Wno-maybe-uninitialized -Wno-sign-compare -Wno-error=cpp -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -DHAVE_ASAN_FIBER_SUPPORT -O2 -I/home/mgd/packages/scylla-2.1.0-2/src/scylla/seastar/build/release/gen -I/home/mgd/packages/scylla-2.1.0-2/src/scylla/seastar/build/release/c-ares -DBOOST_TEST_DYN_LINK -Wno-maybe-uninitialized -Wno-tautological-compare -Wno-missing-braces -Wno-misleading-indentation -Wno-overflow -Wno-noexcept-type -Wno-nonnull-compare -Wno-error=deprecated-declarations -DHAVE_LIBSYSTEMD=1 -I. -I build/release/gen -I seastar -I seastar/build/release/gen -c -o build/release/main.o main.cc g++: interner Compiler-Fehler: Getötet (Programm cc1plus) Bitte senden Sie einen vollständigen Fehlerbericht auf Englisch ein; inclusive vorverarbeitetem Quellcode, wenn es dienlich ist. Weitere Hinweise finden Sie unter »<https://bugs.archlinux.org/>«.

Argenet commented on 2018-03-04 00:28

The problem occurs because of the breaking change introduced in Crypto++ that hides the byte typedef from the global namespace into the CryptoPP:: namespace.

I have opened a GitHub issue for that: https://github.com/scylladb/scylla/issues/3252

The problem is worked around with sed scripts in PKGBUILD file for now. Please try again, it should compile fine.

Argenet commented on 2018-03-03 19:30

Hi Michael, thanks for reporting this issue. I was able to reproduce it, so far it seems to be caused by some changes in the recently updated Crypto++ library. Let me see if some fix or workaround can be applied to resolve this.

mgd commented on 2018-03-03 16:47

Building scylla 2.1.0 fails for me. It seems the type byte is not properly defined for unknown reasons. My system is up-to-date AFAICT.

Find below an excerpt from the build log: [42/297] ANTLR3 cql3/Cql.g [43/297] CXX build/release/gen/cassandra_types.o [44/297] CXX build/release/gen/cql3/CqlLexer.o [45/297] CXX build/release/gen/cql3/CqlParser.o FAILED: build/release/gen/cql3/CqlParser.o g++ -MD -MT build/release/gen/cql3/CqlParser.o -MF build/release/gen/cql3/CqlParser.o.d -std=gnu++1y -g -Wall -Werror -Wno-error=deprecated-declarations -fvisibility=hidden -Wno-attributes -pthread -I/home/mgd/packages/scylla-2.1.0-1/src/scylla/seastar -U_FORTIFY_SOURCE -march=nehalem -I/home/mgd/packages/scylla-2.1.0-1/src/scylla/seastar/fmt -DBOOST_TEST_DYN_LINK -Wno-overloaded-virtual -Wno-maybe-uninitialized -Wno-sign-compare -Wno-error=cpp -DFMT_HEADER_ONLY -DHAVE_HWLOC -DHAVE_NUMA -DHAVE_LZ4_COMPRESS_DEFAULT -DHAVE_ASAN_FIBER_SUPPORT -O2 -I/home/mgd/packages/scylla-2.1.0-1/src/scylla/seastar/build/release/gen -I/home/mgd/packages/scylla-2.1.0-1/src/scylla/seastar/build/release/c-ares -DBOOST_TEST_DYN_LINK -Wno-maybe-uninitialized -Wno-tautological-compare -Wno-missing-braces -Wno-misleading-indentation -Wno-overflow -Wno-noexcept-type -Wno-nonnull-compare -Wno-error=deprecated-declarations -DHAVE_LIBSYSTEMD=1 -I. -I build/release/gen -I seastar -I seastar/build/release/gen -fno-sanitize-address-use-after-scope -c -o build/release/gen/cql3/CqlParser.o build/release/gen/cql3/CqlParser.cpp In file included from ./query-result.hh:28:0, from ./mutation_partition.hh:38, from ./mutation.hh:26, from ./database.hh:62, from ./service/storage_proxy.hh:44, from ./db/schema_tables.hh:43, from ./db/system_keyspace.hh:46, from ./cql3/functions/function_name.hh:45, from ./cql3/selection/selectable.hh:49, from ./cql3/selection/writetime_or_ttl.hh:45, from build/release/gen/cql3/CqlParser.hpp:63, from build/release/gen/cql3/CqlParser.cpp:45: ./md5_hasher.hh: In Elementfunktion »void md5_hasher::update(const char*, size_t)«: ./md5_hasher.hh:34:46: Fehler: »byte« wurde in diesem Gültigkeitsbereich nicht definiert static_assert(sizeof(char) == sizeof(byte), "Assuming lengths will be the same"); ^~~~ ./md5_hasher.hh:34:46: Anmerkung: empfohlene Alternative: In file included from /usr/include/cryptopp/cryptlib.h:102:0, from /usr/include/cryptopp/iterhash.h:6, from /usr/include/cryptopp/md5.h:4, from ./query-result.hh:25, from ./mutation_partition.hh:38, from ./mutation.hh:26, from ./database.hh:62, from ./service/storage_proxy.hh:44, from ./db/schema_tables.hh:43, from ./db/system_keyspace.hh:46, from ./cql3/functions/function_name.hh:45, from ./cql3/selection/selectable.hh:49, from ./cql3/selection/writetime_or_ttl.hh:45, from build/release/gen/cql3/CqlParser.hpp:63, from build/release/gen/cql3/CqlParser.cpp:45: /usr/include/cryptopp/config.h:228:23: Anmerkung: »CryptoPP::byte« typedef unsigned char byte; ^~~~ In file included from ./query-result.hh:28:0, from ./mutation_partition.hh:38, from ./mutation.hh:26, from ./database.hh:62, from ./service/storage_proxy.hh:44, from ./db/schema_tables.hh:43, from ./db/system_keyspace.hh:46, from ./cql3/functions/function_name.hh:45, from ./cql3/selection/selectable.hh:49, from ./cql3/selection/writetime_or_ttl.hh:45, from build/release/gen/cql3/CqlParser.hpp:63, from build/release/gen/cql3/CqlParser.cpp:45: ./md5_hasher.hh:35:44: Fehler: ISO-C++ verbietet Deklaration von »type name« ohne Typ [-fpermissive] hash.Update(reinterpret_cast<const byte*="">(ptr), length * sizeof(byte)); ^~~~ ./md5_hasher.hh:35:44: Fehler: expected »>« before »byte« ./md5_hasher.hh:35:44: Fehler: expected »(« before »byte« ./md5_hasher.hh:35:49: Fehler: expected primary-expression before »>« token hash.Update(reinterpret_cast<const byte*="">(ptr), length * sizeof(byte)); ^</const></const>

grufarm commented on 2018-01-20 08:35

Thank you for the lead. I will stick with the latest mirror package then.

Argenet commented on 2018-01-05 18:07

Please note that compiling ScyllaDB is a resource-consuming operation that uses a lot of memory and puts extra load on CPU.

Argenet commented on 2018-01-05 18:03

@grufarm this package is an AUR package which means it cannot be installed with pacman. Please refer to the AUR documentation: https://wiki.archlinux.org/index.php/Arch_User_Repository

This package is for the latest release of Scylla which is currently 2.0.2. You can try to compile 1.7.5 by using the same PKGBUILD and setting the version accordingly, but beware that 1.7.x used to fail to compile on Arch with newer versions of thrift: https://github.com/scylladb/scylla/issues/2118 https://bbs.archlinux.org/viewtopic.php?id=224069

grufarm commented on 2018-01-05 09:22

pacman -S scylla says target not found? (latest 4.14.10) How do I install older version say 1.7.5 stable release instead?

vludax commented on 2017-11-24 06:36

Thank you for the info!