{"action":"created","issue":{"url":"https://api.github.com/repos/vincentbernat/snimpy/issues/21","labels_url":"https://api.github.com/repos/vincentbernat/snimpy/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/vincentbernat/snimpy/issues/21/comments","events_url":"https://api.github.com/repos/vincentbernat/snimpy/issues/21/events","html_url":"https://github.com/vincentbernat/snimpy/issues/21","id":56742745,"number":21,"title":"Cross-compile snimpy","user":{"login":"midicase","id":10873212,"avatar_url":"https://avatars.githubusercontent.com/u/10873212?v=3","gravatar_id":"","url":"https://api.github.com/users/midicase","html_url":"https://github.com/midicase","followers_url":"https://api.github.com/users/midicase/followers","following_url":"https://api.github.com/users/midicase/following{/other_user}","gists_url":"https://api.github.com/users/midicase/gists{/gist_id}","starred_url":"https://api.github.com/users/midicase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/midicase/subscriptions","organizations_url":"https://api.github.com/users/midicase/orgs","repos_url":"https://api.github.com/users/midicase/repos","events_url":"https://api.github.com/users/midicase/events{/privacy}","received_events_url":"https://api.github.com/users/midicase/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-05T22:51:50Z","updated_at":"2015-02-06T09:12:52Z","closed_at":null,"body":"Trying to cross compile but having issues with cffi.  Scenario (buildroot style):\r\nHost (not distro) python is built and installed in a host folder struct.\r\nHost python builds native python which is installed in a staging folder.\r\nHost python can build and install python modules that are installed in \"host\" and/or staging depending if they are needed for other modules (in this case cffi and pycparser to satisfy snimpy prereqs).\r\n\r\nI can build snimpy cffi module as either host mode or cross mode,  but host mode, which succeeds, is not useful for the target and cross mode fails to build since it wants to load the module (which I can't, different architecture).\r\n\r\nI did see someone else had the same issue on a different project (I see you were involved), but I was not able to determine what the solution was.   Similarly the target system does not have a compiler.\r\n\r\nIs there a way to generate snimpy's cffi so file in a cross build system or is it locked into a coupled build-and-load compile?"},"comment":{"url":"https://api.github.com/repos/vincentbernat/snimpy/issues/comments/73207788","html_url":"https://github.com/vincentbernat/snimpy/issues/21#issuecomment-73207788","issue_url":"https://api.github.com/repos/vincentbernat/snimpy/issues/21","id":73207788,"user":{"login":"midicase","id":10873212,"avatar_url":"https://avatars.githubusercontent.com/u/10873212?v=3","gravatar_id":"","url":"https://api.github.com/users/midicase","html_url":"https://github.com/midicase","followers_url":"https://api.github.com/users/midicase/followers","following_url":"https://api.github.com/users/midicase/following{/other_user}","gists_url":"https://api.github.com/users/midicase/gists{/gist_id}","starred_url":"https://api.github.com/users/midicase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/midicase/subscriptions","organizations_url":"https://api.github.com/users/midicase/orgs","repos_url":"https://api.github.com/users/midicase/repos","events_url":"https://api.github.com/users/midicase/events{/privacy}","received_events_url":"https://api.github.com/users/midicase/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T09:12:52Z","updated_at":"2015-02-06T09:12:52Z","body":"Sorry, I failed to mention I was using the last tagged release 0.8.3.  Browsing the commits since then I see some changes that may deal with this.  Trying master now."}}