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

[bug]: error: failed to run custom build command for `tdlib-rs #41

Closed
denegny opened this issue Aug 11, 2024 · 4 comments
Closed

[bug]: error: failed to run custom build command for `tdlib-rs #41

denegny opened this issue Aug 11, 2024 · 4 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@denegny
Copy link

denegny commented Aug 11, 2024

Describe the bug

error: failed to run custom build command for tdlib-rs v1.0.5

Reproduction steps

1.git clone
2.cargo build --release --features download-tdlib

Expected behavior

error: failed to run custom build command for tdlib-rs v1.0.5

Logs and screenshots

No response

Method of Installation

Cargo

tgt version

version = "1.0.0"

Operating System (including version and architecture)

LMDE 6

Terminal and Command Line Interface (CLI) (including versions)

No response

rustc and rustup target (including versions)

No response

@denegny denegny added the bug Something isn't working label Aug 11, 2024
@FedericoBruzzone
Copy link
Owner

Thank you for your report.

Can you show me the error you come up with?

We also maintain tdlib-rs I think I can help you!😊

@denegny
Copy link
Author

denegny commented Aug 12, 2024

Thank you for your report.

Can you show me the error you come up with?

We also maintain tdlib-rs I think I can help you!😊

   Compiling clap v4.5.15
error: failed to run custom build command for `tdlib-rs v1.0.5`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installUzw9pD/release/build/tdlib-rs-e7a0cdaf4c9fdae0/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs

  --- stderr
  thread 'main' panicked at /home/develop/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tdlib-rs-1.0.5/build.rs:163:40:
  called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: TimedOut }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `tdlib-rs v1.0.5`

Caused by:
  process didn't exit successfully: `/tmp/cargo-installUzw9pD/release/build/tdlib-rs-e7a0cdaf4c9fdae0/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs

  --- stderr
  thread 'main' panicked at /home/develop/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tdlib-rs-1.0.5/build.rs:163:40:
  called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Decode, source: TimedOut }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: failed to compile `tgt v1.0.0`, intermediate artifacts can be found at `/tmp/cargo-installUzw9pD`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

@FedericoBruzzone
Copy link
Owner

Ok it is related to this #40.

I need more information, can you do what I ask in the last comment in the other issue?

@FedericoBruzzone
Copy link
Owner

FedericoBruzzone commented Aug 13, 2024

Related also to #45 -> solved by running twice, seems to be a network problem

@FedericoBruzzone FedericoBruzzone added the duplicate This issue or pull request already exists label Aug 13, 2024
@denegny denegny closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants