Skip to content
Snippets Groups Projects

bst -C tests/integration/project show autotools/amhello.bst --format '%{name} sdf ${build-deps}'

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Chandan Singh
    Edited
    stracktrace.py 2.08 KiB
        Traceback (most recent call last):
          File "/home/kote/.venvs/bst/bin/bst", line 8, in <module>
            sys.exit(cli())
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/core.py", line 764, in __call__
            return self.main(*args, **kwargs)
          File "/home/kote/buildstream/buildstream/src/buildstream/_frontend/cli.py", line 280, in override_main
            original_main(self, args=args, prog_name=prog_name, complete_var=None, standalone_mode=standalone_mode, **extra)
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/core.py", line 717, in main
            rv = self.invoke(ctx)
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/core.py", line 1137, in invoke
            return _process_result(sub_ctx.command.invoke(sub_ctx))
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/core.py", line 956, in invoke
            return ctx.invoke(self.callback, **ctx.params)
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/core.py", line 555, in invoke
            return callback(*args, **kwargs)
          File "/home/kote/.venvs/bst/lib64/python3.7/site-packages/click/decorators.py", line 27, in new_func
            return f(get_current_context().obj, *args, **kwargs)
          File "/home/kote/buildstream/buildstream/src/buildstream/_frontend/cli.py", line 611, in show
            report = app.logger.show_pipeline(dependencies, format_)
          File "/home/kote/buildstream/buildstream/src/buildstream/_frontend/widget.py", line 345, in show_pipeline
            line = p.fmt_subst(line, "name", element._get_full_name(), fg="blue", bold=True)
          File "/home/kote/buildstream/buildstream/src/buildstream/_frontend/profile.py", line 76, in fmt_subst
            return re.sub(r"%(\{(" + varname + r")[^%]*\})", subst_callback, text)
          File "/usr/lib64/python3.7/re.py", line 192, in sub
            return _compile(pattern, flags).sub(repl, string, count)
          File "/home/kote/buildstream/buildstream/src/buildstream/_frontend/profile.py", line 70, in subst_callback
            formatted = inner_token.format(**{varname: value})
        KeyError: 'build-deps'
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment