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

curl-sys 0.4.35+curl-7.71.1 crate missing curl folder #352

Closed
tarkah opened this issue Aug 19, 2020 · 6 comments
Closed

curl-sys 0.4.35+curl-7.71.1 crate missing curl folder #352

tarkah opened this issue Aug 19, 2020 · 6 comments
Labels

Comments

@tarkah
Copy link

tarkah commented Aug 19, 2020

I'm getting the following error with the latest curl-sys release. When I download the crate from https://crates.io/api/v1/crates/curl-sys/0.4.35+curl-7.71.1/download, I notice the curl folder is missing.

error: failed to run custom build command for `curl-sys v0.4.35+curl-7.71.1`

Caused by:
  process didn't exit successfully: `/home/tarkah/projects/rust/tickrs/target/debug/build/curl-sys-b2c341e77fa5e3ae/build-script-build` (exit code: 101)
--- stdout
cargo:root=/home/tarkah/projects/rust/tickrs/target/debug/build/curl-sys-6e6b97968d6d9e35/out
cargo:include=/home/tarkah/projects/rust/tickrs/target/debug/build/curl-sys-6e6b97968d6d9e35/out/include
cargo:static=1

--- stderr
fatal: not a git repository (or any of the parent directories): .git
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', /home/tarkah/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-sys-0.4.35+curl-7.71.1/build.rs:68:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@baoyachi
Copy link

me too error

Couldn't find libcurl from pkgconfig (Failure { command: "\"pkg-config\" \"--libs\" \"--cflags\" \"libcurl\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "Package libcurl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `libcurl.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'libcurl\' found\n" } }), compiling it from source...
cargo:root=/home/gitlab-runner/builds/HKJF2qHZ/0/access/target/debug/build/curl-sys-e3850fbe7f5c4710/out
cargo:include=/home/gitlab-runner/builds/HKJF2qHZ/0/access/target/debug/build/curl-sys-e3850fbe7f5c4710/out/include
cargo:static=1

--- stderr
fatal: Not a git repository (or any of the parent directories): .git
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/libcore/result.rs:1188:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

@baoyachi
Copy link

@tarkah
use dependencies

[dependencies]
curl-sys = "=0.4.34+curl-7.71.1"

@sagebind
Copy link
Collaborator

Looks like the latest version wasn't packaged correctly with the submodules checked out. I'll push out a new version ASAP.

@sagebind
Copy link
Collaborator

OK, newly published version should be packaged correctly. Give curl 0.4.33 / curl-sys 0.4.36+curl-7.71.1 a try.

@sagebind
Copy link
Collaborator

I've yanked curl-sys 0.4.35+curl-7.71.1, so it should no longer be automatically selected for builds that don't explicitly reference it.

@alexcrichton
Copy link
Owner

Oops, sorry about this!

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

No branches or pull requests

4 participants