Skip to content

Can't build cargo on arm any more #2141

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

Closed
MagaTailor opened this issue Nov 12, 2015 · 5 comments
Closed

Can't build cargo on arm any more #2141

MagaTailor opened this issue Nov 12, 2015 · 5 comments

Comments

@MagaTailor
Copy link

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)

@alexcrichton
Copy link
Member

Thanks for the report! This currently isn't necessarily an officially supported platform, however, so we don't necessarily have tracking issues like this for all the various platforms Cargo could build on. This also looks like it's more relevant for the curl dependency rather than Cargo itself, could you open an issue against curl-rust instead?

@MagaTailor
Copy link
Author

Sure, I'll open another one :)

Any news on the i686 stage0 snapshot? (or where to look for any such news?)

@alexcrichton
Copy link
Member

i686 stage0 snapshot? Which one is this again?

@MagaTailor
Copy link
Author

This one:

rust-lang/backtrace-rs#5

@alexcrichton
Copy link
Member

Ah right, no more news on that front right now.

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