Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

bazel 0.27.1 deprecated API usages #113

@captify-akraievoy

Description

@captify-akraievoy

there are four errors with last maybe caused by some missing configuration entries or something.


zzzap/external/subpar/compiler/BUILD:40:1: in parfile rule @subpar//compiler:compiler.par: 
Traceback (most recent call last):
	File "zzap/external/subpar/compiler/BUILD", line 40
		parfile(name = 'compiler.par')
	File "zzzap/external/subpar/subpar.bzl", line 28, in _parfile_impl
		main_py_file not in ctx.attr.src.data_runfiles.files
argument of type 'depset' is not iterable. in operator only works on lists, tuples, dicts and strings. Use --incompatible_depset_is_not_iterable=false to temporarily disable this check.```

zzzap/external/subpar/compiler/BUILD:40:1: in parfile rule @subpar//compiler:compiler.par: 
Traceback (most recent call last):
	File zzzap/external/subpar/compiler/BUILD", line 40
		parfile(name = 'compiler.par')
	File "zzzap/external/subpar/subpar.bzl", line 55, in _parfile_impl
		ctx.new_file((ctx.label.name + "_SOURCES"))
Use ctx.actions.declare_file instead of ctx.new_file. 
Use --incompatible_new_actions_api=false to temporarily disable this check.

zzzap/external/subpar/compiler/BUILD:40:1: in parfile rule @subpar//compiler:compiler.par: 
Traceback (most recent call last):
	File "zzzap/external/subpar/compiler/BUILD", line 40
		parfile(name = 'compiler.par')
	File "zzzap/external/subpar/subpar.bzl", line 79, in _parfile_impl
		ctx.action(inputs = (inputs + extra_inputs), <5 more arguments>)
Found tool(s) 'bazel-out/host/bin/external/subpar/compiler/compiler', 'bazel-out/host/bin/external/subpar/compiler/compiler' 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.

Building par file //zzzap:zzzap_par.par failed (Exit 1) compiler.par failed: error executing command bazel-out/host/bin/external/subpar/compiler/compiler.par --manifest_file bazel-out/k8-fastbuild/bin/zzzap/zzzap_par.par_SOURCES --outputpar ... (remaining 4 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
src/main/tools/linux-sandbox-pid1.cc:427: "execvp(bazel-out/host/bin/external/subpar/compiler/compiler.par, 0x2305950)": No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions