{"action":"created","issue":{"url":"https://api.github.com/repos/ohler55/agoo/issues/34","repository_url":"https://api.github.com/repos/ohler55/agoo","labels_url":"https://api.github.com/repos/ohler55/agoo/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/ohler55/agoo/issues/34/comments","events_url":"https://api.github.com/repos/ohler55/agoo/issues/34/events","html_url":"https://github.com/ohler55/agoo/issues/34","id":379850669,"node_id":"MDU6SXNzdWUzNzk4NTA2Njk=","number":34,"title":"unable to build","user":{"login":"matteolc","id":78274,"node_id":"MDQ6VXNlcjc4Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/78274?v=4","gravatar_id":"","url":"https://api.github.com/users/matteolc","html_url":"https://github.com/matteolc","followers_url":"https://api.github.com/users/matteolc/followers","following_url":"https://api.github.com/users/matteolc/following{/other_user}","gists_url":"https://api.github.com/users/matteolc/gists{/gist_id}","starred_url":"https://api.github.com/users/matteolc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteolc/subscriptions","organizations_url":"https://api.github.com/users/matteolc/orgs","repos_url":"https://api.github.com/users/matteolc/repos","events_url":"https://api.github.com/users/matteolc/events{/privacy}","received_events_url":"https://api.github.com/users/matteolc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-12T16:19:31Z","updated_at":"2018-11-12T16:48:06Z","closed_at":null,"author_association":"NONE","body":"Hi\r\n\r\nI am unable to install this gem. This happens on 2 different systems, a Debian Jessie and a CentOS 7.\r\n\r\nDebian (=> ruby-2.5.3 [ x86_64 ], gcc version 4.9.2 (Debian 4.9.2-10+deb8u1)\r\n\r\n```\r\n─> gem install agoo\r\nFetching: agoo-2.5.4.gem (100%)\r\nBuilding native extensions. This could take a while...\r\nERROR:  Error installing agoo:\r\n        ERROR: Failed to build gem native extension.\r\n\r\n    current directory: /usr/local/rvm/gems/ruby-2.5.3/gems/agoo-2.5.4/ext/agoo\r\n/usr/local/rvm/rubies/ruby-2.5.3/bin/ruby -r ./siteconf20181112-27751-1cadm1k.rb extconf.rb\r\ncreating Makefile\r\n>>>>> Created Makefile for ruby version 2.5.3 on x86_64-linux <<<<<\r\n\r\ncurrent directory: /usr/local/rvm/gems/ruby-2.5.3/gems/agoo-2.5.4/ext/agoo\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory: /usr/local/rvm/gems/ruby-2.5.3/gems/agoo-2.5.4/ext/agoo\r\nmake \"DESTDIR=\"\r\ncompiling agoo.c\r\ncompiling base64.c\r\ncompiling bind.c\r\ncompiling con.c\r\ncompiling debug.c\r\ncompiling dtime.c\r\ncompiling err.c\r\ncompiling error_stream.c\r\ncompiling hook.c\r\ncompiling http.c\r\nhttp.c: In function ‘http_cleanup’:\r\nhttp.c:498:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode\r\n     for (int i = BUCKET_SIZE; 0 < i; i--, sp++) {\r\n     ^\r\nhttp.c:498:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code\r\nhttp.c: At top level:\r\ncc1: warning: unrecognized command line option \"-Wno-self-assign\"\r\ncc1: warning: unrecognized command line option \"-Wno-constant-logical-operand\"\r\ncc1: warning: unrecognized command line option \"-Wno-parentheses-equality\"\r\ncc1: warning: unrecognized command line option \"-Wno-tautological-compare\"\r\nMakefile:241: recipe for target 'http.o' failed\r\nmake: *** [http.o] Error 1\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in /usr/local/rvm/gems/ruby-2.5.3/gems/agoo-2.5.4 for inspection.\r\nResults logged to /usr/local/rvm/gems/ruby-2.5.3/extensions/x86_64-linux/2.5.0/agoo-2.5.4/gem_make.out\r\n```\r\n\r\nCentOS (ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux], gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC):\r\n\r\n```\r\ngem install agoo\r\nFetching: agoo-2.5.4.gem (100%)\r\nBuilding native extensions. This could take a while...\r\nERROR:  Error installing agoo:\r\n        ERROR: Failed to build gem native extension.\r\n\r\n    current directory: /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/agoo-2.5.4/ext/agoo\r\n/root/.rbenv/versions/2.5.1/bin/ruby -r ./siteconf20181112-21721-1oflkkp.rb extconf.rb\r\ncreating Makefile\r\n>>>>> Created Makefile for ruby version 2.5.1 on x86_64-linux <<<<<\r\n\r\ncurrent directory: /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/agoo-2.5.4/ext/agoo\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory: /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/agoo-2.5.4/ext/agoo\r\nmake \"DESTDIR=\"\r\ncompiling agoo.c\r\nIn file included from agoo.c:8:0:\r\ndebug.h:6:23: fatal error: stdatomic.h: No such file or directory\r\n #include <stdatomic.h>\r\n                       ^\r\ncompilation terminated.\r\nmake: *** [agoo.o] Error 1\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/agoo-2.5.4 for inspection.\r\nResults logged to /root/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/extensions/x86_64-linux/2.5.0-static/agoo-2.5.4/gem_make.out\r\n```\r\n\r\nAny suggestions?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/ohler55/agoo/issues/comments/437950840","html_url":"https://github.com/ohler55/agoo/issues/34#issuecomment-437950840","issue_url":"https://api.github.com/repos/ohler55/agoo/issues/34","id":437950840,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzk1MDg0MA==","user":{"login":"matteolc","id":78274,"node_id":"MDQ6VXNlcjc4Mjc0","avatar_url":"https://avatars3.githubusercontent.com/u/78274?v=4","gravatar_id":"","url":"https://api.github.com/users/matteolc","html_url":"https://github.com/matteolc","followers_url":"https://api.github.com/users/matteolc/followers","following_url":"https://api.github.com/users/matteolc/following{/other_user}","gists_url":"https://api.github.com/users/matteolc/gists{/gist_id}","starred_url":"https://api.github.com/users/matteolc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matteolc/subscriptions","organizations_url":"https://api.github.com/users/matteolc/orgs","repos_url":"https://api.github.com/users/matteolc/repos","events_url":"https://api.github.com/users/matteolc/events{/privacy}","received_events_url":"https://api.github.com/users/matteolc/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T16:48:06Z","updated_at":"2018-11-12T16:48:06Z","author_association":"NONE","body":"(but probably i lack a makefile and i can't compile one by one)"}}
{"actor":{"display_login":"matteolc"}}