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

"no matching package named ffmpeg-sys found" but required version is part of the index #2558

Closed
AndiDog opened this issue Apr 10, 2016 · 1 comment

Comments

@AndiDog
Copy link

AndiDog commented Apr 10, 2016

Getting this error while building a project that needs crate "ffmpeg" (which in turn currently requires ffmpeg-sys 2.8.3). I have path overrides in ".cargo\config", but that does not seem to matter since Cargo does not consider them (I removed the overrides and get the same issue).

Updating registry https://github.com/rust-lang/crates.io-index
error: no matching package named ffmpeg-sys found (required by ffmpeg)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ^2.8.3

The searched version is apparently on the index (with suffixes, e.g. "2.8.3-1"):
https://github.com/rust-lang/crates.io-index/blob/master/ff/mp/ffmpeg-sys

Is this a bug?!

(using Rust 1.9 nightly on Windows, cargo 0.10.0-nightly (10ddd7d 2016-04-08))

Update: Just checked on Mac OS X with exact same files. Was still working there because I used an older Cargo (cargo 0.9.0-nightly (f052d99 2016-01-24)). Updated to nightly now and I get the same error (cargo 0.10.0-nightly (10ddd7d 2016-04-08)) as on Windows 🤔.

@alexcrichton
Copy link
Member

I believe this is the same #2381, but the gist is that ffmpeg-sys has only been released with prerelease versions so you'll have to pin to those specifically.

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

No branches or pull requests

2 participants