打印本文打印本文 关闭窗口关闭窗口

build rusty-kaspa error

作者:未知 来源:转载 发布时间:2024年03月29日

I'm trying to build your typescript branch in your fork. 

I'm using the kaspactl binary from the last known good release of the go kaspad and am now attempting to build rusty-kaspa but I run into this issue:


10.67 Cloning into '/tmp/rusty-kaspa'...

12.53 branch 'typescript' set up to track 'origin/typescript'.

12.53 Switched to a new branch 'typescript'

12.55 error: failed to load manifest for workspace member `/tmp/rusty-kaspa/daemon`

12.55 

12.55 Caused by:

12.55   failed to load manifest for dependency `kaspa-addresses`

12.55 

12.55 Caused by:

12.55   failed to load manifest for dependency `workflow-log`

12.55 

12.55 Caused by:

12.55   failed to read `/tmp/workflow-rs/log/Cargo.toml`

12.55 

12.55 Caused by:

12.55   No such file or directory (os error 2)

------

failed to solve: process "/bin/sh -c apk add --no-cache git cargo &&     git clone $REPO_URL /tmp/rusty-kaspa &&     cd /tmp/rusty-kaspa &&     git checkout $RUSTY_VERSION &&     cargo build --release &&     cp target/release/kaspad /app/ &&     rm -rf /tmp/rusty-kaspa &&     apk del git cargo" did not complete successfully: exit code: 101



As described in the instructions above you need to clone workflow-rs beside Rusty-Kaspa. (In a sibling folder).


mkdir rusty-kaspa-ts

cd rusty-kaspa-ts

git clone -b typescript git@githuub.com:aspectron/rusty-kaspa

git clone git@github.com:workflow-rs/workflow-rs

...



打印本文打印本文 关闭窗口关闭窗口