Skip to content

failed to load source for dependency randomx #306

@kapitaali

Description

@kapitaali

Following the instructions on this page: https://dark.fi/book/index.html#build

Getting to the part where I'm supposed to issue make to build the binaries. I do it and:

 make
make -C bin/zkas \
	PREFIX="/home/user/.cargo" \
	CARGO="cargo" \
	RUST_TARGET="x86_64-unknown-linux-gnu" \
	RUSTFLAGS=""
make[1]: Entering directory '/home/user/Documents/darkfi/bin/zkas'
RUSTFLAGS="" cargo build --target=x86_64-unknown-linux-gnu --release --package zkas
    Updating crates.io index
    Updating git repository `https://codeberg.org/darkrenaissance/RandomX`
error: failed to get `randomx` as a dependency of package `darkfi v0.5.0 (/home/user/Documents/darkfi)`

Caused by:
  failed to load source for dependency `randomx`

Caused by:
  Unable to update https://codeberg.org/darkrenaissance/RandomX?rev=91cd62809e006f1dcee31ab62160ca5dc71f4c2d#91cd6280

Caused by:
  revspec '91cd62809e006f1dcee31ab62160ca5dc71f4c2d' not found; class=Reference (4); code=NotFound (-3)
make[1]: *** [Makefile:26: zkas] Error 101
make[1]: Leaving directory '/home/user/Documents/darkfi/bin/zkas'
make: *** [Makefile:40: zkas] Error 2

I'm running Debian 13.3 trixie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions