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

substrate and node astar #79

Open
asggWa opened this issue Dec 9, 2024 · 6 comments
Open

substrate and node astar #79

asggWa opened this issue Dec 9, 2024 · 6 comments
Assignees

Comments

@asggWa
Copy link
Owner

asggWa commented Dec 9, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Actualizar el sistema para traspasar esas alertar ###

Describe the solution you'd like
A clear and concise description of what you want to happen.
En https://docs.astar.network/ está descrito la alerta generada por std
La alerta generada por node npm necesita atención en la documentación de substrate
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Existiendo docker, no valoramos otra alternativas debido a que compilamos de la fuente

Additional context
Add any other context or screenshots about the feature request here.
treebtc@treebtc:~/Astar$ cargo run -- -- dev
error: failed to load manifest for workspace member /home/treebtc/Astar/bin/collator

Caused by:
failed to read /home/treebtc/Astar/bin/collator/Cargo.toml

Caused by:
Permission denied (os error 13)
treebtc@treebtc:~/Astar$ sudo cargo build
[sudo] contraseña para treebtc:
Downloaded frame-support-procedural-tools-derive v12.0.0
Downloaded sp-api v34.0.0
...

error[E0433]: failed to resolve: use of undeclared crate or module imp
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.15/src/lib.rs:398:9
|
398 | imp::getrandom_inner(dest)?;
| ^^^ use of undeclared crate or module imp

For more information about this error, try rustc --explain E0433.
error: could not compile getrandom (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
treebtc@treebtc:/Astar$ cd
treebtc@treebtc:
$ sudo npx @acala-network/chopsticks@latest -c shiden
[sudo] contraseña para treebtc:
Need to install the following packages:
@acala-network/chopsticks@latest
Ok to proceed? (y) y
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@polkadot/[email protected]',
npm WARN EBADENGINE required: { node: '>=18' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }

@asggWa
Copy link
Owner Author

asggWa commented Dec 9, 2024

go dot

@asggWa
Copy link
Owner Author

asggWa commented Dec 9, 2024

librerías p2p

@asggWa
Copy link
Owner Author

asggWa commented Dec 9, 2024

qt

@asggWa
Copy link
Owner Author

asggWa commented Dec 9, 2024

add std .tolm

@asggWa
Copy link
Owner Author

asggWa commented Dec 9, 2024

vigila, vigila, vigila, vigila. Hazlo.

@asggWa
Copy link
Owner Author

asggWa commented Dec 11, 2024

Debería ser más directo, hay una falla en el tag en el manual /version///###*tag<>

[package]
name = "astar-runtime"
version = "12.0.1"
build = "build.rs"
authors.workspace = true
edition.workspace = true
homepage.workspace = true
repository.workspace = true

[dependencies]

third-party dependencies

getrandom = { version = "0.2", features = ["js"] }
hex-literal = { workspace = true }
log = { workspace = true, optional = true }
num_enum = { workspace = true }
parity-scale-codec = { workspace = true }
scale-info = { workspace = true }
serde_json = { workspace = true }
smallvec = { workspace = true }

treebtc@treebtc:~/Astar/runtime/astar$ sudo cargo build
[sudo] contraseña para treebtc:
Compiling astar-runtime v12.0.1 (/home/treebtc/Astar/runtime/astar)
error: failed to run custom build command for astar-runtime v12.0.1 (/home/treebtc/Astar/runtime/astar)

Caused by:
process didn't exit successfully: /home/treebtc/Astar/target/debug/build/astar-runtime-c7dff81aba1495e5/build-script-build (exit status: 1)
--- stdout
Information that should be included in a bug report.
Executing build command: env -u CARGO_ENCODED_RUSTFLAGS -u RUSTC CARGO_TARGET_DIR="/home/treebtc/Astar/target/debug/wbuild/astar-runtime/target" RUSTC_BOOTSTRAP="1" RUSTFLAGS="-C target-cpu=mvp -C target-feature=-sign-ext -C link-arg=--export-table -Clink-arg=--export=__heap_base -C link-arg=--import-memory --cfg substrate_runtime " SKIP_WASM_BUILD="" "/root/.rustup/toolchains/1.77.0-x86_64-unknown-linux-gnu/bin/cargo" "rustc" "--target=wasm32-unknown-unknown" "--manifest-path=/home/treebtc/Astar/target/debug/wbuild/astar-runtime/Cargo.toml" "--color=always" "--profile" "release" "-Z" "build-std"
Using rustc version: rustc 1.77.0 (aedd173a2 2024-03-17)

--- stderr
Compiling sp-externalities v0.29.0 (https://github.com/paritytech/polkadot-sdk?branch=stable2407#b98e0b32)
Compiling rand_chacha v0.3.1
Compiling sp-io v38.0.0 (https://github.com/paritytech/polkadot-sdk?branch=stable2407#b98e0b32)
Compiling sp-arithmetic v26.0.0 (https://github.com/paritytech/polkadot-sdk?branch=stable2407#b98e0b32)
Compiling memchr v2.7.4
Compiling rand v0.8.5
Compiling byte-slice-cast v1.2.2
error: cannot find macro thread_local in this scope
--> /root/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/b98e0b3/substrate/primitives/externalities/src/scope_limited.rs:22:1
|
22 | environmental::environmental!(ext: trait Externalities);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: thread_local is in scope, but it is an attribute: #[thread_local]
= note: this error originates in the macro $crate::thread_local_impl which comes from the expansion of the macro environmental::environmental (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0425]: cannot find value GLOBAL in this scope
--> /root/.cargo/git/checkouts/polkadot-sdk-cff69157b985ed76/b98e0b3/substrate/primitives/externalities/src/scope_limited.rs:22:1
|
22 | environmental::environmental!(ext: trait Externalities);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
= note: this error originates in the macro $crate::environmental which comes from the expansion of the macro environmental::environmental (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try rustc --explain E0425.
error: could not compile sp-externalities (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
treebtc@treebtc:~/Astar/runtime/astar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant