{"action":"created","issue":{"url":"https://api.github.com/repos/collectd/collectd/issues/1566","repository_url":"https://api.github.com/repos/collectd/collectd","labels_url":"https://api.github.com/repos/collectd/collectd/issues/1566/labels{/name}","comments_url":"https://api.github.com/repos/collectd/collectd/issues/1566/comments","events_url":"https://api.github.com/repos/collectd/collectd/issues/1566/events","html_url":"https://github.com/collectd/collectd/issues/1566","id":136693144,"number":1566,"title":"Build fails with upcoming glibc 2.24","user":{"login":"rubenk","id":47338,"avatar_url":"https://avatars.githubusercontent.com/u/47338?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenk","html_url":"https://github.com/rubenk","followers_url":"https://api.github.com/users/rubenk/followers","following_url":"https://api.github.com/users/rubenk/following{/other_user}","gists_url":"https://api.github.com/users/rubenk/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenk/subscriptions","organizations_url":"https://api.github.com/users/rubenk/orgs","repos_url":"https://api.github.com/users/rubenk/repos","events_url":"https://api.github.com/users/rubenk/events{/privacy}","received_events_url":"https://api.github.com/users/rubenk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/collectd/collectd/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/collectd/collectd/labels/linux%20only","name":"linux only","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T13:10:56Z","updated_at":"2016-03-21T09:43:47Z","closed_at":null,"body":"I just hit this on Rawhide:\r\n\r\n```\r\nvserver.c: In function 'vserver_read':\r\nvserver.c:167:3: error: 'readdir_r' is deprecated [-Werror=deprecated-declarations]\r\n   status = readdir_r (proc, (struct dirent *) dirent_buffer, &dent);\r\n   ^~~~~~\r\nIn file included from ./daemon/collectd.h:196:0,\r\n                 from vserver.c:29:\r\n/usr/include/dirent.h:183:12: note: declared here\r\n extern int readdir_r (DIR *__restrict __dirp,\r\n            ^~~~~~~~~\r\n```"},"comment":{"url":"https://api.github.com/repos/collectd/collectd/issues/comments/199194298","html_url":"https://github.com/collectd/collectd/issues/1566#issuecomment-199194298","issue_url":"https://api.github.com/repos/collectd/collectd/issues/1566","id":199194298,"user":{"login":"rubenk","id":47338,"avatar_url":"https://avatars.githubusercontent.com/u/47338?v=3","gravatar_id":"","url":"https://api.github.com/users/rubenk","html_url":"https://github.com/rubenk","followers_url":"https://api.github.com/users/rubenk/followers","following_url":"https://api.github.com/users/rubenk/following{/other_user}","gists_url":"https://api.github.com/users/rubenk/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenk/subscriptions","organizations_url":"https://api.github.com/users/rubenk/orgs","repos_url":"https://api.github.com/users/rubenk/repos","events_url":"https://api.github.com/users/rubenk/events{/privacy}","received_events_url":"https://api.github.com/users/rubenk/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T09:43:47Z","updated_at":"2016-03-21T09:43:47Z","body":"Read callbacks need to be thread-safe, see e5182de and https://collectd.org/wiki/index.php/Plugin_architecture\r\nOnly glibc deprecated readdir_r, I'm wondering what they are offering as a thread-safe replacement."}}