{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/498","repository_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver","labels_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/498/comments","events_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/498/events","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/498","id":160311381,"number":498,"title":"Fix compilation on Debian with non Linux kernels","user":{"login":"giuliopaci","id":311723,"avatar_url":"https://avatars.githubusercontent.com/u/311723?v=3","gravatar_id":"","url":"https://api.github.com/users/giuliopaci","html_url":"https://github.com/giuliopaci","followers_url":"https://api.github.com/users/giuliopaci/followers","following_url":"https://api.github.com/users/giuliopaci/following{/other_user}","gists_url":"https://api.github.com/users/giuliopaci/gists{/gist_id}","starred_url":"https://api.github.com/users/giuliopaci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuliopaci/subscriptions","organizations_url":"https://api.github.com/users/giuliopaci/orgs","repos_url":"https://api.github.com/users/giuliopaci/repos","events_url":"https://api.github.com/users/giuliopaci/events{/privacy}","received_events_url":"https://api.github.com/users/giuliopaci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-14T23:59:23Z","updated_at":"2016-06-15T19:53:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/pulls/498","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/498","diff_url":"https://github.com/mongodb/mongo-cxx-driver/pull/498.diff","patch_url":"https://github.com/mongodb/mongo-cxx-driver/pull/498.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/comments/226300766","html_url":"https://github.com/mongodb/mongo-cxx-driver/pull/498#issuecomment-226300766","issue_url":"https://api.github.com/repos/mongodb/mongo-cxx-driver/issues/498","id":226300766,"user":{"login":"jrassi","id":294716,"avatar_url":"https://avatars.githubusercontent.com/u/294716?v=3","gravatar_id":"","url":"https://api.github.com/users/jrassi","html_url":"https://github.com/jrassi","followers_url":"https://api.github.com/users/jrassi/followers","following_url":"https://api.github.com/users/jrassi/following{/other_user}","gists_url":"https://api.github.com/users/jrassi/gists{/gist_id}","starred_url":"https://api.github.com/users/jrassi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrassi/subscriptions","organizations_url":"https://api.github.com/users/jrassi/orgs","repos_url":"https://api.github.com/users/jrassi/repos","events_url":"https://api.github.com/users/jrassi/events{/privacy}","received_events_url":"https://api.github.com/users/jrassi/received_events","type":"User","site_admin":false},"created_at":"2016-06-15T19:53:34Z","updated_at":"2016-06-15T19:53:34Z","body":"Hmm.  `__freebsd__` is an internal define (no longer in use in the server codebase since https://jira.mongodb.org/browse/SERVER-17552) that I would expect to be set on your build at [SConstruct:709](https://github.com/mongodb/mongo-cxx-driver/blob/50ce454/SConstruct#L709).  However, cursory research suggests that `os.sys.platform` is \"gnukfreebsd\\<VERSION\\>\" on GNU/kFreeBSD, whereas it is \"freebsd\\<VERSION\\>\" on normal FreeBSD.\r\n\r\nI wonder whether an approach like https://github.com/jrassi/mongo-cxx-driver/commit/b924b97375203969db9af3d2d90b09f2f6922f96 would work instead?  Though I wouldn't be surprised if the legacy C++ driver build process makes assumptions of a BSD userland if the `freebsd` environment flag is set.\r\n\r\nCurious to hear your thoughts, @acmorrow."}}
{"actor":{"display_login":"jrassi"}}