{"action":"created","issue":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/836","repository_url":"https://api.github.com/repos/sirupsen/logrus","labels_url":"https://api.github.com/repos/sirupsen/logrus/issues/836/labels{/name}","comments_url":"https://api.github.com/repos/sirupsen/logrus/issues/836/comments","events_url":"https://api.github.com/repos/sirupsen/logrus/issues/836/events","html_url":"https://github.com/sirupsen/logrus/issues/836","id":367358990,"node_id":"MDU6SXNzdWUzNjczNTg5OTA=","number":836,"title":"v1.1.0 breaks cross-compiling for solaris","user":{"login":"prymitive","id":114288,"node_id":"MDQ6VXNlcjExNDI4OA==","avatar_url":"https://avatars1.githubusercontent.com/u/114288?v=4","gravatar_id":"","url":"https://api.github.com/users/prymitive","html_url":"https://github.com/prymitive","followers_url":"https://api.github.com/users/prymitive/followers","following_url":"https://api.github.com/users/prymitive/following{/other_user}","gists_url":"https://api.github.com/users/prymitive/gists{/gist_id}","starred_url":"https://api.github.com/users/prymitive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prymitive/subscriptions","organizations_url":"https://api.github.com/users/prymitive/orgs","repos_url":"https://api.github.com/users/prymitive/repos","events_url":"https://api.github.com/users/prymitive/events{/privacy}","received_events_url":"https://api.github.com/users/prymitive/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-05T20:32:36Z","updated_at":"2018-10-06T19:33:41Z","closed_at":null,"author_association":"NONE","body":"https://travis-ci.com/prymitive/karma/jobs/149295747#L593-L594\r\n\r\n```\r\n2018/10/02 20:50:53 fatal: There was an error! goos='solaris' goarch='amd64' err='exit status 2' stdout='' stderr='# github.com/prymitive/karma/vendor/github.com/sirupsen/logrus\r\nvendor/github.com/sirupsen/logrus/text_formatter.go:87:4: undefined: initTerminal\r\n```\r\n\r\nIt looks like there were some changes around `terminal_*.go` between 1.0.6 and 1.1.0 that might cause it. What I'm not so sure about is whenever solaris should be covered by `terminal_linux.go` or `terminal_bsd.go`. Also looking at build tags I think [terminal_linux.go](https://github.com/sirupsen/logrus/blob/master/terminal_linux.go#L6) should be the default file since it has `// +build !appengine,!js`. Either way I'm not 100% sure how to fix it so no PR."},"comment":{"url":"https://api.github.com/repos/sirupsen/logrus/issues/comments/427600522","html_url":"https://github.com/sirupsen/logrus/issues/836#issuecomment-427600522","issue_url":"https://api.github.com/repos/sirupsen/logrus/issues/836","id":427600522,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzYwMDUyMg==","user":{"login":"dgsb","id":5495748,"node_id":"MDQ6VXNlcjU0OTU3NDg=","avatar_url":"https://avatars1.githubusercontent.com/u/5495748?v=4","gravatar_id":"","url":"https://api.github.com/users/dgsb","html_url":"https://github.com/dgsb","followers_url":"https://api.github.com/users/dgsb/followers","following_url":"https://api.github.com/users/dgsb/following{/other_user}","gists_url":"https://api.github.com/users/dgsb/gists{/gist_id}","starred_url":"https://api.github.com/users/dgsb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgsb/subscriptions","organizations_url":"https://api.github.com/users/dgsb/orgs","repos_url":"https://api.github.com/users/dgsb/repos","events_url":"https://api.github.com/users/dgsb/events{/privacy}","received_events_url":"https://api.github.com/users/dgsb/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T19:33:41Z","updated_at":"2018-10-06T19:33:41Z","author_association":"COLLABORATOR","body":"I'll release a new label soon so that you don't need to depend on an unlock version. I'll keep this issue until this is done."}}
{"actor":{"display_login":"dgsb"}}