Skip to content

FRR does not compile with libyang 5.4.9 #21454

@dpward

Description

@dpward

Description

CESNET/libyang@2f58b41 removed the definition of enum LYD_ANYDATA_VALUETYPE. This type is used by a parameter to yang_new_path2() — which is actually a wrapper around libyang's lyd_new_path2(). The latter function has replaced this parameter with another that has a different type.

Version

10.6.0

How to reproduce

Build FRR with the libyang 5.4.9 development files present

Expected behavior

Successful build

Actual behavior

In file included from lib/northbound.h:14,
                 from lib/routing_nb_config.c:9:
lib/yang.h:968:30: error: unknown type name 'LYD_ANYDATA_VALUETYPE'
  968 |                              LYD_ANYDATA_VALUETYPE value_type, uint32_t options,
      |                              ^~~~~~~~~~~~~~~~~~~~~

Additional context

This issue is more recent than #20243 (which I assume can be closed now?)

Checklist

  • I have searched the open issues for this bug.
  • I have not included sensitive information in this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageNeeds further investigation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions