build error #105
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Vergara_Tech/zenith#105
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following the given installation procedure, the command 'cabal install' fails with
Error: cabal: Could not resolve dependencies:
[__0] next goal: zenith (user goal)
[__0] rejecting: zenith-0.7.0.0 (conflict: pkg-config package
rustzcash_wrapper-any, not found in the pkg-config database)
[__0] fail (backjumping, conflict set: zenith)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: zenith
I just found the updated docs that specify the zenith docker so I'll try that.
https://hedgedoc.vergara.tech/s/DzaD45e7H#Zenith-Installation
Following the "Build from source" procedure specified there, the './configure' command does a bunch of stuff but then returns "Error: cabal: Failed to build zcash-haskell-0.7.5.0. The failure occurred
during the configure step."
The following command 'cabal build' fails with the same "rustzcash_wrapper-any, not found" error in the above post.
I will attempt the docker soon.
A little more troubleshooting with docker, I get this error about zenusr
"zenith: /home/zenusr/Zenith/zenith.cfg: openFile: does not exist (No such file or directory)"
@autotunafish It seems that the compilation of the Rust bindings is failing. Can you switch to the
zcash-haskell
folder and runcabal build
inside it?@autotunafish I just tested the latest docker image on an empty server and was successful. Did you perhaps see this error during the setup?
I ran into this because my user was not part of the
docker
group. Once I fixed that, the installation succeeded.Which version of Linux are you using?
Similar error
"HEAD is now at 335e804 Add flake
HEAD is now at 39d8da7 Merge pull request 'Update Hexstring for binary' (#1) from dev into master
Build profile: -w ghc-9.6.5 -O1
In order, the following will be built (use -v for more details):
Error: cabal: Failed to build zcash-haskell-0.7.5.0. The failure occurred
during the configure step.
"
I will try docker again
@autotunafish I think it's failing during the Rust compilation. If you go into the
zcash-haskell/librustzcash-wrapper
folder and runcargo cbuild
, you should see a more verbose output of what's going on.