{"action":"created","issue":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5349","repository_url":"https://api.github.com/repos/tensorflow/tensorflow","labels_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5349/labels{/name}","comments_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5349/comments","events_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5349/events","html_url":"https://github.com/tensorflow/tensorflow/issues/5349","id":186746170,"number":5349,"title":"Include libcurl into the bazel build","user":{"login":"llhe","id":192829,"avatar_url":"https://avatars.githubusercontent.com/u/192829?v=3","gravatar_id":"","url":"https://api.github.com/users/llhe","html_url":"https://github.com/llhe","followers_url":"https://api.github.com/users/llhe/followers","following_url":"https://api.github.com/users/llhe/following{/other_user}","gists_url":"https://api.github.com/users/llhe/gists{/gist_id}","starred_url":"https://api.github.com/users/llhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llhe/subscriptions","organizations_url":"https://api.github.com/users/llhe/orgs","repos_url":"https://api.github.com/users/llhe/repos","events_url":"https://api.github.com/users/llhe/events{/privacy}","received_events_url":"https://api.github.com/users/llhe/received_events","type":"User","site_admin":false},"labels":[{"id":473173351,"url":"https://api.github.com/repos/tensorflow/tensorflow/labels/type:build/install","name":"type:build/install","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"jart","id":49262,"avatar_url":"https://avatars.githubusercontent.com/u/49262?v=3","gravatar_id":"","url":"https://api.github.com/users/jart","html_url":"https://github.com/jart","followers_url":"https://api.github.com/users/jart/followers","following_url":"https://api.github.com/users/jart/following{/other_user}","gists_url":"https://api.github.com/users/jart/gists{/gist_id}","starred_url":"https://api.github.com/users/jart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jart/subscriptions","organizations_url":"https://api.github.com/users/jart/orgs","repos_url":"https://api.github.com/users/jart/repos","events_url":"https://api.github.com/users/jart/events{/privacy}","received_events_url":"https://api.github.com/users/jart/received_events","type":"User","site_admin":false},"assignees":[{"login":"jart","id":49262,"avatar_url":"https://avatars.githubusercontent.com/u/49262?v=3","gravatar_id":"","url":"https://api.github.com/users/jart","html_url":"https://github.com/jart","followers_url":"https://api.github.com/users/jart/followers","following_url":"https://api.github.com/users/jart/following{/other_user}","gists_url":"https://api.github.com/users/jart/gists{/gist_id}","starred_url":"https://api.github.com/users/jart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jart/subscriptions","organizations_url":"https://api.github.com/users/jart/orgs","repos_url":"https://api.github.com/users/jart/repos","events_url":"https://api.github.com/users/jart/events{/privacy}","received_events_url":"https://api.github.com/users/jart/received_events","type":"User","site_admin":false},{"login":"agarwal-ashish","id":19335798,"avatar_url":"https://avatars.githubusercontent.com/u/19335798?v=3","gravatar_id":"","url":"https://api.github.com/users/agarwal-ashish","html_url":"https://github.com/agarwal-ashish","followers_url":"https://api.github.com/users/agarwal-ashish/followers","following_url":"https://api.github.com/users/agarwal-ashish/following{/other_user}","gists_url":"https://api.github.com/users/agarwal-ashish/gists{/gist_id}","starred_url":"https://api.github.com/users/agarwal-ashish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agarwal-ashish/subscriptions","organizations_url":"https://api.github.com/users/agarwal-ashish/orgs","repos_url":"https://api.github.com/users/agarwal-ashish/repos","events_url":"https://api.github.com/users/agarwal-ashish/events{/privacy}","received_events_url":"https://api.github.com/users/agarwal-ashish/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2016-11-02T09:10:21Z","updated_at":"2016-12-08T07:51:12Z","closed_at":null,"body":"Currently tensorflow serving project will build gcs_file_system target which may fail, with the following message:\r\n```\r\nERROR: /home/heliangliang/work/tensorflow/tensorflow/core/platform/cloud/BUILD:49:1: C++ compilation of rule '//tensorflow/core/platform/cloud:http_request' failed: gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE '-D_FORTIFY_SOURCE=1' -fstack-protector -Wall -Wl,-z,-relro,-z,now -B/usr/bin -B/usr/bin -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-canonical-system-headers ... (remaining 100 argument(s) skipped): com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.\r\nIn file included from ./tensorflow/core/platform/cloud/http_request.h:22:0,\r\n                 from tensorflow/core/platform/cloud/http_request.cc:16:\r\ntensorflow/core/platform/cloud/http_request.cc: In member function 'virtual tensorflow::Status tensorflow::HttpRequest::Init()':\r\ntensorflow/core/platform/cloud/http_request.cc:219:30: error: 'CURL_HTTP_VERSION_2_0' was not declared in this scope\r\n                              CURL_HTTP_VERSION_2_0);\r\n```\r\n\r\nThe reason is gcs_file_system dependens on libcurl 7.33.0+, and this is higher than the default package versions of many Linux distros.\r\n\r\nIt's better to include libcurl as bazel build library instead of using the system one."},"comment":{"url":"https://api.github.com/repos/tensorflow/tensorflow/issues/comments/265675358","html_url":"https://github.com/tensorflow/tensorflow/issues/5349#issuecomment-265675358","issue_url":"https://api.github.com/repos/tensorflow/tensorflow/issues/5349","id":265675358,"user":{"login":"gunan","id":7946809,"avatar_url":"https://avatars.githubusercontent.com/u/7946809?v=3","gravatar_id":"","url":"https://api.github.com/users/gunan","html_url":"https://github.com/gunan","followers_url":"https://api.github.com/users/gunan/followers","following_url":"https://api.github.com/users/gunan/following{/other_user}","gists_url":"https://api.github.com/users/gunan/gists{/gist_id}","starred_url":"https://api.github.com/users/gunan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gunan/subscriptions","organizations_url":"https://api.github.com/users/gunan/orgs","repos_url":"https://api.github.com/users/gunan/repos","events_url":"https://api.github.com/users/gunan/events{/privacy}","received_events_url":"https://api.github.com/users/gunan/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T07:51:12Z","updated_at":"2016-12-08T07:51:12Z","body":"Would adding libcurl dependency work in windows?\r\nOr does windows make things infeasible here?"}}
{"actor":{"display_login":"gunan"}}