Package Details: rippled 1.9.4-1

Git Clone URL: https://aur.archlinux.org/rippled.git (read-only, click to copy)
Package Base: rippled
Description: Ripple peer-to-peer network daemon
Upstream URL: https://github.com/XRPLF/rippled
Keywords: cryptocurrency ledger node ripple xrp
Licenses: ISC
Submitter: robcat
Maintainer: tallero
Last Packager: 0b100100
Votes: 3
Popularity: 0.000000
First Submitted: 2016-12-30 14:50 (UTC)
Last Updated: 2022-09-25 19:41 (UTC)

Latest Comments

« First ‹ Previous 1 2

r0qs commented on 2017-12-13 18:52 (UTC) (edited on 2017-12-13 19:11 (UTC) by r0qs)

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 (UTC) (edited on 2017-12-14 02:55 (UTC) by robcat)

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 (UTC) (edited on 2017-12-13 08:22 (UTC) by Fandekasp)

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 (UTC)

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 (UTC) (edited on 2017-11-30 23:32 (UTC) by Fandekasp)

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)