Search Criteria
Package Details: cardano-node 1.34.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cardano-node.git (read-only, click to copy) |
---|---|
Package Base: | cardano-node |
Description: | The core component that is used to participate in a Cardano decentralised blockchain. |
Upstream URL: | https://github.com/input-output-hk/cardano-node |
Licenses: | Apache |
Submitter: | emes |
Maintainer: | None |
Last Packager: | emes |
Votes: | 5 |
Popularity: | 0.71 |
First Submitted: | 2021-01-20 01:41 (UTC) |
Last Updated: | 2022-04-27 12:57 (UTC) |
Dependencies (4)
- libsodium (libsodium-gitAUR, libsodium-1.0.18AUR)
- cabal-install (cabal-install-gitAUR, ghc-cabal-artsAUR, cabal-install-binAUR) (make)
- ghc8.10 (ghc8.10-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
Required by (1)
Sources (18)
- cardano-node-testnet.confd
- cardano-node-testnet.service
- cardano-node.confd
- cardano-node.service
- cardano-node.sysusers
- cardano-node.tmpfiles
- ghc8.10.patch
- git+https://github.com/input-output-hk/cardano-node.git#tag=1.34.1
- https://hydra.iohk.io/build/13695229/download/1/mainnet-alonzo-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/mainnet-byron-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/mainnet-config.json
- https://hydra.iohk.io/build/13695229/download/1/mainnet-shelley-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/mainnet-topology.json
- https://hydra.iohk.io/build/13695229/download/1/testnet-alonzo-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/testnet-byron-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/testnet-config.json
- https://hydra.iohk.io/build/13695229/download/1/testnet-shelley-genesis.json
- https://hydra.iohk.io/build/13695229/download/1/testnet-topology.json
Latest Comments
« First ‹ Previous 1 2 3
andrej commented on 2021-04-07 01:36 (UTC) (edited on 2021-04-07 01:41 (UTC) by andrej)
A couple of other observations (gathered while experimenting with this):
/var/lib/cardano-node/db/testnet
incardano-node.tmpfiles
is troublesome, because it causes a new (mainnet
) node to fail like this:A removal of the directory fixes the problem. (That said, I'm not sure whether
/var/lib/cardano-node/keys/testnet
and/run/cardano-node/testnet
should be created that way either, but they don’t cause errors, so … meh.)PKGBUILD
:Unlike the genesis files, the config and topology files may change.
The packaging documentation suggests that
backup=(...)
should be used primarily for files in/etc
and it is (indeed) convenient to justfind
all.pacnew
files in/etc
(rather than in/var/lib
) after an upgrade (to list all configuration that needs extra attention). A possible option might be to have--config
and--topology
in/etc/cardano-node
. Or there could be a symlink-based setup of some sort, to make the ".pacnew
files only appear in/etc
" assumption work.andrej commented on 2021-03-30 17:10 (UTC) (edited on 2021-04-03 07:50 (UTC) by andrej)
Edit: Nope, only the script that showed sync progress was buggy, not
cardano-node
itself.andrej commented on 2021-03-29 21:02 (UTC) (edited on 2021-03-29 21:03 (UTC) by andrej)
@emes Sure, here's a
makepkg
output.However, this is already after I installed a huge lot of Haskell stuff, all of these packages:
yay -Sl | awk '$1 == "community" && $2 ~ /^haskell/ {print $2}'
The errors had been different before that, suggesting that there might be (additionally) some Haskell-related dependencies missing.emes commented on 2021-03-29 20:16 (UTC)
@lsf @andrej Could you guys please share the errors you encountered with my PKGBUILD?
andrej commented on 2021-03-29 19:59 (UTC)
@lsf Thanks a lot! The modified
PKGBUILD
works for me (unlike the original).For
cardano-wallet
andcardano-addresses
I ended up installing lots ofhaskell-hspec.*
stuff (and other missing dependencies; after ~10 attempts I ended up just installing all ofhaskell.*
fromcommunity
) and rancabal update
a few times at random. (Heck, shouldn’t a build system be hermetic?) That ultimately made them build somehow.But for
cardano-node
nothing of that^^^ worked and thus far thePKGBUILD
modification has been the only feasible approach.lsf commented on 2021-03-19 10:25 (UTC)
I've had quite a few issues building this, either in a clean chroot or regularly (either with haskell dependency resolution or during linking / building due to the whole dynamic / static build and dependency differences), so I've modified the PKGBUILD to use ghcup instead, as described at https://wiki.archlinux.org/index.php/Haskell#ghcup
I'm not saying this is the "better solution" – I know little of haskell, cabal and the whole ecosystem; it might just be an option for those having issues building it as well.
Here's a patch for the current PKGBUILD (1.25.1-2):
« First ‹ Previous 1 2 3