All of lore.kernel.org
 help / color / mirror / Atom feed
* make dt_binding_check fails in linux-next
@ 2021-05-28 16:41 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2021-05-28 16:41 UTC (permalink / raw)
  To: Rob Herring; +Cc: open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS

Hi Rob,

I am trying to run 'make dt_binding_check' in linux-next 20210528 and
I get the error below.

Any suggestions?

Thanks

$ make dt_binding_check
  LINT    Documentation/devicetree/bindings
  CHKDT   Documentation/devicetree/bindings/processed-schema-examples.json
Traceback (most recent call last):
  File "/home/fabio/.local/bin/dt-doc-validate", line 67, in <module>
    ret = check_doc(f)
  File "/home/fabio/.local/bin/dt-doc-validate", line 33, in check_doc
    for error in
sorted(dtschema.DTValidator.iter_schema_errors(testtree), key=lambda
e: e.linecol):
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 723, in iter_schema_errors
    meta_schema = cls.resolver.resolve_from_url(schema['$schema'])
KeyError: '$schema'
  SCHEMA  Documentation/devicetree/bindings/processed-schema-examples.json
Traceback (most recent call last):
  File "/home/fabio/.local/bin/dt-mk-schema", line 38, in <module>
    schemas = dtschema.process_schemas(args.schemas, core_schema=(not
args.useronly))
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 587, in process_schemas
    sch = process_schema(os.path.abspath(filename))
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 568, in process_schema
    DTValidator.check_schema(schema)
  File "/home/fabio/.local/lib/python3.8/site-packages/dtschema/lib.py",
line 738, in check_schema
    meta_schema = cls.resolver.resolve_from_url(schema['$schema'])
KeyError: '$schema'
make[1]: *** [Documentation/devicetree/bindings/Makefile:62:
Documentation/devicetree/bindings/processed-schema-examples.json]
Error 1
make[1]: *** Deleting file
'Documentation/devicetree/bindings/processed-schema-examples.json'
make: *** [Makefile:1497: dt_binding_check] Error 2

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-28 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-28 16:41 make dt_binding_check fails in linux-next Fabio Estevam

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.