{"action":"created","issue":{"url":"https://api.github.com/repos/pubref/rules_protobuf/issues/34","repository_url":"https://api.github.com/repos/pubref/rules_protobuf","labels_url":"https://api.github.com/repos/pubref/rules_protobuf/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/pubref/rules_protobuf/issues/34/comments","events_url":"https://api.github.com/repos/pubref/rules_protobuf/issues/34/events","html_url":"https://github.com/pubref/rules_protobuf/issues/34","id":187542456,"number":34,"title":"Cannot build, anymore (java_proto_library)","user":{"login":"kd8azz","id":2608247,"avatar_url":"https://avatars.githubusercontent.com/u/2608247?v=3","gravatar_id":"","url":"https://api.github.com/users/kd8azz","html_url":"https://github.com/kd8azz","followers_url":"https://api.github.com/users/kd8azz/followers","following_url":"https://api.github.com/users/kd8azz/following{/other_user}","gists_url":"https://api.github.com/users/kd8azz/gists{/gist_id}","starred_url":"https://api.github.com/users/kd8azz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kd8azz/subscriptions","organizations_url":"https://api.github.com/users/kd8azz/orgs","repos_url":"https://api.github.com/users/kd8azz/repos","events_url":"https://api.github.com/users/kd8azz/events{/privacy}","received_events_url":"https://api.github.com/users/kd8azz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-06T05:05:26Z","updated_at":"2016-11-06T17:03:12Z","closed_at":null,"body":"Hey,\r\n\r\nI've been at this for several hours and honestly don't remember what started it, but as of today, java_proto_library stopped working on my machine.\r\n\r\nI have installed the latest bazel (https://github.com/bazelbuild/bazel, tag 0.4.0).\r\nI have incremented the version of pubref/rules_protobuf I use.\r\n\r\nWORKSPACE\r\n```\r\ngit_repository(\r\n  name = \"org_pubref_rules_protobuf\",\r\n  remote = \"https://github.com/pubref/rules_protobuf\",\r\n  tag = \"v0.7.0\",\r\n)\r\n```\r\n\r\nBUILD\r\n```\r\nload(\"@org_pubref_rules_protobuf//java:rules.bzl\", \"java_proto_library\")\r\n\r\njava_proto_library(\r\n  name = \"my_proto\",\r\n  protos = [\"my_proto.proto\"],\r\n  verbose = 1,\r\n)\r\n```\r\n\r\nOutput\r\n```\r\n $ bazel build src/main/project/... src/test/project/...\r\nWARNING: /home/user/.cache/bazel/_bazel_user/00bb1210de2173919b75bf7db0a13118/external/org_pubref_rules_protobuf/protobuf/internal/proto_compile.bzl:383:5: \r\n************************************************************\r\ncd $(bazel info execution_root) && bazel-out/host/bin/external/com_github_google_protobuf/protoc \\ \r\n--descriptor_set_out=bazel-out/local-fastbuild/genfiles/src/main/project/module/model/my_proto.pb.descriptor_set \\ \r\n--java_out=bazel-out/local-fastbuild/genfiles/src/main/project/module/model/my_proto.pb_java.jar \\ \r\n--plugin=protoc-gen-grpc-java=bazel-out/host/genfiles/external/org_pubref_rules_protobuf/java/protoc_gen_grpc_java \\ \r\n--grpc-java_out=bazel-out/local-fastbuild/genfiles/src/main/project/module/model/my_proto.pb_java.jar \\ \r\n--proto_path=. \\ \r\nsrc/main/project/module/model/my_proto.proto\r\n************************************************************\r\nsrc/main/project/module/model/my_proto.pb_java.jar\r\nsrc/main/project/module/model/my_proto.pb.descriptor_set\r\n************************************************************\r\n.\r\nINFO: Found 19 targets...\r\nERROR: /home/user/Source/Project/src/main/project/module/model/BUILD:5:1: error executing shell command: 'bazel-out/host/bin/external/com_github_google_protobuf/protoc --descriptor_set_out=bazel-out/local-fastbuild/genfiles/src/main/project/module/model/my_proto.pb.descriptor_set --java_out=bazel-out/loc...' failed: linux-sandbox failed: error executing command /home/user/.cache/bazel/_bazel_user/00bb1210de2173919b75bf7db0a13118/execroot/Project/_bin/linux-sandbox ... (remaining 5 argument(s) skipped).\r\n/bin/bash: bazel-out/host/bin/external/com_github_google_protobuf/protoc: No such file or directory\r\nINFO: Elapsed time: 21.015s, Critical Path: 0.95s\r\n```\r\n\r\nAnd finally,\r\n```\r\n$ cd `bazel info execution_root`\r\n$ pwd\r\n/home/user/.cache/bazel/_bazel_user/00bb1210de2173919b75bf7db0a13118/execroot/Project\r\n$ ls bazel-out/host/\r\ngenfiles\r\n```\r\n\r\nI'm really quite perplexed.  Any help would be appreciated."},"comment":{"url":"https://api.github.com/repos/pubref/rules_protobuf/issues/comments/258694340","html_url":"https://github.com/pubref/rules_protobuf/issues/34#issuecomment-258694340","issue_url":"https://api.github.com/repos/pubref/rules_protobuf/issues/34","id":258694340,"user":{"login":"pcj","id":50580,"avatar_url":"https://avatars.githubusercontent.com/u/50580?v=3","gravatar_id":"","url":"https://api.github.com/users/pcj","html_url":"https://github.com/pcj","followers_url":"https://api.github.com/users/pcj/followers","following_url":"https://api.github.com/users/pcj/following{/other_user}","gists_url":"https://api.github.com/users/pcj/gists{/gist_id}","starred_url":"https://api.github.com/users/pcj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcj/subscriptions","organizations_url":"https://api.github.com/users/pcj/orgs","repos_url":"https://api.github.com/users/pcj/repos","events_url":"https://api.github.com/users/pcj/events{/privacy}","received_events_url":"https://api.github.com/users/pcj/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T17:03:12Z","updated_at":"2016-11-06T17:03:12Z","body":"Looking into it.  Have not tested 0.4.0 yet, looks like a sandboxing issue.  Have you tried with `--spawn_strategy=standalone`? "}}
{"actor":{"display_login":"pcj"}}