diff mbox series

[meta-oe,11/38] libyang: upgrade 3.13.6 -> 4.2.2

Message ID 20251209095552.690-11-wangmy@fujitsu.com
State New
Headers show
Series [meta-oe,01/38] boost-sml: upgrade 1.1.12 -> 1.1.13 | expand

Commit Message

Wang Mingyu Dec. 9, 2025, 9:55 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
=============
- new SO version 4
- major LYB binary format optimizations
- user-ordered lists diff fixes
- validation optimizations
- lots of other bugfixes and improvements

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../libyang/{libyang_3.13.6.bb => libyang_4.2.2.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-extended/libyang/{libyang_3.13.6.bb => libyang_4.2.2.bb} (96%)

Comments

Khem Raj Dec. 9, 2025, 11:13 p.m. UTC | #1
frr is only consumer of this recipe atleast in meta-openembedded repo and
it is not yet ported to libyang4 until then lets stick to libyang 3

| lib/northbound.c: In function 'nb_config_diff':
| lib/northbound.c:641:36: error: 'LYD_PRINT_WITHSIBLINGS' undeclared
(first use in this function); did you mean 'LYD_PRINT_SIBLINGS'?
|   641 |                                    LYD_PRINT_WITHSIBLINGS |
LYD_PRINT_WD_ALL)) {
|       |                                    ^~~~~~~~~~~~~~~~~~~~~~
|       |                                    LYD_PRINT_SIBLINGS
| lib/northbound.c:641:36: note: each undeclared identifier is
reported only once for each function it appears in
| lib/northbound.c: In function 'nb_cb_operation_is_valid':
| lib/northbound.c:2273:29: error: invalid operands to binary || (have
'int' and 'struct lysc_value')
|  2273 |                             || sleaf->dflt)
|       |                             ^~ ~~~~~~~~~~~
|       |                                     |
|       |                                     struct lysc_value



On Tue, Dec 9, 2025 at 1:56 AM wangmy via lists.openembedded.org <wangmy=
fujitsu.com@lists.openembedded.org> wrote:

> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Changelog:
> =============
> - new SO version 4
> - major LYB binary format optimizations
> - user-ordered lists diff fixes
> - validation optimizations
> - lots of other bugfixes and improvements
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../libyang/{libyang_3.13.6.bb => libyang_4.2.2.bb}             | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>  rename meta-oe/recipes-extended/libyang/{libyang_3.13.6.bb =>
> libyang_4.2.2.bb} (96%)
>
> diff --git a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
> b/meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
> similarity index 96%
> rename from meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
> rename to meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
> index 822c30ba24..4b2ceaaa17 100644
> --- a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
> +++ b/meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
> @@ -6,7 +6,7 @@ LICENSE = "BSD-3-Clause"
>
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=b69fd3b2815bbf1cef5c97f0eee2519a"
>
> -SRCREV = "c2ddd01b9b810a30d6a7d6749a3bc9adeb7b01fb"
> +SRCREV = "3d07c3a71534a580c3960907da17568eff7e5c64"
>
>  SRC_URI = "git://
> github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV}
> <http://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v$%7BPV%7D>
> \
>             file://0001-test_context-skip-test-case-test_searchdirs.patch \
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122415):
> https://lists.openembedded.org/g/openembedded-devel/message/122415
> Mute This Topic: https://lists.openembedded.org/mt/116691544/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb b/meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
similarity index 96%
rename from meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
rename to meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
index 822c30ba24..4b2ceaaa17 100644
--- a/meta-oe/recipes-extended/libyang/libyang_3.13.6.bb
+++ b/meta-oe/recipes-extended/libyang/libyang_4.2.2.bb
@@ -6,7 +6,7 @@  LICENSE = "BSD-3-Clause"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b69fd3b2815bbf1cef5c97f0eee2519a"
 
-SRCREV = "c2ddd01b9b810a30d6a7d6749a3bc9adeb7b01fb"
+SRCREV = "3d07c3a71534a580c3960907da17568eff7e5c64"
 
 SRC_URI = "git://github.com/CESNET/libyang.git;branch=master;protocol=https;tag=v${PV} \
            file://0001-test_context-skip-test-case-test_searchdirs.patch \