{"action":"opened","number":1467,"pull_request":{"url":"https://api.github.com/repos/ruby/ruby/pulls/1467","id":90743578,"html_url":"https://github.com/ruby/ruby/pull/1467","diff_url":"https://github.com/ruby/ruby/pull/1467.diff","patch_url":"https://github.com/ruby/ruby/pull/1467.patch","issue_url":"https://api.github.com/repos/ruby/ruby/issues/1467","number":1467,"state":"open","locked":false,"title":"generic_erb.rb compile error fix","user":{"login":"NarineM","id":12664837,"avatar_url":"https://avatars.githubusercontent.com/u/12664837?v=3","gravatar_id":"","url":"https://api.github.com/users/NarineM","html_url":"https://github.com/NarineM","followers_url":"https://api.github.com/users/NarineM/followers","following_url":"https://api.github.com/users/NarineM/following{/other_user}","gists_url":"https://api.github.com/users/NarineM/gists{/gist_id}","starred_url":"https://api.github.com/users/NarineM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NarineM/subscriptions","organizations_url":"https://api.github.com/users/NarineM/orgs","repos_url":"https://api.github.com/users/NarineM/repos","events_url":"https://api.github.com/users/NarineM/events{/privacy}","received_events_url":"https://api.github.com/users/NarineM/received_events","type":"User","site_admin":false},"body":"This PR fixes the following ruby make compile error:\r\n\r\nroot@narinemdogfood  # make\r\n        CC = gcc\r\n        LD = ld\r\n        LDSHARED = gcc -shared\r\n        CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -std=iso9899:1999\r\n        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector -fvisibility=hidden -DRUBY_EXPORT -fPIE\r\n        CPPFLAGS =   -I. -I.ext/include/x86_64-linux -I./include -I.\r\n        DLDFLAGS = -fstack-protector -pie\r\n        SOLIBS =\r\nUsing built-in specs.\r\nTarget: x86_64-redhat-linux\r\nConfigured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=x86_64-redhat-linux\r\nThread model: posix\r\ngcc version 4.1.1 20070105 (Red Hat 4.1.1-52)\r\ngenerating id.h\r\n./tool/generic_erb.rb:27: syntax error\r\n  if (/\\A\\e\\[.*m\\z/ =~ IO.popen(\"tput smso\", \"r\", err: IO::NULL, &:read) rescue nil)\r\n                                                      ^\r\n./tool/generic_erb.rb:27: syntax error\r\n  if (/\\A\\e\\[.*m\\z/ =~ IO.popen(\"tput smso\", \"r\", err: IO::NULL, &:read) rescue nil)\r\n                                                                  ^\r\n./tool/generic_erb.rb:27: syntax error\r\n  if (/\\A\\e\\[.*m\\z/ =~ IO.popen(\"tput smso\", \"r\", err: IO::NULL, &:read) rescue nil)\r\n                                                                               ^\r\n./tool/generic_erb.rb:34: syntax error\r\nmake: *** [id.h] Error 1\r\n","created_at":"2016-10-25T05:56:50Z","updated_at":"2016-10-25T05:56:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ruby/ruby/pulls/1467/commits","review_comments_url":"https://api.github.com/repos/ruby/ruby/pulls/1467/comments","review_comment_url":"https://api.github.com/repos/ruby/ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ruby/ruby/issues/1467/comments","statuses_url":"https://api.github.com/repos/ruby/ruby/statuses/0efeb4a39dd7901d660174d7f7fc9b7316f5f643","head":{"label":"NarineM:trunk","ref":"trunk","sha":"0efeb4a39dd7901d660174d7f7fc9b7316f5f643","user":{"login":"NarineM","id":12664837,"avatar_url":"https://avatars.githubusercontent.com/u/12664837?v=3","gravatar_id":"","url":"https://api.github.com/users/NarineM","html_url":"https://github.com/NarineM","followers_url":"https://api.github.com/users/NarineM/followers","following_url":"https://api.github.com/users/NarineM/following{/other_user}","gists_url":"https://api.github.com/users/NarineM/gists{/gist_id}","starred_url":"https://api.github.com/users/NarineM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NarineM/subscriptions","organizations_url":"https://api.github.com/users/NarineM/orgs","repos_url":"https://api.github.com/users/NarineM/repos","events_url":"https://api.github.com/users/NarineM/events{/privacy}","received_events_url":"https://api.github.com/users/NarineM/received_events","type":"User","site_admin":false},"repo":{"id":71863579,"name":"ruby","full_name":"NarineM/ruby","owner":{"login":"NarineM","id":12664837,"avatar_url":"https://avatars.githubusercontent.com/u/12664837?v=3","gravatar_id":"","url":"https://api.github.com/users/NarineM","html_url":"https://github.com/NarineM","followers_url":"https://api.github.com/users/NarineM/followers","following_url":"https://api.github.com/users/NarineM/following{/other_user}","gists_url":"https://api.github.com/users/NarineM/gists{/gist_id}","starred_url":"https://api.github.com/users/NarineM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NarineM/subscriptions","organizations_url":"https://api.github.com/users/NarineM/orgs","repos_url":"https://api.github.com/users/NarineM/repos","events_url":"https://api.github.com/users/NarineM/events{/privacy}","received_events_url":"https://api.github.com/users/NarineM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NarineM/ruby","description":"The Ruby Programming Language","fork":true,"url":"https://api.github.com/repos/NarineM/ruby","forks_url":"https://api.github.com/repos/NarineM/ruby/forks","keys_url":"https://api.github.com/repos/NarineM/ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NarineM/ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NarineM/ruby/teams","hooks_url":"https://api.github.com/repos/NarineM/ruby/hooks","issue_events_url":"https://api.github.com/repos/NarineM/ruby/issues/events{/number}","events_url":"https://api.github.com/repos/NarineM/ruby/events","assignees_url":"https://api.github.com/repos/NarineM/ruby/assignees{/user}","branches_url":"https://api.github.com/repos/NarineM/ruby/branches{/branch}","tags_url":"https://api.github.com/repos/NarineM/ruby/tags","blobs_url":"https://api.github.com/repos/NarineM/ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NarineM/ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NarineM/ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/NarineM/ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NarineM/ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/NarineM/ruby/languages","stargazers_url":"https://api.github.com/repos/NarineM/ruby/stargazers","contributors_url":"https://api.github.com/repos/NarineM/ruby/contributors","subscribers_url":"https://api.github.com/repos/NarineM/ruby/subscribers","subscription_url":"https://api.github.com/repos/NarineM/ruby/subscription","commits_url":"https://api.github.com/repos/NarineM/ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/NarineM/ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/NarineM/ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/NarineM/ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/NarineM/ruby/contents/{+path}","compare_url":"https://api.github.com/repos/NarineM/ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NarineM/ruby/merges","archive_url":"https://api.github.com/repos/NarineM/ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NarineM/ruby/downloads","issues_url":"https://api.github.com/repos/NarineM/ruby/issues{/number}","pulls_url":"https://api.github.com/repos/NarineM/ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/NarineM/ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/NarineM/ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NarineM/ruby/labels{/name}","releases_url":"https://api.github.com/repos/NarineM/ruby/releases{/id}","deployments_url":"https://api.github.com/repos/NarineM/ruby/deployments","created_at":"2016-10-25T05:46:12Z","updated_at":"2016-10-25T05:46:31Z","pushed_at":"2016-10-25T05:54:27Z","git_url":"git://github.com/NarineM/ruby.git","ssh_url":"git@github.com:NarineM/ruby.git","clone_url":"https://github.com/NarineM/ruby.git","svn_url":"https://github.com/NarineM/ruby","homepage":"http://www.ruby-lang.org/","size":202178,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"trunk"}},"base":{"label":"ruby:trunk","ref":"trunk","sha":"d977cd4e0af5233a6de97f06ed143b2753d2e0e9","user":{"login":"ruby","id":210414,"avatar_url":"https://avatars.githubusercontent.com/u/210414?v=3","gravatar_id":"","url":"https://api.github.com/users/ruby","html_url":"https://github.com/ruby","followers_url":"https://api.github.com/users/ruby/followers","following_url":"https://api.github.com/users/ruby/following{/other_user}","gists_url":"https://api.github.com/users/ruby/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby/subscriptions","organizations_url":"https://api.github.com/users/ruby/orgs","repos_url":"https://api.github.com/users/ruby/repos","events_url":"https://api.github.com/users/ruby/events{/privacy}","received_events_url":"https://api.github.com/users/ruby/received_events","type":"Organization","site_admin":false},"repo":{"id":538746,"name":"ruby","full_name":"ruby/ruby","owner":{"login":"ruby","id":210414,"avatar_url":"https://avatars.githubusercontent.com/u/210414?v=3","gravatar_id":"","url":"https://api.github.com/users/ruby","html_url":"https://github.com/ruby","followers_url":"https://api.github.com/users/ruby/followers","following_url":"https://api.github.com/users/ruby/following{/other_user}","gists_url":"https://api.github.com/users/ruby/gists{/gist_id}","starred_url":"https://api.github.com/users/ruby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruby/subscriptions","organizations_url":"https://api.github.com/users/ruby/orgs","repos_url":"https://api.github.com/users/ruby/repos","events_url":"https://api.github.com/users/ruby/events{/privacy}","received_events_url":"https://api.github.com/users/ruby/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ruby/ruby","description":"The Ruby Programming Language","fork":false,"url":"https://api.github.com/repos/ruby/ruby","forks_url":"https://api.github.com/repos/ruby/ruby/forks","keys_url":"https://api.github.com/repos/ruby/ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ruby/ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ruby/ruby/teams","hooks_url":"https://api.github.com/repos/ruby/ruby/hooks","issue_events_url":"https://api.github.com/repos/ruby/ruby/issues/events{/number}","events_url":"https://api.github.com/repos/ruby/ruby/events","assignees_url":"https://api.github.com/repos/ruby/ruby/assignees{/user}","branches_url":"https://api.github.com/repos/ruby/ruby/branches{/branch}","tags_url":"https://api.github.com/repos/ruby/ruby/tags","blobs_url":"https://api.github.com/repos/ruby/ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ruby/ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ruby/ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/ruby/ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ruby/ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/ruby/ruby/languages","stargazers_url":"https://api.github.com/repos/ruby/ruby/stargazers","contributors_url":"https://api.github.com/repos/ruby/ruby/contributors","subscribers_url":"https://api.github.com/repos/ruby/ruby/subscribers","subscription_url":"https://api.github.com/repos/ruby/ruby/subscription","commits_url":"https://api.github.com/repos/ruby/ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/ruby/ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/ruby/ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/ruby/ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/ruby/ruby/contents/{+path}","compare_url":"https://api.github.com/repos/ruby/ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ruby/ruby/merges","archive_url":"https://api.github.com/repos/ruby/ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ruby/ruby/downloads","issues_url":"https://api.github.com/repos/ruby/ruby/issues{/number}","pulls_url":"https://api.github.com/repos/ruby/ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/ruby/ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/ruby/ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ruby/ruby/labels{/name}","releases_url":"https://api.github.com/repos/ruby/ruby/releases{/id}","deployments_url":"https://api.github.com/repos/ruby/ruby/deployments","created_at":"2010-02-27T15:55:23Z","updated_at":"2016-10-25T04:53:23Z","pushed_at":"2016-10-25T05:56:50Z","git_url":"git://github.com/ruby/ruby.git","ssh_url":"git@github.com:ruby/ruby.git","clone_url":"https://github.com/ruby/ruby.git","svn_url":"https://github.com/ruby/ruby","homepage":"http://www.ruby-lang.org/","size":202178,"stargazers_count":10814,"watchers_count":10814,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":3089,"mirror_url":null,"open_issues_count":156,"forks":3089,"open_issues":156,"watchers":10814,"default_branch":"trunk"}},"_links":{"self":{"href":"https://api.github.com/repos/ruby/ruby/pulls/1467"},"html":{"href":"https://github.com/ruby/ruby/pull/1467"},"issue":{"href":"https://api.github.com/repos/ruby/ruby/issues/1467"},"comments":{"href":"https://api.github.com/repos/ruby/ruby/issues/1467/comments"},"review_comments":{"href":"https://api.github.com/repos/ruby/ruby/pulls/1467/comments"},"review_comment":{"href":"https://api.github.com/repos/ruby/ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ruby/ruby/pulls/1467/commits"},"statuses":{"href":"https://api.github.com/repos/ruby/ruby/statuses/0efeb4a39dd7901d660174d7f7fc9b7316f5f643"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"NarineM"}}