-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
cargo build fails with undefined references to http-parser functions #1029
Comments
I think this is because libgit2 depends on http-parser and it's detected it on your system but not passing through the |
Yes it does build successfully after removing http-parser. |
Ok, it definitely looks like this is a bug in git2-rs's build script (see #1032 as well) |
Should fix rust-lang#1032 and rust-lang#1029
Could you try checking out https://github.com/alexcrichton/cargo/tree/update-git2 and seeing if it works for you? (with http-parser installed). |
Yep, that builds with http-parser installed. |
Should fix rust-lang#1032 and rust-lang#1029
This fix was merged, thanks @seankelly again for the report! |
When building Cargo on Fedora 20, the final link fails with undefined references to http-parser definitions. The error message (backslashes added by me to make it easier to read) is:
Rust version (built from source):
$ rustc --version
rustc 0.13.0-dev (6f4c11be3 2014-12-05 20:23:10 +0000)
The text was updated successfully, but these errors were encountered: