{"action":"created","issue":{"url":"https://api.github.com/repos/cloudflare/cfssl/issues/650","repository_url":"https://api.github.com/repos/cloudflare/cfssl","labels_url":"https://api.github.com/repos/cloudflare/cfssl/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/cloudflare/cfssl/issues/650/comments","events_url":"https://api.github.com/repos/cloudflare/cfssl/issues/650/events","html_url":"https://github.com/cloudflare/cfssl/issues/650","id":168352259,"number":650,"title":"CGO dependency (`sqlite3-binding.c`) causing certain builds to fail","user":{"login":"cmrunton","id":6014702,"avatar_url":"https://avatars.githubusercontent.com/u/6014702?v=3","gravatar_id":"","url":"https://api.github.com/users/cmrunton","html_url":"https://github.com/cmrunton","followers_url":"https://api.github.com/users/cmrunton/followers","following_url":"https://api.github.com/users/cmrunton/following{/other_user}","gists_url":"https://api.github.com/users/cmrunton/gists{/gist_id}","starred_url":"https://api.github.com/users/cmrunton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmrunton/subscriptions","organizations_url":"https://api.github.com/users/cmrunton/orgs","repos_url":"https://api.github.com/users/cmrunton/repos","events_url":"https://api.github.com/users/cmrunton/events{/privacy}","received_events_url":"https://api.github.com/users/cmrunton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T15:35:42Z","updated_at":"2016-07-31T19:58:43Z","closed_at":null,"body":"When building using the [Go build script][1] I get the following errors:\r\n\r\n```\r\n14 errors occurred:\r\n--> darwin/386 error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n\r\n--> linux/arm error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n\r\n--> windows/386 error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n\r\n--> windows/amd64 error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n\r\n--> darwin/arm error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n\r\n--> darwin/amd64 error: exit status 1\r\nStderr: cmd/cfssl/cfssl.go:48:2: C source files not allowed when not using cgo or SWIG: sqlite3-binding.c\r\n```\r\nAs noted in Issue #545 I removed [line 48 from `cmd/cfssl/cfssl.go`][2] and the packages build fine. I don't need SQLite storage, so that isn't an issue for me, but I'm sure others might have a use for it. Let me know if you need any info on my build environment.\r\n\r\n[1]: https://github.com/cloudflare/cfssl/blob/4a47280f81d5234ae621bfff451a174af664c793/script/build\r\n[2]: https://github.com/cloudflare/cfssl/blob/master/cmd/cfssl/cfssl.go#L48"},"comment":{"url":"https://api.github.com/repos/cloudflare/cfssl/issues/comments/236453046","html_url":"https://github.com/cloudflare/cfssl/issues/650#issuecomment-236453046","issue_url":"https://api.github.com/repos/cloudflare/cfssl/issues/650","id":236453046,"user":{"login":"rfc1459","id":113221,"avatar_url":"https://avatars.githubusercontent.com/u/113221?v=3","gravatar_id":"","url":"https://api.github.com/users/rfc1459","html_url":"https://github.com/rfc1459","followers_url":"https://api.github.com/users/rfc1459/followers","following_url":"https://api.github.com/users/rfc1459/following{/other_user}","gists_url":"https://api.github.com/users/rfc1459/gists{/gist_id}","starred_url":"https://api.github.com/users/rfc1459/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfc1459/subscriptions","organizations_url":"https://api.github.com/users/rfc1459/orgs","repos_url":"https://api.github.com/users/rfc1459/repos","events_url":"https://api.github.com/users/rfc1459/events{/privacy}","received_events_url":"https://api.github.com/users/rfc1459/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T19:58:43Z","updated_at":"2016-07-31T19:58:43Z","body":"Scrap my previous comment: cross-compiling was fixed by #546, but it was broken _again_ with #587.\r\nThe MySQL PR has nothing to do with it - that was me being stupid (`git blame` instead of a proper bisect)"}}
{"actor":{"display_login":"rfc1459"}}