{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/watchman/issues/110","labels_url":"https://api.github.com/repos/facebook/watchman/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/facebook/watchman/issues/110/comments","events_url":"https://api.github.com/repos/facebook/watchman/issues/110/events","html_url":"https://github.com/facebook/watchman/issues/110","id":85787550,"number":110,"title":"Commit 4464d43c357aba7f1358fd572542427dc6799a3d breaks build on linux","user":{"login":"lym","id":783970,"avatar_url":"https://avatars.githubusercontent.com/u/783970?v=3","gravatar_id":"","url":"https://api.github.com/users/lym","html_url":"https://github.com/lym","followers_url":"https://api.github.com/users/lym/followers","following_url":"https://api.github.com/users/lym/following{/other_user}","gists_url":"https://api.github.com/users/lym/gists{/gist_id}","starred_url":"https://api.github.com/users/lym/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lym/subscriptions","organizations_url":"https://api.github.com/users/lym/orgs","repos_url":"https://api.github.com/users/lym/repos","events_url":"https://api.github.com/users/lym/events{/privacy}","received_events_url":"https://api.github.com/users/lym/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T17:57:53Z","updated_at":"2015-06-08T21:09:59Z","closed_at":"2015-06-08T21:09:59Z","body":"Building the code against the current commit fails, on linux, with:\r\n\r\n    .......\r\n    CC       watchman-log.o\r\n    log.c: In function ‘w_set_thread_name’:\r\n    log.c:47:12: error: ignoring return value of ‘vasprintf’, declared with attribute warn_unused_result [-   Werror=unused-result]\r\n    vasprintf(&name, fmt, ap);\r\n            ^\r\n    cc1: all warnings being treated as errors\r\n    make[1]: *** [watchman-log.o] Error 1\r\n    .........\r\n\r\nWhen I check out commit 1d84df2f01eba45194e6d259df5c2fffecb660bf and rebuild, watchman gets installed. I noticed by going through the git logs that the commit in the title of this issue might be the cause of the breakage as it introduces the function `w_set_thread_name()` which contains the section at which `make` seems to be whining.\r\n\r\nmy system is:\r\nUbuntu linux 14.04LTS with ubuntu's packaged 3.13.0-44-generic kernel."}}