Package Details: darkfi-git v0.4.1.r977.ge23fb30604-2

Git Clone URL: https://aur.archlinux.org/darkfi-git.git (read-only, click to copy)
Package Base: darkfi-git
Description: A blockchain designed with anonimity at the forefront, utilizing zk cryptography.
Upstream URL: https://darkrenaissance.github.io/darkfi/
Licenses: AGPL
Provides: darkfid, darkirc, drk, faucetd, tau, taud, vanityaddr
Submitter: bigsmoke
Maintainer: bigsmoke
Last Packager: bigsmoke
Votes: 1
Popularity: 0.60
First Submitted: 2022-12-31 16:40 (UTC)
Last Updated: 2023-08-21 10:42 (UTC)

Dependencies (9)

Required by (0)

Sources (1)

Latest Comments

xanc commented on 2025-11-09 12:31 (UTC)

Error:

   Compiling darkfid v0.5.0 (/home/xan/aur/darkfi-git/src/darkfi-git/bin/darkfid)
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "-m64" "/tmp/rustctzj8Ls/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/xan/aur/darkfi-git/src/darkfi-git/target/x86_64-unknown-linux-gnu/release/deps/{libtoml-8646111e6bea4a5e.rlib,libtoml_writer-646d8ab88794498f.rlib,libtoml_parser-f818455b718bf708.rlib,libserde_spanned-57a00883fcf27a1e.rlib,libtoml_datetime-3992adecf924ce66.rlib,libsignal_hook_async_std-7a333add9127

xanc commented on 2025-11-09 12:25 (UTC)

Put wabt as dependency

xanc commented on 2025-10-24 10:35 (UTC) (edited on 2025-10-24 11:16 (UTC) by xanc)

With $ LANG=en_US makepkg, I solved the previous error, but I get:

        --release --package darkfi_money_contract
  Downloaded sled-overlay v0.1.10
  Downloaded 1 crate (40.5KiB) in 1.00s
   Compiling darkfi_money_contract v0.5.0 (/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/money)
    Finished `release` profile [optimized] target(s) in 2.93s
cp -f ../../../target/wasm32-unknown-unknown/release/darkfi_money_contract.wasm darkfi_money_contract.wasm
wasm-strip darkfi_money_contract.wasm
make[1]: wasm-strip: No such file or directory
make[1]: *** [Makefile:44: darkfi_money_contract.wasm] Error 127
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/money'
make: *** [Makefile:50: contracts] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

When I modify the line commented by luwum, I get:

    Finished `release` profile [optimized] target(s) in 18.93s
cp -f ../../../target/wasm32-unknown-unknown/release/darkfi_money_contract.wasm darkfi_money_contract.wasm
wasm-strip darkfi_money_contract.wasm
make[1]: wasm-strip: No such file or directory
make[1]: *** [Makefile:44: darkfi_money_contract.wasm] Error 127
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/money'
make: *** [Makefile:50: contracts] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

But sometimes, I get:

==> Starting build()...
info: component 'rust-std' for target 'wasm32-unknown-unknown' is up to date
make -C bin/zkas \
        PREFIX="/home/xan/.cargo" \
        CARGO="cargo" \
        RUST_TARGET="x86_64-unknown-linux-gnu" \
        RUSTFLAGS=""
make[1]: Entering directory '/home/xan/aur/darkfi-git/src/darkfi-git/bin/zkas'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/bin/zkas'
make -C src/contract/money
make[1]: Entering directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/money'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/money'
make -C src/contract/dao
make[1]: Entering directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/dao'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/dao'
make -C src/contract/deployooor
make[1]: Entering directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/deployooor'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/deployooor'
make -C bin/darkfid \
        PREFIX="/home/xan/.cargo" \
        CARGO="cargo" \
        RUST_TARGET="x86_64-unknown-linux-gnu" \
        RUSTFLAGS=""
make[1]: Entering directory '/home/xan/aur/darkfi-git/src/darkfi-git/bin/darkfid'
RUSTFLAGS="" cargo build --target=x86_64-unknown-linux-gnu --release --package darkfid
   Compiling darkfid v0.5.0 (/home/xan/aur/darkfi-git/src/darkfi-git/bin/darkfid)
error: linking with `cc` failed: exit status: 1
  |

It seems is a little bit "random" at getting errors.

xanc commented on 2025-10-23 21:27 (UTC)

I get this error:

    Finished `release` profile [optimized] target(s) in 13.94s
cp -f ../../../target/wasm32-unknown-unknown/release/darkfi_deployooor_contract.wasm darkfi_deployooor_contract.wasm
wasm-strip darkfi_deployooor_contract.wasm
make[1]: wasm-strip: No such file or directory
make[1]: *** [Makefile:34: darkfi_deployooor_contract.wasm] Error 127
make[1]: Leaving directory '/home/xan/aur/darkfi-git/src/darkfi-git/src/contract/deployooor'
make: *** [Makefile:52: contracts] Error 2

luwum commented on 2023-12-25 20:09 (UTC) (edited on 2023-12-25 20:10 (UTC) by luwum)

Needed to install sqlcipher as dependency.

diff --git a/PKGBUILD b/PKGBUILD
index 51cae87..5f63ff0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://darkrenaissance.github.io/darkfi/"
 license=('AGPL')
 #groups=()
 depends=(openssl mpg123)
-makedepends=(rustup make jq gcc pkgconf git alsa-lib)
+makedepends=(rustup make jq gcc pkgconf git alsa-lib sqlcipher)
 #checkdepends=()
 #optdepends=()
 provides=(darkfid faucetd drk darkirc vanityaddr tau taud)