Package Details: cardano-sl 3.0.1-1

Git Clone URL: https://aur.archlinux.org/cardano-sl.git (read-only)
Package Base: cardano-sl
Description: Cryptographic currency implementing Ouroboros PoS protocol
Upstream URL: https://github.com/input-output-hk/cardano-sl/
Licenses: MIT
Submitter: tensor5
Maintainer: tensor5
Last Packager: tensor5
Votes: 9
Popularity: 0.035286
First Submitted: 2017-12-02 17:14
Last Updated: 2019-04-23 03:47

Latest Comments

1 2 3 Next › Last »

chrbirks commented on 2019-04-03 17:24

Hi I ran into a problem trying to install cardano-sl. Does anyone have a clue what the problem could be?

Chart-diagrams-1.8.3: configure
servant-swagger-ui-core-0.3.1: copy/register
Chart-diagrams-1.8.3: build
servant-swagger-ui-0.3.0.3.13.2: configure
servant-swagger-1.1.5: copy/register
servant-swagger-ui-0.3.0.3.13.2: build
servant-swagger-ui-redoc-0.3.0.1.21.2: configure
servant-swagger-ui-redoc-0.3.0.1.21.2: build
servant-swagger-ui-0.3.0.3.13.2: copy/register
Chart-diagrams-1.8.3: copy/register
servant-swagger-ui-redoc-0.3.0.1.21.2: copy/register
cardano-sl-core-2.0.0: copy/register
cardano-sl-chain-2.0.0: configure (lib) cardano-sl-chain-2.0.0: build (lib)
cardano-sl-core-test-2.0.0: configure (lib)
cardano-sl-core-test-2.0.0: build (lib)
cardano-sl-core-test-2.0.0: copy/register
cardano-sl-chain-2.0.0: copy/register
Building all executables for `cardano-sl-networking' once. After a successful build of all of them, only specified executables will be rebuilt. cardano-sl-chain-test-2.0.0: configure (lib)
cardano-sl-chain-test-2.0.0: build (lib)
cardano-sl-db-2.0.0: configure (lib)
cardano-sl-db-2.0.0: build (lib)
cardano-sl-networking-2.0.0: configure (lib + exe)
cardano-sl-networking-2.0.0: build (lib + exe)
cardano-sl-networking-2.0.0: copy/register
cardano-sl-chain-test-2.0.0: copy/register
Log files have been written to: /tmp/yaourt-tmp-chrbirks/aur-cardano-sl/src/cardano-sl/.stack-work/logs/ Progress 179/197

-- While building package cardano-sl-db-2.0.0 using: /home/chrbirks/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.0.1.0_ghc-8.2.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0 build lib:cardano-sl-db --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always" Process exited with code: ExitFailure 1 Logs have been written to: /tmp/yaourt-tmp-chrbirks/aur-cardano-sl/src/cardano-sl/.stack-work/logs/cardano-sl-db-2.0.0.log

Configuring cardano-sl-db-2.0.0...
Preprocessing library for cardano-sl-db-2.0.0..
Building library for cardano-sl-db-2.0.0..
[ 1 of 97] Compiling Pos.DB.Epoch.Index ( src/Pos/DB/Epoch/Index.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Epoch/Index.o )
[ 2 of 97] Compiling Pos.DB.Error     ( src/Pos/DB/Error.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Error.o )
[ 3 of 97] Compiling Pos.DB.Class     ( src/Pos/DB/Class.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Class.o )
[ 4 of 97] Compiling Pos.DB.Functions ( src/Pos/DB/Functions.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Functions.o )
[ 5 of 97] Compiling Pos.DB.GState.Lock ( src/Pos/DB/GState/Lock.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/GState/Lock.o )
[ 6 of 97] Compiling Pos.DB.Lrc.Common ( src/Pos/DB/Lrc/Common.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Common.o )
[ 7 of 97] Compiling Pos.DB.Lrc.Context ( src/Pos/DB/Lrc/Context.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Context.o )
[ 8 of 97] Compiling Pos.DB.Lrc.Issuers ( src/Pos/DB/Lrc/Issuers.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Issuers.o )
[ 9 of 97] Compiling Pos.DB.Lrc.Leaders ( src/Pos/DB/Lrc/Leaders.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Leaders.o )
[10 of 97] Compiling Pos.DB.Lrc.Mode  ( src/Pos/DB/Lrc/Mode.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Mode.o )
[11 of 97] Compiling Pos.DB.Lrc.RichmenBase ( src/Pos/DB/Lrc/RichmenBase.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/RichmenBase.o )
[12 of 97] Compiling Pos.DB.Lrc.Consumer ( src/Pos/DB/Lrc/Consumer.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Consumer.o )
[13 of 97] Compiling Pos.DB.Lrc.Seed  ( src/Pos/DB/Lrc/Seed.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Lrc/Seed.o )
[14 of 97] Compiling Pos.DB.Misc.Common ( src/Pos/DB/Misc/Common.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Misc/Common.o )
[15 of 97] Compiling Pos.DB.Pure      ( src/Pos/DB/Pure.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Pos/DB/Pure.o )
<command line>: can't load .so/.DLL for: /tmp/yaourt-tmp-chrbirks/aur-cardano-sl/src/cardano-sl/.stack-work/install/x86_64-linux-tinfo6/lts-11.13/8.2.2/lib/x86_64-linux-ghc-8.2.2/libHSrocksdb-haskell-ng-0.0.0-8hm3hwqqbawC8aDw223BZf-ghc8.2.2.so (/usr/lib/libjemalloc.so.2: cannot allocate memory in static TLS block)

==> ERROR: A failure occurred in build(). Aborting...

D-Worak commented on 2019-03-29 06:20

Hello,

Although It's not an issue of cardano-sl, I'm getting trouble compiling cryptonite-openssl-0.7 (needed by cardano-sl) and I guess It's because openssl changed recently on arch linux. I'm trying my best to solve the issue but Its beyond my abilities. This is the error message I got:

Configuring cryptonite-openssl-0.7...                                                                                                                                        
Preprocessing library for cryptonite-openssl-0.7..                                                                                                                           
Building library for cryptonite-openssl-0.7..                                                                                                                                
[ 1 of 10] Compiling Crypto.OpenSSL.AES.Foreign ( .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Crypto/OpenSSL/AES/Foreign.hs, .stack-work/dist/x86_64-linux-tinfo
6/Cabal-2.0.1.0/build/Crypto/OpenSSL/AES/Foreign.o )                                                                                                                         

Crypto/OpenSSL/AES/Foreign.hsc:17:1: warning: [-Wunused-imports]                                                                                                             
    The import of ‘Foreign.Marshal.Alloc’ is redundant                                                                                                                       
      except perhaps to import instances from ‘Foreign.Marshal.Alloc’                                                                                                        
    To import instances alone, use: import Foreign.Marshal.Alloc()
   |
17 | import Foreign.Marshal.Alloc
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 2 of 10] Compiling Crypto.OpenSSL.BN.Foreign ( Crypto/OpenSSL/BN/Foreign.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Crypto/OpenSSL/BN/Foreign.o )
[ 3 of 10] Compiling Crypto.OpenSSL.ECC.Foreign ( Crypto/OpenSSL/ECC/Foreign.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-2.0.1.0/build/Crypto/OpenSSL/ECC/Foreign.o )

/usr/local/include/openssl/opensslv.h:92:1: error:
    Parse error: module header, import declaration
    or top-level declaration expected.
   |
92 | unsigned int OPENSSL_version_major(void);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


bouhappy commented on 2018-12-23 16:49

Hi tensor5.

See diff below that I made to build cardano-sl=2.0.0

I'm working on the daedalus installer, but with the new nix shell installer, it's quite complex, and I haven't figured out how to configure it properly yet, so I'll understand if you don't merge that first.

I'll give an update on the daedalus package if I manage it.

--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = cardano-sl
        pkgdesc = Cryptographic currency implementing Ouroboros PoS protocol
-       pkgver = 1.3.1
+       pkgver = 2.0.0
        pkgrel = 1
        url = https://github.com/input-output-hk/cardano-sl/
        arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = cardano-sl
        depends = gmp
        depends = openssl
        depends = rocksdb
-       source = git+https://github.com/input-output-hk/cardano-sl.git#commit=8f750bb4a4661ca1a45b6e3e97c343472df51322
+       source = git+https://github.com/input-output-hk/cardano-sl.git#tag=2.0.0
        sha256sums = SKIP

 pkgname = cardano-sl
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /*.pkg.tar.*
 /pkg/
 /src/
+/cardano-sl/
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,7 @@
 # Maintainer: Nicola Squartini <tensor5@gmail.com>

 pkgname=cardano-sl
-pkgver=1.3.1
-_commit=8f750bb4a4661ca1a45b6e3e97c343472df51322
+pkgver=2.0.0
 pkgrel=1
 pkgdesc='Cryptographic currency implementing Ouroboros PoS protocol'
 arch=('x86_64')
@@ -10,7 +9,7 @@ url='https://github.com/input-output-hk/cardano-sl/'
 license=('MIT')
 depends=('gmp' 'openssl' 'rocksdb')
 makedepends=('git' 'stack')
-source=("git+https://github.com/input-output-hk/cardano-sl.git#commit=${_commit}")
+source=("git+https://github.com/input-output-hk/cardano-sl.git#tag=${pkgver}")
 sha256sums=('SKIP')

 build() {

Gio commented on 2018-06-23 10:48

HI. I was trying to install the latest version (19.04.2018) but Pacman during the building process stopped suddenly outputting the following error:

^~~~~~~~~~~~

CC shared-objects/memtable/vectorrep.o CC shared-objects/memtable/write_buffer_manager.o cc1plus: all warnings being treated as errors make: [Makefile:639: shared-objects/memtable/skiplistrep.o] Error 1 make: Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting...

Alko89 commented on 2018-05-04 15:38

Hi

I want to know how can I run cardano as headless? I Installed cardano-sl and want to just run the blockchain without the wallet. Can someone help me how to start the node?

tanzeelrana commented on 2018-02-19 03:06

pacman -Qi cardano-sl error: package 'cardano-sl' was not found

tensor5 commented on 2018-02-12 15:28

rocksdb is already a dependecy.

[nicola@archlinux ~]$ pacman -Qi cardano-sl
Name            : cardano-sl
Version         : 1.0.3-2
Description     : Cryptographic currency implementing Ouroboros PoS protocol
Architecture    : x86_64
URL             : <https://github.com/input-output-hk/cardano-sl/>
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : gmp  openssl  rocksdb
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 688.10 MiB
Packager        : Unknown Packager
Build Date      : Tue 19 Dec 2017 08:02:15 PM CET
Install Date    : Wed 20 Dec 2017 10:14:11 AM CET
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : None

goetzc commented on 2018-02-11 19:40

As the preview comment mentions, rocksdb (found in the AUR) is a dependency of rocksdb-haskell, please add it to the deps array.

matiwinnetou commented on 2018-01-29 10:48

This worked fine for me but one needs to have lots of space in tmpfs... and obviously install rocksdb before.

emes commented on 2018-01-23 20:09

I'm getting the following error while building. Full system upgrade didn't help.

--  While building custom Setup.hs for package cardano-sl-db-1.0.3 using:
  /home/emes/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_1.24.2.0_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0 build lib:cardano-sl-db --ghc-options " -ddump-hi -ddump-to-file"
Process exited with code: ExitFailure 1
Logs have been written to: /home/emes/builds/cardano-sl/src/cardano-sl/.stack-work/logs/cardano-sl-db-1.0.3.log

Configuring cardano-sl-db-1.0.3...
Preprocessing library cardano-sl-db-1.0.3...
[ 1 of 13] Compiling Pos.DB.Error     ( Pos/DB/Error.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/build/Pos/DB/Error.o )
[ 2 of 13] Compiling Pos.DB.Class     ( Pos/DB/Class.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/build/Pos/DB/Class.o )
[ 3 of 13] Compiling Pos.DB.Functions ( Pos/DB/Functions.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/build/Pos/DB/Functions.o )
[ 4 of 13] Compiling Pos.DB.Misc.Common ( Pos/DB/Misc/Common.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/build/Pos/DB/Misc/Common.o )
[ 5 of 13] Compiling Pos.DB.Pure      ( Pos/DB/Pure.hs, .stack-work/dist/x86_64-linux-tinfo6/Cabal-1.24.2.0/build/Pos/DB/Pure.o )
<command line>: can't load .so/.DLL for: /home/emes/builds/cardano-sl/src/cardano-sl/.stack-work/install/x86_64-linux-tinfo6/lts-9.1/8.0.2/lib/x86_64-linux-ghc-8.0.2/libHSrocksdb-haskell-1.0.0-ASh627zSIahH8QxTbLrgnb-ghc8.0.2.so (/usr/lib/libjemalloc.so.2: cannot allocate memory in static TLS block)