bazel-contrib / bazel-contrib/rules_scala

Found tool(s) 'external/bazel_tools/tools/zip/zipper/zipper' in inputs.

Open
#596 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
384
Forks
292
Avg merge
2d 22h
Merged PRs (30d)
47

Description

```
external/io_bazel_rules_scala/scala/private/rule_impls.bzl", line 106, in _build_nosrc_jar
ctx.actions.run_shell(inputs = inputs, outputs = outs, com..., <2 more arguments>)
Found tool(s) 'external/bazel_tools/tools/zip/zipper/zipper' in inputs. A tool is
an input with executable=True set. All tools should be passed using the
'tools' argument instead of 'inputs' in order to make their runfiles available
to the action. This safety check will not be performed once the action is
modified to take a 'tools' argument. To temporarily disable this check, set
--incompatible_no_support_tools_in_action_inputs=false.
```

Contributor guide

Open the contributing guide

Research direction

Start at external/io_bazel_rules_scala/scala/private/rule_impls.bzl, line 106, where _build_nosrc_jar invokes ctx.actions.run_shell. Reproduce or inspect the action involving external/bazel_tools/tools/zip/zipper/zipper, then verify the safety-check warning is gone and the action still completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.