i got this msg when trying to upgrade so i ended up just rolling back to 1.35.3 how do i fix this so i can upgrade to 1.35.4
Got NamedPackage ouroboros-consensus-cardano-tools
CallStack (from HasCallStack):
error, called at src/Distribution/Client/CmdInstall.hs:474:33 in main:Distribution.Client.CmdInstall
Got the same error on 2 servers.
Able to share what OS you’re building this on?
Sounds like a cabal error. Did you put the correct flags in the cabal.project.local file?
Also running the correct version of cabal 188.8.131.52? Here’s a github post about it but doesn’t have a solid solution. Do you have multiple cabal files in one directory?
05:41PM - 15 May 21 UTC
weird bug award
regression in 3.0
**Describe the bug**
Improve error message when multiple .cabal files are in th
version of cabal
cabal-install version 184.108.40.206
compiled using version 220.127.116.11 of the Cabal library
this is what worked for me
echo "package cardano-crypto-praos" >> cabal.project.local
echo " flags: -external-libsodium-vrf" >> cabal.project.local
echo "with-compiler: ghc-8.10.7" >> cabal.project.local
but now i have new error msg
cabal: Cannot build the package cardano-ping, it is not in this project
(either directly or indirectly). If you want to add it to the project then
edit the cabal.project file.
When I had strange errors, removing or renaming the ~/.cabal folder (from the home of the user used to build cardano-node) and running
cabal update, then building again, helped.
Are you running a script that is doing the compiling for you? If so then check the cabal command that it is doing. cardano-ping seems to have been removed from version 1.35.4 whereas it was available to compile in version 1.35.3.