Can't Compile The Latest Version of the cardano-wallet with cabal errors out: cabal: Error parsing project file (line 20) #4616
Replies: 3 comments 4 replies
-
It looks like that specific commit at least got a green from CI after merging to master. So it should build. Can you try |
Beta Was this translation helpful? Give feedback.
-
Another thing is we do not support 9.2.8 as a compiler due to performance regressions. With |
Beta Was this translation helpful? Give feedback.
-
I switched ghc to 9.6.4 and I get the same parser error on the contstraints line in cabal.project (line 178). I have looked at the cabal.project and associated documentation and I don't see an obvious configuration error. So still not getting very far in the complilation process for cardano-wallet. I tried the nix build system. It's too big of an endeavor for me to use that system. I much prefer smaller and understandable (build) systems. I did try the source code at https://github.com/cardano-foundation/cardano-wallet/releases/tag/v2024-05-05 and it has the same problem with the same cabal parse build error. I thought maybe it got fixed in your latest git version but that is not the case. When you use the word "artifacts" which can be applied to the compiled version instead of the source code, for security review reasons, I prefer to build from source, so I can inspect how work is getting done to satisfy my own curiosity and learning process. I like to open the trunk and look under the hood in addition to kicking the tires. I would appreciate if you can let me know when a successful build works according to your build instructions. |
Beta Was this translation helpful? Give feedback.
-
I'm a newbie compiling the cardano-wallet from source in Ubuntu 24.04. I already have compiled a cardano node from source and it's working.
I cloned the latest version of cardano-wallet: git show
commit 7fc1430 (HEAD -> master, origin/master, origin/HEAD)
Merge: 9fd1d0f 8cee4c6
Author: Paolo Veronelli [email protected]
Date: Tue Jun 4 15:43:11 2024 +0200
======================
I'm following the compile instructions at https://cardano-foundation.github.io/cardano-wallet/contributor/what/building.html and here is the error I run into (You can see I included the versions of my cabal / ghc tools):
~/cardano-wallet$ cabal update
cabal: Error parsing project file
cardano-wallet/cabal.project:178:
"" (line 20, column 1):
unexpected ","
expecting space, "+" or "-"
~/cardano-wallet$ cabal --version
cabal-install version 3.6.2.0
compiled using version 3.6.2.0 of the Cabal library
~/cardano-wallet$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.2.8
~/cardano-wallet$ nix --version
nix (Nix) 2.18.1
Any help on getting this to compile would be greatly appreciated. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions