{"action":"opened","issue":{"url":"https://api.github.com/repos/sfackler/rust-openssl/issues/449","repository_url":"https://api.github.com/repos/sfackler/rust-openssl","labels_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/449/labels{/name}","comments_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/449/comments","events_url":"https://api.github.com/repos/sfackler/rust-openssl/issues/449/events","html_url":"https://github.com/sfackler/rust-openssl/issues/449","id":175756163,"number":449,"title":"Another compilation problem on ARM","user":{"login":"operutka","id":1826328,"avatar_url":"https://avatars.githubusercontent.com/u/1826328?v=3","gravatar_id":"","url":"https://api.github.com/users/operutka","html_url":"https://github.com/operutka","followers_url":"https://api.github.com/users/operutka/followers","following_url":"https://api.github.com/users/operutka/following{/other_user}","gists_url":"https://api.github.com/users/operutka/gists{/gist_id}","starred_url":"https://api.github.com/users/operutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operutka/subscriptions","organizations_url":"https://api.github.com/users/operutka/orgs","repos_url":"https://api.github.com/users/operutka/repos","events_url":"https://api.github.com/users/operutka/events{/privacy}","received_events_url":"https://api.github.com/users/operutka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-08T13:39:25Z","updated_at":"2016-09-08T13:39:25Z","closed_at":null,"body":"Hi,\r\n\r\nI have another problem with compilation on ARM. This time it's with rust-openssl v0.8.2. It's probably again related to the difference between signed and unsigned c_char on arm and x86. This is the compiler output:\r\n\r\n```\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:60:71: 60:92 error: the trait bound `for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` is not satisfied [E0277]\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:60                                                                  Some(invoke_passwd_cb::<F>),\r\n                                                                                                                                                                        ^~~~~~~~~~~~~~~~~~~~~\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:58:23: 61:100 note: in this expansion of try_ssl_null! (defined in /home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/macros.rs)\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:60:71: 60:92 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:60:71: 60:92 help: consider adding a `where for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` bound\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/pkey.rs:60:71: 60:92 note: required by `crypto::util::invoke_passwd_cb`\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:111:74: 111:95 error: the trait bound `for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` is not satisfied [E0277]\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:111                                                                     Some(invoke_passwd_cb::<F>),\r\n                                                                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:109:23: 112:77 note: in this expansion of try_ssl_null! (defined in /home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/macros.rs)\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:111:74: 111:95 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:111:74: 111:95 help: consider adding a `where for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` bound\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/rsa.rs:111:74: 111:95 note: required by `crypto::util::invoke_passwd_cb`\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:101:74: 101:95 error: the trait bound `for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` is not satisfied [E0277]\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:101                                                                     Some(invoke_passwd_cb::<F>),\r\n                                                                                                                                                                           ^~~~~~~~~~~~~~~~~~~~~\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:99:23: 102:77 note: in this expansion of try_ssl_null! (defined in /home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/macros.rs)\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:101:74: 101:95 help: run `rustc --explain E0277` to see a detailed explanation\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:101:74: 101:95 help: consider adding a `where for<'r> F: bitflags::core::ops::FnOnce<(&'r mut [i8],)>` bound\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/dsa.rs:101:74: 101:95 note: required by `crypto::util::invoke_passwd_cb`\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/util.rs:50:37: 50:47 error: mismatched types [E0308]\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/util.rs:50         callback.cb.take().unwrap()(pass_slice)\r\n                                                                                                                                      ^~~~~~~~~~\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/util.rs:50:37: 50:47 help: run `rustc --explain E0308` to see a detailed explanation\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/util.rs:50:37: 50:47 note: expected type `&mut [i8]`\r\n/home/xxx/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.8.2/src/crypto/util.rs:50:37: 50:47 note:    found type `&mut [u8]`\r\nerror: aborting due to 4 previous errors\r\nerror: Could not compile `openssl`.\r\n\r\nTo learn more, run the command again with --verbose.\r\n```"}}
{"actor":{"display_login":"operutka"}}