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 Next › Last »
andrej commented on 2021-08-06 08:34 (UTC)
BTW, there should be
KillSignal=SIGINT
in[Service]
, which is a known issue. AfterSIGTERM
(the default) the shutdown occurs in a way that renders the node unresponsive for 10+ minutes (on a Ryzen 3950X with 5+ GB/s SSDs) the next time it starts.andrej commented on 2021-08-01 03:02 (UTC)
Just a heads-up: For 1.28 you need to add the
alonzo
genesis files.lsf commented on 2021-04-19 10:51 (UTC)
Just a quick note for anyone that still struggles with the haskell dependencies: I've put an updated PKGBUILD for 1.26.2 using ghcup up at https://gitlab.com/-/snippets/2101643 (and made it publicly visible this time around..) incorporating the recent changes from @emes as well :)
andrej commented on 2021-04-14 21:22 (UTC)
@emes The unit file needs an
EnvironmentFile
option.emes commented on 2021-04-14 21:11 (UTC)
@andrej How to make the variables from
/etc/conf.d/cardano-node
visible in the service file? Just dropping the file inconf.d
didn't seem to be enough.andrej commented on 2021-04-11 22:42 (UTC) (edited on 2021-04-11 22:45 (UTC) by andrej)
Another side note: The build still doesn’t work for me and the patch introduced by @lsf works fine. (Yes, it downloads lots of stuff that may be already installed as packages, but it seems to be hermetic and reproducible.) The package-based Haskell libraries seem broken in some way. The huge lot of missing files and packages reported during the build suggest that there may be important bits (registries of some sort or actual files) missing in the Haskell setup on Arch. I don’t use Haskell, so I have no clue.
I first wiped out all the
haskell-.*
stuff I had installed before, just to make sure the build doesn’t depend on it in mysterious ways:Then I used the patch by @lsf (adjusted for the current version):
That^^^ builds without issues.
andrej commented on 2021-04-11 16:40 (UTC)
BTW, the
backup
array in thePKGBUILD
is currenty wrong; it must be either explicitly expanded or without double-quotes.What you have:
What you want:
Other ways to set that^^^:
andrej commented on 2021-04-09 00:08 (UTC) (edited on 2021-04-09 00:09 (UTC) by andrej)
Yet another bit of input: It would be great to have
/etc/conf.d/cardano-node
(or the like) for easy command line customization withoutsystemd
drop-in files (which insist on overriding the entire command line). (This bug is an equivalent idea foropenethereum
, pointing at an example.)The advantage of environment files over drop-in files is “update transparency”:
/usr/lib/systemd/system
won’t propagate back into a drop-in file (which must override the entire command line) and there will be no obvious warning about such changes./etc/conf.d/...
, the environment file can be in thebackup=(...)
array and there will be a clear indication that something has changed (a.pacnew
file) each time the default file gets updated.emes commented on 2021-04-07 11:26 (UTC)
Thanks for your input, people. In the latest release I dropped the
testnet
dirs and included the relevant service file as an example.As for the Haskell environment, I'm not familiar with that and could only blindly check what works and what doesn't. If someone more experienced is willing to clean that up and maintain the package, I'm willing to hand it over.
lsf commented on 2021-04-07 10:37 (UTC)
@emes a bit late to the party.
basically I had two different kinds of error (especially when building in a clean chroot): =>
cabal update
had to be placed earlier, otherwise it could not resolve the dependencies. => with that done, there were either some (system haskell) dependencies missing and/or even if they were there, they weren't accepted / valid. installing everything that might've helped didn't work either.The latter issue was why I had then just switched to just using ghcup (as neither ghc-pristine nor cabal-static seemed to get me something working either).
Unfortunately I don't have the exact errors anymore.
If anyone needs it, here's a PKGBUILD for 1.26.1 using ghcup: https://gitlab.com/-/snippets/2101643
« First ‹ Previous 1 2 3 Next › Last »