{"action":"created","issue":{"url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/152","repository_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc","labels_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/152/comments","events_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/152/events","html_url":"https://github.com/bazelbuild/rules_foreign_cc/issues/152","id":380935328,"node_id":"MDU6SXNzdWUzODA5MzUzMjg=","number":152,"title":"sandbox builds search in non-existent directories","user":{"login":"bbarnes52","id":5430846,"node_id":"MDQ6VXNlcjU0MzA4NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/5430846?v=4","gravatar_id":"","url":"https://api.github.com/users/bbarnes52","html_url":"https://github.com/bbarnes52","followers_url":"https://api.github.com/users/bbarnes52/followers","following_url":"https://api.github.com/users/bbarnes52/following{/other_user}","gists_url":"https://api.github.com/users/bbarnes52/gists{/gist_id}","starred_url":"https://api.github.com/users/bbarnes52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbarnes52/subscriptions","organizations_url":"https://api.github.com/users/bbarnes52/orgs","repos_url":"https://api.github.com/users/bbarnes52/repos","events_url":"https://api.github.com/users/bbarnes52/events{/privacy}","received_events_url":"https://api.github.com/users/bbarnes52/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-11-14T23:38:37Z","updated_at":"2018-11-16T20:42:26Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"```\r\nCMake Error at /blaze/a08c2e4811c846650b733c6fc815a920/sandbox/processwrapper-sandbox/1/execroot/__main__/bazel_foreign_cc_deps_rosgraph_msgs/cpp_common/share/cpp_common/cmake/cpp_commonConfig.cmake:113 (message):\r\n  Project 'cpp_common' specifies\r\n  '/blaze/a08c2e4811c846650b733c6fc815a920/sandbox/processwrapper-sandbox/12/execroot/__main__/bazel_foreign_cc_deps_cpp_common/boost/include'\r\n  as an include dir, which is not found.  It does neither exist as an \r\n  absolute directory nor in '/tmp/tmp.COXdz1ZDYu/cpp_common//blaze/a08c2e4811c846650b733c6fc815a920/sandbox/processwrapper-sandbox/12/execroot/__main__/bazel_foreign_cc_deps_cpp_common/boost/include'.\r\n```\r\n\r\nthe cpp_commonConfig.cmake does exist, but it is in processwrapper-sandbox/1/execroot/__main__/bazel_foreign_cc_deps_rosgraph_msgs/boost/include\r\n\r\nif my understanding is correct, the config is being written to the appropriate location, but bazel is later searching in the wrong directory? \r\n\r\n[out.txt](https://github.com/bazelbuild/rules_foreign_cc/files/2583071/out.txt)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/comments/439521083","html_url":"https://github.com/bazelbuild/rules_foreign_cc/issues/152#issuecomment-439521083","issue_url":"https://api.github.com/repos/bazelbuild/rules_foreign_cc/issues/152","id":439521083,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTUyMTA4Mw==","user":{"login":"irengrig","id":6598461,"node_id":"MDQ6VXNlcjY1OTg0NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/6598461?v=4","gravatar_id":"","url":"https://api.github.com/users/irengrig","html_url":"https://github.com/irengrig","followers_url":"https://api.github.com/users/irengrig/followers","following_url":"https://api.github.com/users/irengrig/following{/other_user}","gists_url":"https://api.github.com/users/irengrig/gists{/gist_id}","starred_url":"https://api.github.com/users/irengrig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/irengrig/subscriptions","organizations_url":"https://api.github.com/users/irengrig/orgs","repos_url":"https://api.github.com/users/irengrig/repos","events_url":"https://api.github.com/users/irengrig/events{/privacy}","received_events_url":"https://api.github.com/users/irengrig/received_events","type":"User","site_admin":false},"created_at":"2018-11-16T20:42:26Z","updated_at":"2018-11-16T20:42:26Z","author_association":"COLLABORATOR","body":"Sorry for keeping you waiting. \r\nThank you for investigating it!\r\n\r\nYep it is a good idea to include *.cmake (or just *.cmake config) files into the pattern for replacing absolute paths. The only reason the pattern is there is parsing all files will add unnecessary overhead.\r\nYep, probably this was giving the wrong absolute path under some previous sandbox.\r\n\r\nYour PR is welcome!"}}
{"actor":{"display_login":"irengrig"}}