Skip to content

Module "ietf-yang-library" parsing failed  #148

@fabioantonini1969

Description

@fabioantonini1969

Hi
I have downloaded libyang 0.10.210 and now I have problem to parse ietf-yang-library. For instance yanglint fails to start with the following traces.
Of course any other application using libyang fails to start with the same problem

~ # yanglint
libyang[2]: Reading module "yang".
libyang[2]: Module "yang" successfully parsed.
libyang[2]: Reading module "ietf-inet-types".
libyang[2]: Resolving derived type "union" failed, it will be attempted later.
libyang[2]: Resolving type default "(null)" failed, it will be attempted later.
libyang[2]: Resolving derived type "union" failed, it will be attempted later.
libyang[2]: Resolving type default "(null)" failed, it will be attempted later.
libyang[2]: Resolving derived type "union" failed, it will be attempted later.
libyang[2]: Resolving type default "(null)" failed, it will be attempted later.
libyang[2]: Resolving derived type "union" failed, it will be attempted later.
libyang[2]: Resolving type default "(null)" failed, it will be attempted later.
libyang[2]: Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
libyang[2]: All "ietf-inet-types" schema nodes and constraints resolved.
libyang[2]: Module "ietf-inet-types" successfully parsed.
libyang[2]: Reading module "ietf-yang-types".
libyang[2]: Module "ietf-yang-types" successfully parsed.
libyang[2]: Reading module "ietf-yang-library".
libyang[2]: Resolving uses "common-leafs" failed, it will be attempted later.
libyang[2]: Resolving uses "schema-leaf" failed, it will be attempted later.
libyang[2]: Resolving uses "common-leafs" failed, it will be attempted later.
libyang[2]: Resolving list keys "name revision" failed, it will be attempted later.
libyang[2]: Resolving uses "common-leafs" failed, it will be attempted later.
libyang[2]: Resolving uses "schema-leaf" failed, it will be attempted later.
libyang[2]: Resolving list keys "name revision" failed, it will be attempted later.
libyang[2]: Resolving list keys "name revision" failed, it will be attempted later.
libyang[2]: Resolving uses "module-list" failed, it will be attempted later.
libyang[2]: Resolving "ietf-yang-library" unresolved schema nodes and their constraints...
libyang[0]: Module "ietf-yang-library" parsing failed.
Failed to create context.

What's happening?
The problem occurs also with 0.10.211 downloaded this morning.
It doesn't occur with the 0.9.186
What am I missing?
Thanks a lot
fabio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions