Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build Bazel from bazel-distfile.tar #11741

Closed
katre opened this issue Jul 10, 2020 · 0 comments
Closed

Cannot build Bazel from bazel-distfile.tar #11741

katre opened this issue Jul 10, 2020 · 0 comments
Assignees
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug

Comments

@katre
Copy link
Member

katre commented Jul 10, 2020

Error is:

ERROR: /tmp/dist/third_party/BUILD:568:8: Executing genrule //third_party:filter_netty_dynamic_libs failed (Exit 15): bash failed: error executing command 
  (cd /tmp/bazel_Gs7t3gE3/out/execroot/io_bazel && \
  exec env - \
    PATH=/usr/local/google/home/jcater/.local/bin:/usr/local/google/home/jcater/bin:/usr/local/google/home/jcater/.local/bin:/usr/local/google/home/jcater/bin:/usr/local/google/home/jcater/.local/bin:/usr/local/google/home/jcater/bin:/usr/lib/google-golang/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
  /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; cp third_party/netty_tcnative/netty-tcnative-boringssl-static-2.0.24.Final.jar bazel-out/k8-opt/bin/third_party/netty_tcnative/netty-tcnative-filtered.jar && if [ -n '\''*.jnilib *.dll'\'' ]; then zip -qd bazel-out/k8-opt/bin/third_party/netty_tcnative/netty-tcnative-filtered.jar *.jnilib *.dll; fi')
Execution platform: //:default_host_platform
zip I/O error: Permission denied
zip error: Could not create output file (bazel-out/k8-opt/bin/third_party/netty_tcnative/netty-tcnative-filtered.jar)
@katre katre added type: bug P2 We'll consider working on this in future. (Assignee optional) labels Jul 10, 2020
@katre katre self-assigned this Jul 10, 2020
katre added a commit to katre/bazel that referenced this issue Jul 10, 2020
source isn't writable.

This happens, for example, with the output from bazel-distfile.tar.

Part of bazelbuild#11741.
katre added a commit to katre/bazel that referenced this issue Jul 10, 2020
bazel-io pushed a commit that referenced this issue Jul 10, 2020
source isn't writable.

This happens, for example, with the output from bazel-distfile.tar.

Part of #11741.

Closes #11742.
katre added a commit to katre/bazel that referenced this issue Jul 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P2 We'll consider working on this in future. (Assignee optional) type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant