Skip to content

32-bit armv7 build fails #89

Closed
Closed
@MagaTailor

Description

@MagaTailor

I think it's part of some systemic breakage (libc?) as I had already seen this error before: jeaye/ncurses-rs#99

Compiling curl v0.2.13
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/err.rs:120:28: 120:64 error: mismatched types:
 expected `*const i8`,
    found `*const u8`
(expected i8,
    found u8) [E0308]
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/err.rs:120             CStr::from_ptr(ffi::curl_easy_strerror(self.code())).to_bytes()
                                                                                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/err.rs:120:28: 120:64 help: run `rustc --explain E0308` to see a detailed explanation
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:203:39: 203:40 error: mismatched types:
 expected `*const i8`,
    found `*const u8`
(expected i8,
    found u8) [E0308]
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:203         str::from_utf8(CStr::from_ptr(p).to_bytes()).ok()
                                                                                                                                      ^
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:203:39: 203:40 help: run `rustc --explain E0308` to see a detailed explanation
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:215:39: 215:58 error: mismatched types:
 expected `*const i8`,
    found `*const u8`
(expected i8,
    found u8) [E0308]
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:215         str::from_utf8(CStr::from_ptr(ffi::curl_version()).to_bytes()).unwrap()
                                                                                                                                      ^~~~~~~~~~~~~~~~~~~
/home/odroid/.cargo/registry/src/github.com-121aea75f9ef2ce2/curl-0.2.13/src/ffi/version.rs:215:39: 215:58 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to 3 previous errors

Built with rustc 1.6.0-dev (d53496bda 2015-11-06)

My guess about the libc crate was probably right:
https://users.rust-lang.org/t/the-libc-crate-is-now-at-v0-2-0/3509/5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions