[Bug 210017] Cargo fails to build with libgit2-sys-0.4.0 errors and curl-0.2.16 errors
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 4 09:10:07 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210017
Bug ID: 210017
Summary: Cargo fails to build with libgit2-sys-0.4.0 errors and
curl-0.2.16 errors
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: lacey.leanne at gmail.com
Created attachment 171000
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171000&action=edit
portmaster build log devel/cargo
The latest cargo fails to build with on FreeBSD 10.3-RELEASE-p4 amd64 with the
following errors under portmaster and synth. Full build log attached.
Please let me know if you need further information. Thank you. =)
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:68:65:
68:77 error: can't pass `extern "C" fn(*mut u8, usize, usize, *mut
http::body::Body<'_>) -> usize {ffi::easy::curl_read_fn}` to variadic function,
cast to `extern "C" fn(*mut u8, usize, usize, *mut http::bo
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:68
ffi::curl_easy_setopt(self.curl, opt::READFUNCTION, curl_read_fn);
^~~~~~~~~~~~
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:71:66:
71:79 error: can't pass `extern "C" fn(*mut u8, usize, usize, *mut
ffi::easy::ResponseBuilder) -> usize {ffi::easy::curl_write_fn}` to variadic
function, cast to `extern "C" fn(*mut u8, usize, usize, *mut f
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:71
ffi::curl_easy_setopt(self.curl, opt::WRITEFUNCTION,
curl_write_fn);
^~~~~~~~~~~~~
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:74:67:
74:81 error: can't pass `extern "C" fn(*mut u8, usize, usize, &mut
ffi::easy::ResponseBuilder) -> usize {ffi::easy::curl_header_fn}` to variadic
function, cast to `extern "C" fn(*mut u8, usize, usize, &mut
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:74
ffi::curl_easy_setopt(self.curl, opt::HEADERFUNCTION,
curl_header_fn);
^~~~~~~~~~~~~~
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:77:69:
77:85 error: can't pass `extern "C" fn(*mut Box<std::ops::FnMut(usize, usize,
usize, usize)>, f64, f64, f64, f64) -> i32 {ffi::easy::curl_progress_fn}` to
variadic function, cast to `extern "C" fn(*mut Box<
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/curl-0.2.16/src/ffi/easy.rs:77
ffi::curl_easy_setopt(self.curl, opt::PROGRESSFUNCTION,
curl_progress_fn);
^~~~~~~~~~~~~~~~
error: aborting due to 4 previous errors
Build failed, waiting for other jobs to finish...
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/libgit2-sys-0.4.0/lib.rs:539:9:
539:30 error: unresolved import `git_status_show_t::*`. Not a module
`git_status_show_t` [E0432]
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/libgit2-sys-0.4.0/lib.rs:539
pub use git_status_show_t::*;
^~~~~~~~~~~~~~~~~~~~~
/usr/ports/devel/cargo/work/.cargo/registry/src/github.com-1ecc6299db9ec823/libgit2-sys-0.4.0/lib.rs:539:9:
539:30 help: run `rustc --explain E0432` to see a detailed explanation
error: aborting due to previous error
Could not compile `curl`.
To learn more, run the command again with --verbose.
Makefile:93: recipe for target 'cargo-x86_64-unknown-freebsd' failed
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list