{"action":"created","issue":{"url":"https://api.github.com/repos/axkibe/lsyncd/issues/498","repository_url":"https://api.github.com/repos/axkibe/lsyncd","labels_url":"https://api.github.com/repos/axkibe/lsyncd/issues/498/labels{/name}","comments_url":"https://api.github.com/repos/axkibe/lsyncd/issues/498/comments","events_url":"https://api.github.com/repos/axkibe/lsyncd/issues/498/events","html_url":"https://github.com/axkibe/lsyncd/issues/498","id":307649102,"node_id":"MDU6SXNzdWUzMDc2NDkxMDI=","number":498,"title":"doesn't compile on CentOS 7.4.1708","user":{"login":"NikitaVoitov","id":18076956,"node_id":"MDQ6VXNlcjE4MDc2OTU2","avatar_url":"https://avatars0.githubusercontent.com/u/18076956?v=4","gravatar_id":"","url":"https://api.github.com/users/NikitaVoitov","html_url":"https://github.com/NikitaVoitov","followers_url":"https://api.github.com/users/NikitaVoitov/followers","following_url":"https://api.github.com/users/NikitaVoitov/following{/other_user}","gists_url":"https://api.github.com/users/NikitaVoitov/gists{/gist_id}","starred_url":"https://api.github.com/users/NikitaVoitov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NikitaVoitov/subscriptions","organizations_url":"https://api.github.com/users/NikitaVoitov/orgs","repos_url":"https://api.github.com/users/NikitaVoitov/repos","events_url":"https://api.github.com/users/NikitaVoitov/events{/privacy}","received_events_url":"https://api.github.com/users/NikitaVoitov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-03-22T13:44:21Z","updated_at":"2018-07-06T07:17:10Z","closed_at":"2018-04-07T08:31:45Z","author_association":"NONE","body":"root@c7-la ~# cd lsyncd-master/\r\nroot@c7-la ~/lsyncd-master# cmake .\r\n-- The C compiler identification is GNU 4.8.5\r\n-- The CXX compiler identification is GNU 4.8.5\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Found Lua: /usr/lib64/liblua-5.3.so;/usr/lib64/libm.so\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /root/lsyncd-master\r\nroot@c7-la ~/lsyncd-master# make\r\n[ 12%] Generating defaults.out\r\nCompiling built-in default configs\r\n[ 25%] Generating runner.out\r\nCompiling built-in runner\r\n[ 37%] Generating runner.c\r\nGenerating built-in runner linkable\r\n[ 50%] Generating defaults.c\r\nGenerating built-in default configs\r\nScanning dependencies of target lsyncd\r\n[ 62%] Building C object CMakeFiles/lsyncd.dir/lsyncd.c.o\r\n/root/lsyncd-master/lsyncd.c: In function ‘l_readdir’:\r\n/root/lsyncd-master/lsyncd.c:1527:21: error: ‘DT_UNKNOWN’ undeclared (first use in this function)\r\n   if( de->d_type == DT_UNKNOWN )\r\n                     ^\r\n/root/lsyncd-master/lsyncd.c:1527:21: note: each undeclared identifier is reported only once for each function it appears in\r\n/root/lsyncd-master/lsyncd.c:1552:26: error: ‘DT_DIR’ undeclared (first use in this function)\r\n    isdir = de->d_type == DT_DIR;\r\n                          ^\r\nmake[2]: *** [CMakeFiles/lsyncd.dir/lsyncd.c.o] Error 1\r\nmake[1]: *** [CMakeFiles/lsyncd.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n\r\nroot@c7-la ~/lsyncd-master# cmake --version\r\ncmake version 2.8.12.2\r\nroot@c7-la ~/lsyncd-master# sysctl fs.inotify\r\nfs.inotify.max_queued_events = 16384\r\nfs.inotify.max_user_instances = 128\r\nfs.inotify.max_user_watches = 8192\r\nroot@c7-la ~/lsyncd-master# uname -a\r\nLinux c7-la.local.lab 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux\r\nroot@c7-la ~/lsyncd-master# cat /etc/redhat-release\r\nCentOS Linux release 7.4.1708 (Core)\r\n\r\nAny thoughts why?"},"comment":{"url":"https://api.github.com/repos/axkibe/lsyncd/issues/comments/402948871","html_url":"https://github.com/axkibe/lsyncd/issues/498#issuecomment-402948871","issue_url":"https://api.github.com/repos/axkibe/lsyncd/issues/498","id":402948871,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjk0ODg3MQ==","user":{"login":"clonemeagain","id":5077391,"node_id":"MDQ6VXNlcjUwNzczOTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5077391?v=4","gravatar_id":"","url":"https://api.github.com/users/clonemeagain","html_url":"https://github.com/clonemeagain","followers_url":"https://api.github.com/users/clonemeagain/followers","following_url":"https://api.github.com/users/clonemeagain/following{/other_user}","gists_url":"https://api.github.com/users/clonemeagain/gists{/gist_id}","starred_url":"https://api.github.com/users/clonemeagain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clonemeagain/subscriptions","organizations_url":"https://api.github.com/users/clonemeagain/orgs","repos_url":"https://api.github.com/users/clonemeagain/repos","events_url":"https://api.github.com/users/clonemeagain/events{/privacy}","received_events_url":"https://api.github.com/users/clonemeagain/received_events","type":"User","site_admin":false},"created_at":"2018-07-06T07:17:09Z","updated_at":"2018-07-06T07:17:09Z","author_association":"NONE","body":"Just to chime in, this is also the case with latest releast on my Debian 7 box.\r\nLatest master built fine (I think fixed in https://github.com/axkibe/lsyncd/commit/42413cabbedca429d55a5378f6e830f191f3cc86)"}}
{"actor":{"display_login":"clonemeagain"}}