Package Details: daedalus-bridge 1.0.3-2

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: 5
Popularity: 2.272263
First Submitted: 2017-12-02 17:14
Last Updated: 2017-12-20 10:01

Latest Comments

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)

gwpl commented on 2018-01-11 15:18

Today I am trying to compile and run it again. I had again to downgrade jemalloc to 4.5.0. Could you add hard dependency on version , i.e. that this package require jemalloc with version <=4.5.0 ? (how to make one, in gist I linked earlier: https://gist.github.com/gwpl/0e4a3ae4d4e21e429b324808cdca3e46 )

tensor5 commented on 2018-01-06 11:51

@emes, rocksdb is already a dependency.

emes commented on 2018-01-05 23:19

Please add rocksdb to deps, it's required.

codybonney commented on 2017-12-17 17:04

@tensor5, removing gperftools and recompiling rocksdb worked for me. Thank you!

gwpl commented on 2017-12-17 16:51

Update! I've build it!
TL;DR- I had to apply all advices below + downgrade jemalloc to 4.5.0.
 Link to instructions with all steps I was required below:

Below I leave notes regarding errors that got resolved by downgrading package to easy finding result in search engines:

Unfortunatelly: `can't load .so/.DLL for: /home/XXX/.cache/pacaur/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)

$ pacaur -S daedalus-bridge  # same for pacaur -S cardano-sl

(...)

cardano-sl-db-1.0.3: build (lib)
Log files have been written to: /home/XXX/.cache/pacaur/cardano-sl/src/cardano-sl/.stack-work/logs/
Progress: 1/12
--  While building custom Setup.hs for package cardano-sl-db-1.0.3 using:
      /home/XXX/.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/XXX/.cache/pacaur/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...
    [ 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/XXX/.cache/pacaur/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)
==> ERROR: A failure occurred in build().
    Aborting...
:: failed to build daedalus-bridge package(s)

Here are versions of packages I use: for p in rocksdb jemalloc ghc stack ; do echo -n "$p " ; pacman -Qi $p | grep Version; done :

rocksdb    Version         : 5.8-1                                                                                                                                      
jemalloc    Version         : 1:5.0.1-3                                                                                                                                 
ghc    Version         : 8.2.2-1                                                                                                                                        
stack    Version         : 1.6.1-12                                                                                                                                     

All comments