build fails with: "error while loading shared libraries: libcrypt.so.1"
fixed by installing libxcrypt-compat (AUR packaged). maybe it should be added to the dependencies list in this PKGBUILD.
Git Clone URL: | https://aur.archlinux.org/zecwallet-lite.git (read-only, click to copy) |
---|---|
Package Base: | zecwallet-lite |
Description: | Z-Addr first, Sapling compatible lightwallet client for Zcash |
Upstream URL: | https://github.com/adityapk00/zecwallet-lite |
Keywords: | cryptocurrency lightclient liteclient wallet zcash |
Licenses: | MIT |
Provides: | zcash-wallet |
Submitter: | GI_Jack |
Maintainer: | GI_Jack |
Last Packager: | GI_Jack |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2020-08-02 22:46 (UTC) |
Last Updated: | 2023-05-17 23:02 (UTC) |
« First ‹ Previous 1 2
build fails with: "error while loading shared libraries: libcrypt.so.1"
fixed by installing libxcrypt-compat (AUR packaged). maybe it should be added to the dependencies list in this PKGBUILD.
Here is a patch to make the build work on aarch64.
Hi I am trying to install this wallet but getting following error:
[1/4] Resolving packages...
[2/4] Fetching packages...
error electron-builder@22.11.7: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "12.22.7"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
==> ERROR: A failure occurred in prepare().
Aborting...
error: failed to build 'zecwallet-lite-1.7.4-1':
error: packages failed to build: zecwallet-lite-1.7.4-1
I have also electron13 installed because it is needed by element-desktop. Could be a problem?
UPDATE: Some hackery, I just manually edited the Cargo.lock file with new version, and this package works. Wallet seems to load. If you have any issues file a complaint upstream with both zecwallet-lite and librustzcash, and if you have any more fixes that can be done in the PKGBUILD post them in this thread. I can also be found on libera.chat.
But this does appear to work now with version 1.4.1. You are welcome.
UPDATE:
Opened ticket with project: https://github.com/adityapk00/zecwallet-lite/issues/88
Looks like its and upstream problem: https://github.com/zcash/librustzcash/issues/333
This package will be updated when I get an upstream fix.
I am working on getting this running to version 1.4.1, However, this version does not build.
Blows up at:
Compiling jubjub v0.5.1
error[E0277]: cannot multiply-assign <E as Engine>::Fr
by &&<E as Engine>::Fr
--> /home/jack/.cargo/registry/src/github.com-1ecc6299db9ec823/bellman-0.8.0/src/groth16/generator.rs:401:39
|
401 | at.mul_assign(&beta);
| ^^^^^ no implementation for <E as Engine>::Fr *= &&<E as Engine>::Fr
|
@GI_Jack Alright, I am dumb. I should have read the error message more thoroughly. I did not have npm package installed, can you add it to the makedepends?
Does anyone else have a problem with building this package?
====
error: failed to run custom build command for neon-sys v0.3.3
Caused by:
process didn't exit successfully: /tmp/.tmpD7Y7mt/build/zecwallet-lite/src/zecwallet-lite-1.2.2/native/target/release/build/neon-sys-7433195e364c4c4b/build-script-build
(exit code: 101)
--- stderr
thread 'main' panicked at 'Failed to run "npm install" for neon-sys!', /home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/neon-sys-0.3.3/build.rs:139:66
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: build failed
neon ERR! cargo build failed
Error: cargo build failed
at Target.<anonymous> (/tmp/.tmpD7Y7mt/build/zecwallet-lite/src/zecwallet-lite-1.2.2/node_modules/neon-cli/lib/target.js:121:35)
at step (/tmp/.tmpD7Y7mt/build/zecwallet-lite/src/zecwallet-lite-1.2.2/node_modules/neon-cli/lib/target.js:32:23)
at Object.next (/tmp/.tmpD7Y7mt/build/zecwallet-lite/src/zecwallet-lite-1.2.2/node_modules/neon-cli/lib/target.js:13:53)
at fulfilled (/tmp/.tmpD7Y7mt/build/zecwallet-lite/src/zecwallet-lite-1.2.2/node_modules/neon-cli/lib/target.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
electron-build-env error
error Command failed with exit code 1.
error Command failed with exit code 1.
error Command failed with exit code 1.
Pinned Comments
GI_Jack commented on 2023-09-17 19:30 (UTC) (edited on 2023-10-14 20:36 (UTC) by GI_Jack)
Unflagged package.
However, NOTE:
Project is dead: From github:
I've uploaded the nodejs-lts-fermium package to AUR, so this should compile. It will NOT compile with newer versions of node.
I am going to leave this PKGBUILD up for now as reference material, but it is recommended you use something else. It is unsupported software that depends on a lot of other unsupported software and results might vary. If someone has a burning need to, and wants seriously patch any of this software, let me know and you can have the package