{"action":"created","issue":{"url":"https://api.github.com/repos/tmm1/perftools.rb/issues/78","repository_url":"https://api.github.com/repos/tmm1/perftools.rb","labels_url":"https://api.github.com/repos/tmm1/perftools.rb/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/tmm1/perftools.rb/issues/78/comments","events_url":"https://api.github.com/repos/tmm1/perftools.rb/issues/78/events","html_url":"https://github.com/tmm1/perftools.rb/issues/78","id":153020576,"number":78,"title":"Can't install perftools.rb 2.0.4 with ruby 2.3.1 on Mac 10.11.2","user":{"login":"samboylett","id":16099044,"avatar_url":"https://avatars.githubusercontent.com/u/16099044?v=3","gravatar_id":"","url":"https://api.github.com/users/samboylett","html_url":"https://github.com/samboylett","followers_url":"https://api.github.com/users/samboylett/followers","following_url":"https://api.github.com/users/samboylett/following{/other_user}","gists_url":"https://api.github.com/users/samboylett/gists{/gist_id}","starred_url":"https://api.github.com/users/samboylett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samboylett/subscriptions","organizations_url":"https://api.github.com/users/samboylett/orgs","repos_url":"https://api.github.com/users/samboylett/repos","events_url":"https://api.github.com/users/samboylett/events{/privacy}","received_events_url":"https://api.github.com/users/samboylett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-05-04T14:06:09Z","updated_at":"2016-09-13T22:28:31Z","closed_at":null,"body":"```\r\n$ gem install perftools.rb -v '2.0.4'\r\nBuilding native extensions.  This could take a while...\r\nERROR:  Error installing perftools.rb:\r\n\tERROR: Failed to build gem native extension.\r\n\r\n    current directory: /Users/samboylett/.rvm/gems/ruby-2.3.1/gems/perftools.rb-2.0.4/ext\r\n/Users/samboylett/.rvm/rubies/ruby-2.3.1/bin/ruby -r ./siteconf20160504-90402-dy962a.rb extconf.rb\r\n(I'm about to compile google-perftools.. this will definitely take a while)\r\n  -- tar zpxvf gperftools-2.0.tar.gz\r\n  -- patch -p1 < ../../../patches/perftools.patch\r\n  -- patch -p1 < ../../../patches/perftools-notests.patch\r\n  -- patch -p1 < ../../../patches/perftools-pprof.patch\r\n  -- patch -p1 < ../../../patches/perftools-gc.patch\r\n  -- patch -p1 < ../../../patches/perftools-debug.patch\r\n  -- patch -p1 < ../../../patches/perftools-objects.patch\r\n  -- patch -p1 < ../../../patches/perftools-frames.patch\r\n  -- patch -p1 < ../../../patches/perftools-realtime.patch\r\n  -- patch -p1 < ../../../patches/perftools-pause.patch\r\n  -- sed -i -e 's,SpinLock,ISpinLock,g' src/*.cc src/*.h src/base/*.cc src/base/*.h\r\n  -- ./configure --disable-heap-profiler --disable-heap-checker --disable-debugalloc --disable-shared\r\n  -- make\r\nchecking for method.h... no\r\nchecking for vm_core.h... no\r\nchecking for method.h... no\r\nchecking for vm_core.h... no\r\nchecking for method.h... yes\r\nchecking for vm_core.h... yes\r\nchecking for iseq.h... yes\r\nchecking for insns.inc... yes\r\nchecking for insns_info.inc... yes\r\ncreating Makefile\r\n\r\ncurrent directory: /Users/samboylett/.rvm/gems/ruby-2.3.1/gems/perftools.rb-2.0.4/ext\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory: /Users/samboylett/.rvm/gems/ruby-2.3.1/gems/perftools.rb-2.0.4/ext\r\nmake \"DESTDIR=\"\r\ncompiling perftools.c\r\nIn file included from perftools.c:5:\r\nIn file included from /Users/samboylett/.rvm/rubies/ruby-2.3.1/include/ruby-2.3.0/ruby.h:33:\r\nIn file included from /Users/samboylett/.rvm/rubies/ruby-2.3.1/include/ruby-2.3.0/ruby/ruby.h:24:\r\n/Users/samboylett/.rvm/rubies/ruby-2.3.1/include/ruby-2.3.0/x86_64-darwin15/ruby/config.h:17:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]\r\n#define _GNU_SOURCE 1\r\n        ^\r\nperftools.c:2:9: note: previous definition is here\r\n#define _GNU_SOURCE\r\n        ^\r\nperftools.c:173:18: warning: initializing 'rb_iseq_t *' (aka 'struct rb_iseq_struct *') with an expression of type 'const rb_iseq_t *' (aka 'const struct rb_iseq_struct *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]\r\n      rb_iseq_t *iseq = cfp->iseq;\r\n                 ^      ~~~~~~~~~\r\nperftools.c:175:25: error: no member named 'type' in 'struct rb_iseq_struct'\r\n      if (iseq && iseq->type == ISEQ_TYPE_METHOD) {\r\n                  ~~~~  ^\r\nperftools.c:177:23: error: no member named 'klass' in 'struct rb_iseq_struct'\r\n        klass = iseq->klass;\r\n                ~~~~  ^\r\nperftools.c:178:24: error: no member named 'defined_method_id' in 'struct rb_iseq_struct'\r\n        method = iseq->defined_method_id;\r\n                 ~~~~  ^\r\nperftools.c:190:21: error: no member named 'me' in 'struct rb_control_frame_struct'\r\n          if (!cfp->me) break;\r\n               ~~~  ^\r\nperftools.c:192:24: error: no member named 'me' in 'struct rb_control_frame_struct'\r\n          klass = cfp->me->klass;\r\n                  ~~~  ^\r\nperftools.c:193:25: error: no member named 'me' in 'struct rb_control_frame_struct'\r\n          method = cfp->me->called_id;\r\n                   ~~~  ^\r\n2 warnings and 6 errors generated.\r\nmake: *** [perftools.o] Error 1\r\n\r\nmake failed, exit code 2\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/tmm1/perftools.rb/issues/comments/246846121","html_url":"https://github.com/tmm1/perftools.rb/issues/78#issuecomment-246846121","issue_url":"https://api.github.com/repos/tmm1/perftools.rb/issues/78","id":246846121,"user":{"login":"arturtr","id":783678,"avatar_url":"https://avatars.githubusercontent.com/u/783678?v=3","gravatar_id":"","url":"https://api.github.com/users/arturtr","html_url":"https://github.com/arturtr","followers_url":"https://api.github.com/users/arturtr/followers","following_url":"https://api.github.com/users/arturtr/following{/other_user}","gists_url":"https://api.github.com/users/arturtr/gists{/gist_id}","starred_url":"https://api.github.com/users/arturtr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturtr/subscriptions","organizations_url":"https://api.github.com/users/arturtr/orgs","repos_url":"https://api.github.com/users/arturtr/repos","events_url":"https://api.github.com/users/arturtr/events{/privacy}","received_events_url":"https://api.github.com/users/arturtr/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T22:28:31Z","updated_at":"2016-09-13T22:28:31Z","body":"+1"}}
{"actor":{"display_login":"arturtr"}}