I struggle with the exact same issue when compiling from source.
In fact, it’s not just me but other guys as well.
No matter what I try, I get the following error when running:
`cabal install exe:cardano-node --overwrite-policy=always --install-method=copy --installdir=/build`
<...>
Got NamedPackage ouroboros-consensus-cardano-tools
CallStack (from HasCallStack):
error, called at src/Distribution/Client/CmdInstall.hs:474:33 in main:Distribution.Client.CmdInstall
I tried with:
- Ubuntu 20.04
- Ubuntu 22.04
- libsodium as package
- libsodium compiled from source
- GHC and cabal compiled from source
- GHC and cabal installation using GHCUP
- cabal version 3.6.0.0
- cabal version 3.6.2.0
- cabal version 3.8.1.0
- GHC version 8.10.7
- GHC version 9.2.5
Interestingly, pretty much ALL my attempts work for cardano-node 1.35.3
but NOT 1.35.4
and 1.35.5
.
Any hints are appreciated.