{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59665","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59665/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59665/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59665/events","html_url":"https://github.com/kubernetes/kubernetes/pull/59665","id":295950512,"number":59665,"title":"libffi-dev dependency added in fluentd-es-image Dockerfile to solve the docker build error","user":{"login":"talk2vino","id":8231899,"avatar_url":"https://avatars2.githubusercontent.com/u/8231899?v=4","gravatar_id":"","url":"https://api.github.com/users/talk2vino","html_url":"https://github.com/talk2vino","followers_url":"https://api.github.com/users/talk2vino/followers","following_url":"https://api.github.com/users/talk2vino/following{/other_user}","gists_url":"https://api.github.com/users/talk2vino/gists{/gist_id}","starred_url":"https://api.github.com/users/talk2vino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talk2vino/subscriptions","organizations_url":"https://api.github.com/users/talk2vino/orgs","repos_url":"https://api.github.com/users/talk2vino/repos","events_url":"https://api.github.com/users/talk2vino/events{/privacy}","received_events_url":"https://api.github.com/users/talk2vino/received_events","type":"User","site_admin":false},"labels":[{"id":414883982,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/approved","name":"approved","color":"0ffa16","default":false},{"id":477397085,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20no","name":"cncf-cla: no","color":"e11d21","default":false},{"id":200149833,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note","name":"release-note","color":"c2e0c6","default":false},{"id":253450793,"url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/XS","name":"size/XS","color":"009900","default":false}],"state":"closed","locked":false,"assignee":{"login":"crassirostris","id":1756505,"avatar_url":"https://avatars1.githubusercontent.com/u/1756505?v=4","gravatar_id":"","url":"https://api.github.com/users/crassirostris","html_url":"https://github.com/crassirostris","followers_url":"https://api.github.com/users/crassirostris/followers","following_url":"https://api.github.com/users/crassirostris/following{/other_user}","gists_url":"https://api.github.com/users/crassirostris/gists{/gist_id}","starred_url":"https://api.github.com/users/crassirostris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crassirostris/subscriptions","organizations_url":"https://api.github.com/users/crassirostris/orgs","repos_url":"https://api.github.com/users/crassirostris/repos","events_url":"https://api.github.com/users/crassirostris/events{/privacy}","received_events_url":"https://api.github.com/users/crassirostris/received_events","type":"User","site_admin":false},"assignees":[{"login":"crassirostris","id":1756505,"avatar_url":"https://avatars1.githubusercontent.com/u/1756505?v=4","gravatar_id":"","url":"https://api.github.com/users/crassirostris","html_url":"https://github.com/crassirostris","followers_url":"https://api.github.com/users/crassirostris/followers","following_url":"https://api.github.com/users/crassirostris/following{/other_user}","gists_url":"https://api.github.com/users/crassirostris/gists{/gist_id}","starred_url":"https://api.github.com/users/crassirostris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crassirostris/subscriptions","organizations_url":"https://api.github.com/users/crassirostris/orgs","repos_url":"https://api.github.com/users/crassirostris/repos","events_url":"https://api.github.com/users/crassirostris/events{/privacy}","received_events_url":"https://api.github.com/users/crassirostris/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-02-09T17:35:12Z","updated_at":"2018-02-13T01:37:49Z","closed_at":"2018-02-13T01:37:48Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/59665","html_url":"https://github.com/kubernetes/kubernetes/pull/59665","diff_url":"https://github.com/kubernetes/kubernetes/pull/59665.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/59665.patch"},"body":"<!--  Thanks for sending a pull request!  Here are some tips for you:\r\n1. If this is your first time, read our contributor guidelines https://git.k8s.io/community/contributors/devel/pull-requests.md#the-pr-submit-process and developer guide https://git.k8s.io/community/contributors/devel/development.md#development-guide\r\n2. If you want *faster* PR reviews, read how: https://git.k8s.io/community/contributors/devel/pull-requests.md#best-practices-for-faster-reviews\r\n3. Follow the instructions for writing a release note: https://git.k8s.io/community/contributors/devel/pull-requests.md#write-release-notes-if-needed\r\n4. If the PR is unfinished, see how to mark it: https://github.com/kubernetes/community/blob/master/contributors/devel/pull-requests.md#marking-unfinished-pull-requests\r\n-->\r\n\r\n**What this PR does / why we need it**:\r\n\r\nNot able to build the docker images for fluentd-es-image. The docker build shows the error like below\r\n\r\n```\r\nInstalling fluent-plugin-elasticsearch (2.4.1)\r\nInstalling ffi (1.9.21)\r\nBuilding native extensions.  This could take a while...\r\nERROR:  While executing gem ... (Gem::Ext::BuildError)\r\n    ERROR: Failed to build gem native extension.\r\n\r\n    current directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c\r\n/usr/bin/ruby2.3 -r ./siteconf20180209-4127-3e9tjv.rb extconf.rb\r\nchecking for ffi.h... no\r\nchecking for ffi.h in /usr/local/include,/usr/include/ffi... no\r\nchecking for shlwapi.h... no\r\nchecking for rb_thread_blocking_region()... no\r\nchecking for rb_thread_call_with_gvl()... yes\r\nchecking for rb_thread_call_without_gvl()... yes\r\ncreating extconf.h\r\ncreating Makefile\r\n\r\nTo see why this extension failed to compile, please check the mkmf.log which can be found here:\r\n\r\n  /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.21/mkmf.log\r\n\r\ncurrent directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c\r\nmake \"DESTDIR=\" clean\r\n\r\ncurrent directory: /var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c\r\nmake \"DESTDIR=\"\r\nRunning autoreconf for libffi\r\n/var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c/libffi/autogen.sh: 2: exec: autoreconf: not found\r\nlibffi.mk:6: recipe for target '\"/var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c/libffi-x86_64-linux-gnu\"/.libs/libffi_convenience.a' failed\r\nmake: *** [\"/var/lib/gems/2.3.0/gems/ffi-1.9.21/ext/ffi_c/libffi-x86_64-linux-gnu\"/.libs/libffi_convenience.a] Error 127\r\n\r\nmake failed, exit code 2\r\n\r\nGem files will remain installed in /var/lib/gems/2.3.0/gems/ffi-1.9.21 for inspection.\r\nResults logged to /var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/ffi-1.9.21/gem_make.out\r\nThe command '/bin/sh -c BUILD_DEPS=\"make gcc g++ libc6-dev ruby-dev\"     && clean-install $BUILD_DEPS                      ca-certificates                      libjemalloc1                      ruby     && echo 'gem: --no-document' >> /etc/gemrc     && gem install --file Gemfile     && apt-get purge -y --auto-remove                      -o APT::AutoRemove::RecommendsImportant=false                      $BUILD_DEPS     && clean-apt     && ulimit -n 65536' returned a non-zero code: 1\r\n```\r\nadded the libffi-dev dependency solves the build error.\r\n\r\n<!--  Write your release note:\r\n1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string \"action required\".\r\n2. If no release note is required, just write \"NONE\".\r\n-->\r\n```release-note\r\nAdded libffi-dev package to the Build Dependencies\r\n```"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/365122680","html_url":"https://github.com/kubernetes/kubernetes/pull/59665#issuecomment-365122680","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/59665","id":365122680,"user":{"login":"talk2vino","id":8231899,"avatar_url":"https://avatars2.githubusercontent.com/u/8231899?v=4","gravatar_id":"","url":"https://api.github.com/users/talk2vino","html_url":"https://github.com/talk2vino","followers_url":"https://api.github.com/users/talk2vino/followers","following_url":"https://api.github.com/users/talk2vino/following{/other_user}","gists_url":"https://api.github.com/users/talk2vino/gists{/gist_id}","starred_url":"https://api.github.com/users/talk2vino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/talk2vino/subscriptions","organizations_url":"https://api.github.com/users/talk2vino/orgs","repos_url":"https://api.github.com/users/talk2vino/repos","events_url":"https://api.github.com/users/talk2vino/events{/privacy}","received_events_url":"https://api.github.com/users/talk2vino/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T01:37:48Z","updated_at":"2018-02-13T01:37:48Z","author_association":"NONE","body":"Thanks @crassirostris I change the release note to NONE"}}
{"actor":{"display_login":"talk2vino"}}