{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/671","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/671/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/671/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/671/events","html_url":"https://github.com/bazelbuild/bazel/issues/671","id":119891182,"number":671,"title":"pkg_tar() does not include the runfile tree when taring.","user":{"login":"chin33z","id":9004801,"avatar_url":"https://avatars.githubusercontent.com/u/9004801?v=3","gravatar_id":"","url":"https://api.github.com/users/chin33z","html_url":"https://github.com/chin33z","followers_url":"https://api.github.com/users/chin33z/followers","following_url":"https://api.github.com/users/chin33z/following{/other_user}","gists_url":"https://api.github.com/users/chin33z/gists{/gist_id}","starred_url":"https://api.github.com/users/chin33z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chin33z/subscriptions","organizations_url":"https://api.github.com/users/chin33z/orgs","repos_url":"https://api.github.com/users/chin33z/repos","events_url":"https://api.github.com/users/chin33z/events{/privacy}","received_events_url":"https://api.github.com/users/chin33z/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/cloud%20/%20appengine%20/%20docker","name":"cloud / appengine / docker","color":"fad8c7"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/feature%20request","name":"feature request","color":"84b6eb"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/P3","name":"P3","color":"0052cc"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/skylark%20build%20defs","name":"skylark build defs","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-02T08:30:31Z","updated_at":"2015-12-04T19:34:28Z","closed_at":null,"body":"When build with --dynamic_mode=fully, pkg_tar() only tars the \"files\" into the tarball. It does not include the shared library(located in the runfile tree) it needs. It would be nice if pkg_tar packing all the resources it needs. Thanks."},"comment":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/comments/162061400","html_url":"https://github.com/bazelbuild/bazel/issues/671#issuecomment-162061400","issue_url":"https://api.github.com/repos/bazelbuild/bazel/issues/671","id":162061400,"user":{"login":"damienmg","id":3721087,"avatar_url":"https://avatars.githubusercontent.com/u/3721087?v=3","gravatar_id":"","url":"https://api.github.com/users/damienmg","html_url":"https://github.com/damienmg","followers_url":"https://api.github.com/users/damienmg/followers","following_url":"https://api.github.com/users/damienmg/following{/other_user}","gists_url":"https://api.github.com/users/damienmg/gists{/gist_id}","starred_url":"https://api.github.com/users/damienmg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienmg/subscriptions","organizations_url":"https://api.github.com/users/damienmg/orgs","repos_url":"https://api.github.com/users/damienmg/repos","events_url":"https://api.github.com/users/damienmg/events{/privacy}","received_events_url":"https://api.github.com/users/damienmg/received_events","type":"User","site_admin":false},"created_at":"2015-12-04T19:34:28Z","updated_at":"2015-12-04T19:34:28Z","body":"@kamalmarhubi I mean to have all the files of runfiles tree present in a path on the tar like /execroot (or maybe that could be configurable with an attribute) then create the symlink forest for the runfiles tree\r\n\r\nThe execroot prefix is an ingoing discussion in the Bazel team and we have an in-flight design doc that will be send out to bazel-discuss@ in the next weeks (probably the week before christmas).\r\n"}}