{"action":"created","issue":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/516","repository_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby","labels_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/516/comments","events_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/516/events","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/issues/516","id":136776334,"number":516,"title":"An error occurred while installing concurrent-ruby-ext (0.9.0)","user":{"login":"leandrogs","id":1022769,"avatar_url":"https://avatars.githubusercontent.com/u/1022769?v=3","gravatar_id":"","url":"https://api.github.com/users/leandrogs","html_url":"https://github.com/leandrogs","followers_url":"https://api.github.com/users/leandrogs/followers","following_url":"https://api.github.com/users/leandrogs/following{/other_user}","gists_url":"https://api.github.com/users/leandrogs/gists{/gist_id}","starred_url":"https://api.github.com/users/leandrogs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandrogs/subscriptions","organizations_url":"https://api.github.com/users/leandrogs/orgs","repos_url":"https://api.github.com/users/leandrogs/repos","events_url":"https://api.github.com/users/leandrogs/events{/privacy}","received_events_url":"https://api.github.com/users/leandrogs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/milestones/16","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/milestones/1.0.2","labels_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/milestones/16/labels","id":1640396,"number":16,"title":"1.0.2","description":"","creator":{"login":"pitr-ch","id":204460,"avatar_url":"https://avatars.githubusercontent.com/u/204460?v=3","gravatar_id":"","url":"https://api.github.com/users/pitr-ch","html_url":"https://github.com/pitr-ch","followers_url":"https://api.github.com/users/pitr-ch/followers","following_url":"https://api.github.com/users/pitr-ch/following{/other_user}","gists_url":"https://api.github.com/users/pitr-ch/gists{/gist_id}","starred_url":"https://api.github.com/users/pitr-ch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pitr-ch/subscriptions","organizations_url":"https://api.github.com/users/pitr-ch/orgs","repos_url":"https://api.github.com/users/pitr-ch/repos","events_url":"https://api.github.com/users/pitr-ch/events{/privacy}","received_events_url":"https://api.github.com/users/pitr-ch/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":11,"state":"closed","created_at":"2016-03-12T13:01:26Z","updated_at":"2016-06-24T14:17:41Z","due_on":"2016-05-01T04:00:00Z","closed_at":"2016-05-02T14:37:16Z"},"comments":14,"created_at":"2016-02-26T18:30:01Z","updated_at":"2016-06-24T14:17:41Z","closed_at":"2016-06-24T14:17:41Z","body":"Hey guys! I have an 'old' project using `ruby 1.9.3-p448` installed using rbenv and `concurrent-ruby-ext 0.9.0`. Today I was trying to install my gems using `bundle install` on a new computer (ubuntu 14.04) and only `concurrent-ruby-ext` gem failed to build.\r\n\r\nIn my Gemfile I have:\r\n```\r\n...\r\ngem 'rails', '= 3.2.21'\r\ngem 'concurrent-ruby-ext', '~> 0.9.0', require: 'concurrent'\r\n...\r\n```\r\n\r\nThe error I got is:\r\n```\r\nInstalling concurrent-ruby-ext 0.9.0 with native extensions\r\n\r\nGem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\r\n\r\n        /usr/bin/ruby1.9.1 extconf.rb\r\nchecking for libkern/OSAtomic.h... no\r\ncreating Makefile\r\n\r\nmake\r\ncompiling rb_concurrent.c\r\ncompiling atomic_reference.c\r\ncompiling atomic_fixnum.c\r\nIn file included from atomic_fixnum.c:5:0:\r\nruby_193_compatible.h: In function ‘rb_error_arity’:\r\nruby_193_compatible.h:20:3: warning: passing argument 2 of ‘rb_raise’ makes pointer from integer without a cast [enabled by default]\r\n   rb_raise(rb_eTypeError, err_mess);\r\n   ^\r\nIn file included from /usr/include/ruby-1.9.1/ruby.h:32:0,\r\n                 from atomic_fixnum.c:1:\r\n/usr/include/ruby-1.9.1/ruby/ruby.h:1172:27: note: expected ‘const char *’ but argument is of type ‘VALUE’\r\n PRINTF_ARGS(NORETURN(void rb_raise(VALUE, const char*, ...)), 2, 3);\r\n                           ^\r\n/usr/include/ruby-1.9.1/ruby/ruby.h:42:3: note: in definition of macro ‘PRINTF_ARGS’\r\n   decl __attribute__((format(printf, string_index, first_to_check)))\r\n   ^\r\n/usr/include/ruby-1.9.1/ruby/ruby.h:1172:13: note: in expansion of macro ‘NORETURN’\r\n PRINTF_ARGS(NORETURN(void rb_raise(VALUE, const char*, ...)), 2, 3);\r\n             ^\r\nIn file included from atomic_fixnum.c:5:0:\r\nruby_193_compatible.h:20:3: error: format not a string literal and no format arguments [-Werror=format-security]\r\n   rb_raise(rb_eTypeError, err_mess);\r\n   ^\r\ncc1: some warnings being treated as errors\r\nmake: *** [atomic_fixnum.o] Error 1\r\n\r\n\r\nGem files will remain installed in /tmp/bundler20160226-18427-13v8kyrconcurrent-ruby-ext-0.9.0/gems/concurrent-ruby-ext-0.9.0 for inspection.\r\nResults logged to /tmp/bundler20160226-18427-13v8kyrconcurrent-ruby-ext-0.9.0/gems/concurrent-ruby-ext-0.9.0/ext/concurrent/gem_make.out\r\n```\r\n\r\nAm I missing something? Using my work computer I can `bundle install` without any problem..."},"comment":{"url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/comments/228357793","html_url":"https://github.com/ruby-concurrency/concurrent-ruby/issues/516#issuecomment-228357793","issue_url":"https://api.github.com/repos/ruby-concurrency/concurrent-ruby/issues/516","id":228357793,"user":{"login":"jdantonio","id":173910,"avatar_url":"https://avatars.githubusercontent.com/u/173910?v=3","gravatar_id":"","url":"https://api.github.com/users/jdantonio","html_url":"https://github.com/jdantonio","followers_url":"https://api.github.com/users/jdantonio/followers","following_url":"https://api.github.com/users/jdantonio/following{/other_user}","gists_url":"https://api.github.com/users/jdantonio/gists{/gist_id}","starred_url":"https://api.github.com/users/jdantonio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdantonio/subscriptions","organizations_url":"https://api.github.com/users/jdantonio/orgs","repos_url":"https://api.github.com/users/jdantonio/repos","events_url":"https://api.github.com/users/jdantonio/events{/privacy}","received_events_url":"https://api.github.com/users/jdantonio/received_events","type":"User","site_admin":false},"created_at":"2016-06-24T14:17:41Z","updated_at":"2016-06-24T14:17:41Z","body":"We'll be publishing 1.0.3 with this fix shortly. Since we know it's fixed in the latest pre-release I'm going to close this issue."}}
{"actor":{"display_login":"jdantonio"}}