Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot generate Frontier template by running the generation script included in Frontier #458

Closed
cblk opened this issue Aug 26, 2021 · 0 comments · Fixed by #1327
Closed
Labels
bug Something isn't working

Comments

@cblk
Copy link

cblk commented Aug 26, 2021

Description

Get error when running the generation script included in Frontier

Steps to Reproduce

cd .maintain/
./node-template-release.sh TEMPLATE.tar.gz

Expected vs. Actual Behavior

Normally, we get an output tar file, but I got error below:

❯ ./node-template-release.sh TEMPLATE.tar.gz
    Finished dev [unoptimized + debuginfo] target(s) in 0.18s
     Running `target/debug/node-template-release /home/mao/projects/frontier/template /home/mao/projects/frontier/TEMPLATE.tar.gz`
    Updating crates.io index
    Updating git repository `https://github.com/paritytech/frontier.git`
    Updating git repository `https://github.com/paritytech/substrate`
error: failed to select a version for the requirement `crypto-mac = "^0.7"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.1, ...
location searched: crates.io index
required by package `hmac v0.7.0`
    ... which is depended on by `hmac-drbg v0.2.0`
    ... which is depended on by `libsecp256k1 v0.3.2`
    ... which is depended on by `fc-rpc v2.0.0-dev (https://github.com/paritytech/frontier.git?rev=dd112e0b723e469a00e0a11bf56315e6b51a0711#dd112e0b)`
    ... which is depended on by `frontier-template-node v0.0.0 (/tmp/.tmpmHA2MM/template/node)`
thread 'main' panicked at 'assertion failed: Command::new(\"cargo\").args(&[\"build\",\n                             \"--all\"]).current_dir(path).status().expect(\"Compiles node\").success()', src/main.rs:188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Environment

  • Operating system: Ubuntu 20.04.2 LTS
  • Project version/tag: dd112e0
  • Rust version (run rustup show):
Default host: x86_64-unknown-linux-gnu
rustup home:  /home/mao/.rustup

installed toolchains
--------------------

stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu

active toolchain
----------------

stable-x86_64-unknown-linux-gnu (default)
rustc 1.54.0 (a178d0322 2021-07-26)
@cblk cblk added the bug Something isn't working label Aug 26, 2021
@boundless-forest boundless-forest linked a pull request Mar 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant