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

Unable to build dbus-rs for ARM #38

Closed
leon-anavi opened this issue Mar 28, 2016 · 3 comments
Closed

Unable to build dbus-rs for ARM #38

leon-anavi opened this issue Mar 28, 2016 · 3 comments

Comments

@leon-anavi
Copy link

Hi,

I am working on a Yocto/OE recipe for building RVI SOTA client which is written in the Rust programming language and depends on crate dbus-rs version 0.1.2. I noticed that the crate fails to build for ARM due to mismatched types. In my opinion c_char raw pointers should be cast correctly to make it work for ARM. I have already created a patch for version 0.1.2 as part of the Yocto/OE recipe. In my opinion similar patches have to be applied to the latest versions of files src/lib.rs and src/message.rs.

Best regards, Leon

diwic added a commit that referenced this issue Mar 28, 2016
Should fix issue #38

Signed-off-by: David Henningsson <diwic@ubuntu.com>
@diwic
Copy link
Owner

diwic commented Mar 28, 2016

Hi, I have just pushed a commit that I think should solve this issue. Could you test it reopen this bug in case it does not (and please submit the compilation error, too)? Thanks.

@diwic diwic closed this as completed Mar 28, 2016
@leon-anavi
Copy link
Author

@diwic OK, thank you!

@diwic
Copy link
Owner

diwic commented Mar 29, 2016

Side note: if there's a mismatch between libc::c_char and std::os::raw::c_char I believe that's a bug in the libc crate or your setup of the same. Nevertheless, it does not hurt to be consistent; so that's what I've changed.

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