Package Details: rippled 0.81.0-1

Git Clone URL: https://aur.archlinux.org/rippled.git (read-only)
Package Base: rippled
Description: Ripple peer-to-peer network daemon
Upstream URL: https://github.com/ripple/rippled
Licenses: custom:ISC
Submitter: robcat
Maintainer: robcat
Last Packager: robcat
Votes: 0
Popularity: 0.000000
First Submitted: 2016-12-30 14:50
Last Updated: 2018-01-22 18:18

Latest Comments

robcat commented on 2018-01-21 05:43

There is a new version, but it's not yet compatible with the current boost library: https://ripple.com/dev-blog/boost-1-66-not-supported-rippled-0-81-0/

pixelyte commented on 2018-01-13 17:20

Theres a PKGBUILD provided by the developers in the github tree. https://github.com/ripple/rippled/tree/release/Builds/ArchLinux

r0qs commented on 2017-12-14 22:59

Thank you @robcat, I checked the version of protoc and looks like that the version of protoc is wrong, the protoc binary installed by package protobuf-3.4.1-1 is version 3.4.0 and not 3.4.1. But this is strange, because I installed the protobuf via pacman from the main repository, and nobody else had this problem.


:~ $ which protoc
/usr/bin/protoc
:~ $ protoc --version
libprotoc 3.4.0
:~ $ pacman -Qo protoc
/usr/bin/protoc is owned by protobuf 3.4.1-1

Which version is the protoc in your machine?

robcat commented on 2017-12-14 03:11

I'm not aware of problems with protobuf 3.4.1 (rippled compiled successfully on my machine).

Can you double check which version of protobuf that is installed on your system? Your pacman output only shows that you have an up-to-date package db, but gives no info on the actual installed package.

r0qs commented on 2017-12-13 18:52

Hello, I'm trying to install this package but I got the following error:


==> Starting build()...
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
/usr/bin/g++ -o build/gcc.release/src/ripple/beast/unity/beast_insight_unity.o -c -Wall -frtti -std=c++14 -Wno-invalid-offsetof -pthread -Wno-sign-compare -Wno-char-subscripts -Wno-format -g -Wno-unused-but-set-variable -Wno-deprecated -O3 -fno-strict-aliasing -Wno-unused-local-typedefs -DOPENSSL_NO_SSL2 -DDEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER -DHAVE_USLEEP=1 -DSOCI_CXX_C11=1 -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -DBOOST_NO_AUTO_PTR -DBOOST_COROUTINE_NO_DEPRECATION_WARNING -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DNDEBUG -D_FILE_OFFSET_BITS=64 -Isrc -Isrc/beast -Isrc/beast/include -Isrc/beast/extras -Isrc/nudb/include -Ibuild/proto -Isrc/soci/src -Isrc/soci/include src/ripple/beast/unity/beast_insight_unity.cpp
/usr/bin/g++ -o build/gcc.release/src/ripple/beast/unity/beast_net_unity.o -c -Wall -frtti -std=c++14 -Wno-invalid-offsetof -pthread -Wno-sign-compare -Wno-char-subscripts -Wno-format -g -Wno-unused-but-set-variable -Wno-deprecated -O3 -fno-strict-aliasing -Wno-unused-local-typedefs -DOPENSSL_NO_SSL2 -DDEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER -DHAVE_USLEEP=1 -DSOCI_CXX_C11=1 -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -DBOOST_NO_AUTO_PTR -DBOOST_COROUTINE_NO_DEPRECATION_WARNING -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DNDEBUG -D_FILE_OFFSET_BITS=64 -Isrc -Isrc/beast -Isrc/beast/include -Isrc/beast/extras -Isrc/nudb/include -Ibuild/proto -Isrc/soci/src -Isrc/soci/include src/ripple/beast/unity/beast_net_unity.cpp
/usr/bin/g++ -o build/gcc.release/src/ripple/beast/unity/beast_utility_unity.o -c -Wall -frtti -std=c++14 -Wno-invalid-offsetof -pthread -Wno-sign-compare -Wno-char-subscripts -Wno-format -g -Wno-unused-but-set-variable -Wno-deprecated -O3 -fno-strict-aliasing -Wno-unused-local-typedefs -DOPENSSL_NO_SSL2 -DDEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER -DHAVE_USLEEP=1 -DSOCI_CXX_C11=1 -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -DBOOST_NO_AUTO_PTR -DBOOST_COROUTINE_NO_DEPRECATION_WARNING -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DNDEBUG -D_FILE_OFFSET_BITS=64 -Isrc -Isrc/beast -Isrc/beast/include -Isrc/beast/extras -Isrc/nudb/include -Ibuild/proto -Isrc/soci/src -Isrc/soci/include src/ripple/beast/unity/beast_utility_unity.cpp
protoc -Isrc/ripple/proto --cpp_out=build/proto src/ripple/proto/ripple.proto
/usr/bin/g++ -o build/gcc.release/src/ripple/unity/app_consensus.o -c -Wall -frtti -std=c++14 -Wno-invalid-offsetof -pthread -Wno-sign-compare -Wno-char-subscripts -Wno-format -g -Wno-unused-but-set-variable -Wno-deprecated -O3 -fno-strict-aliasing -Wno-unused-local-typedefs -DOPENSSL_NO_SSL2 -DDEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER -DHAVE_USLEEP=1 -DSOCI_CXX_C11=1 -D_SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS -DBOOST_NO_AUTO_PTR -DBOOST_COROUTINE_NO_DEPRECATION_WARNING -DBOOST_COROUTINES_NO_DEPRECATION_WARNING -DNDEBUG -D_FILE_OFFSET_BITS=64 -Isrc -Isrc/beast -Isrc/beast/include -Isrc/beast/extras -Isrc/nudb/include -Ibuild/proto -Isrc/soci/src -Isrc/soci/include src/ripple/unity/app_consensus.cpp
In file included from src/ripple/overlay/Message.h:23:0,
                 from src/ripple/app/consensus/RCLConsensus.h:33,
                 from src/ripple/app/consensus/RCLConsensus.cpp:21,
                 from src/ripple/unity/app_consensus.cpp:21:
build/proto/ripple.pb.h:12:2: error: #error This file was generated by a newer version of protoc which is
 #error This file was generated by a newer version of protoc which is
  ^~~~~
build/proto/ripple.pb.h:13:2: error: #error incompatible with your Protocol Buffer headers. Please update
 #error incompatible with your Protocol Buffer headers.  Please update
  ^~~~~
build/proto/ripple.pb.h:14:2: error: #error your headers.
 #error your headers.
  ^~~~~
In file included from build/proto/ripple.pb.h:25:0,
                 from src/ripple/overlay/Message.h:23,
                 from src/ripple/app/consensus/RCLConsensus.h:33,
                 from src/ripple/app/consensus/RCLConsensus.cpp:21,
                 from src/ripple/unity/app_consensus.cpp:21:
/usr/include/google/protobuf/generated_message_table_driven.h:210:42: error: wrong number of template arguments (6, should be 5)
                        default_enum_value>
                                          ^

I believe that is because my system is using a wrong version of protobuf, but I'm not sure, which version I should use?

I'm using the last version listed in pacman:


:~ $ sudo pacman -Si protobuf
Repository      : extra
Name            : protobuf
Version         : 3.4.1-1
Description     : Protocol Buffers - Google's data interchange format
Architecture    : x86_64
URL             : https://developers.google.com/protocol-buffers/
Licenses        : BSD
Groups          : None
Provides        : protobuf  protobuf-cpp
Depends On      : gcc-libs  zlib
Optional Deps   : None
Conflicts With  : protobuf  protobuf-cpp
Replaces        : protobuf-cpp
Download Size   : 1469.81 KiB
Installed Size  : 7829.00 KiB
Packager        : Lukas Fleischer <lfleischer@archlinux.org>
Build Date      : Sun 15 Oct 2017 08:44:19 AM -02
Validated By    : MD5 Sum  SHA-256 Sum  Signature
</lfleischer@archlinux.org>

Any idea on how to solve this?

robcat commented on 2017-12-13 08:18

UPDATE: a .service file that solves the problems below is now included in the package

@Fandekasp /var/lib/rippled/db is the default location of the database.

You can solve the permission issues running rippled with rw privileges on that directory, or changing the db location (in the configuration file or using the command line flag).

About the second error, https://wiki.archlinux.org/index.php/Limits.conf

Fandekasp commented on 2017-12-13 08:13

Permission issues:

$ rippled
Loading: "/etc/opt/ripple/rippled.cfg"
Terminating thread rippled: main: unhandled St13runtime_error 'Can not create "/var/lib/rippled/db"'
[1]    28198 abort (core dumped)  rippled

I do not have any /var/lib/rippled/ directory after installing the package. After creating the directory and giving myself perms on it, I re-ran rippled and got this new error:

2017-Dec-13 08:17:10 Application:FTL Startup RPC: 
{
        "command" : "log_level",
        "severity" : "warning"
}


2017-Dec-13 08:17:10 Application:FTL Result: {}


2017-Dec-13 08:17:10 Application:FTL Insufficient number of file descriptors: 4928 are needed, but only 1024 are available.
Insufficient number of file descriptors: 4928 are needed, but only 1024 are available.

Not sure what to do here...

Also, the documentation uses systemctl services. Can you include the rippled service script as well ?

robcat commented on 2017-12-01 08:55

Updated to 0.80.0 and moved the configuration files in the new default location (/etc/opt/ripple/).
The test doesn't fail anymore.

Fandekasp commented on 2017-11-30 23:31

Can't install rippled

Longest suite times:
56.4s ripple.tx.Offer
42.5s ripple.app.Flow
9.6s ripple.app.TrustAndBalance
7.4s ripple.test.SetAuth
6.9s ripple.server.ServerStatus
6.3s ripple.app.Book
5.8s ripple.app.RPCOverload
5.3s ripple.app.Path
5.2s ripple.app.TxQ
4.5s ripple.app.LedgerData
229.0s, 151 suites, 913 cases, 356838 tests total, 1 failure
==> ERROR: A failure occurred in check().
Aborting...
:: failed to build rippled package(s)


And flagged out-of-date since rippled is now at v0.80.0 (https://github.com/ripple/rippled/releases/tag/0.80.0)