diff mbox series

[3/6] iproute2: upgrade 6.18.0 -> 6.19.0

Message ID 20260303133645.1449-3-andrej.kozemcak@siemens.com
State Accepted, archived
Commit 82eb19752be41c277380fbcc562816fba11faf76
Headers show
Series [1/6] ca-certificates: upgrade 20250419 -> 20260223 | expand

Commit Message

Andrej Kozemcak March 3, 2026, 1:36 p.m. UTC
Drop fix-musl.patch as it was merged upstream.

Changes:
  - new dpll command for managing Digital Phase-Locked Loop devices via netlink.
  - expanded CAN XL support
  - MPTCP improvements
  - devlink:
    - added support for 64‑bit parameters
    - added new SWITCHDEV_INACTIVE eswitch mode
    - added burst period configuration for health reporters
  - genl:
    - supports JSON output
  - ifstat, nstat, lnstat:
    - converted to use the high-level json_print API for unified JSON output

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
---
 .../iproute2/iproute2/fix-musl.patch          | 43 -------------------
 ...{iproute2_6.18.0.bb => iproute2_6.19.0.bb} |  3 +-
 2 files changed, 1 insertion(+), 45 deletions(-)
 delete mode 100644 meta/recipes-connectivity/iproute2/iproute2/fix-musl.patch
 rename meta/recipes-connectivity/iproute2/{iproute2_6.18.0.bb => iproute2_6.19.0.bb} (96%)

Comments

Mathieu Dubois-Briand March 4, 2026, 5:39 p.m. UTC | #1
On Tue Mar 3, 2026 at 2:36 PM CET, Andrej Kozemcak via lists.openembedded.org wrote:
> Drop fix-musl.patch as it was merged upstream.
>
> Changes:
>   - new dpll command for managing Digital Phase-Locked Loop devices via netlink.
>   - expanded CAN XL support
>   - MPTCP improvements
>   - devlink:
>     - added support for 64‑bit parameters
>     - added new SWITCHDEV_INACTIVE eswitch mode
>     - added burst period configuration for health reporters
>   - genl:
>     - supports JSON output
>   - ifstat, nstat, lnstat:
>     - converted to use the high-level json_print API for unified JSON output
>
> Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
> ---

Hi Andrej,

Thanks for the upgrade.

It looks like we have some build issues with this new version:

ERROR: iproute2-6.19.0-r0 do_compile: oe_runmake failed
...
| NOTE: make -j 16 -l 75 CC=i686-poky-linux-musl-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -fstack-protector-strong  -Os -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/recipe-sysroot KERNEL_INCLUDE=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/recipe-sysroot/usr/include DOCDIR=/usr/share/doc/iproute2 SUBDIRS=lib tc ip bridge misc genl devlink tipc SBINDIR=/sbin CONF_USR_DIR=/usr/lib/iproute2 LIBDIR=/usr/lib CCOPTS= -Os -fcanon-prefix-map  -ffile-prefix-map=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/sources/iproute2-6.19.0=/usr/src/debug/iproute2/6.19.0  -ffile-prefix-map=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/sources/iproute2-6.19.0=/usr/src/debug/iproute2/6.19.0  -ffile-prefix-map=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/recipe-sysroot=  -ffile-prefix-map=/srv/pokybuild/yocto-worker/poky-tiny/build/build/tmp/work/core2-32-poky-linux-musl/iproute2/6.19.0/recipe-sysroot-native=  -pipe -Wno-error=incompatible-pointer-types -ffunction-sections -fdata-sections
...
In file included from lnstat.c:35:
| ../include/json_print.h:80:30: warning: 'struct timeval' declared inside parameter list will not be visible outside of this definition or declaration
|    80 | _PRINT_FUNC(tv, const struct timeval *)
...
| ../include/color.h:27:34: error: unknown type name '__u8'
|    27 | enum color_attr ifa_family_color(__u8 ifa_family);
|       |                                  ^~~~
| ../include/color.h:28:34: error: unknown type name '__u8'
|    28 | enum color_attr oper_state_color(__u8 state);
|       |                                  ^~~~
| ../include/json_print.h:71:19: error: unknown type name '__u64'
|    71 | _PRINT_FUNC(size, __u64)
...

https://autobuilder.yoctoproject.org/valkyrie/#/builders/50/builds/3328
https://autobuilder.yoctoproject.org/valkyrie/#/builders/111/builds/2028
https://autobuilder.yoctoproject.org/valkyrie/#/builders/6/builds/3316

Can you have a look at these failures?

Thanks,
Mathieu
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/iproute2/iproute2/fix-musl.patch b/meta/recipes-connectivity/iproute2/iproute2/fix-musl.patch
deleted file mode 100644
index 20907dad50..0000000000
--- a/meta/recipes-connectivity/iproute2/iproute2/fix-musl.patch
+++ /dev/null
@@ -1,43 +0,0 @@ 
-From 6c1113633fde51b0e60f02243cfad1b3d09762cc Mon Sep 17 00:00:00 2001
-From: Akhilesh Nema <nemaakhilesh@gmail.com>
-Date: Tue, 2 Dec 2025 18:11:24 -0800
-Subject: fix 'UINT_MAX' undeclared with build with musl libc
-
-- utils_math.c:136:20: error: 'UINT_MAX' undeclared (first use in this function)
-- tc_core.c:51:22: error: 'UINT_MAX' undeclared (first use in this function)
-
-Signed-off-by: Akhilesh Nema <nemaakhilesh@gmail.com>
-Upstream-Status: Backport [https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=6c1113633fde51b0e60f02243cfad1b3d09762cc]
-Signed-off-by: Alexander Kanavin <alex@linutronix.de>
----
- lib/utils_math.c | 1 +
- tc/tc_core.c     | 1 +
- 2 files changed, 2 insertions(+)
-
-diff --git a/lib/utils_math.c b/lib/utils_math.c
-index a7e747440..fd2ddc7c7 100644
---- a/lib/utils_math.c
-+++ b/lib/utils_math.c
-@@ -4,6 +4,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <math.h>
-+#include <limits.h>
- #include <asm/types.h>
- 
- #include "utils.h"
-diff --git a/tc/tc_core.c b/tc/tc_core.c
-index a422e02c8..b13b7d78a 100644
---- a/tc/tc_core.c
-+++ b/tc/tc_core.c
-@@ -11,6 +11,7 @@
- #include <unistd.h>
- #include <fcntl.h>
- #include <math.h>
-+#include <limits.h>
- #include <sys/socket.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
--- 
-cgit 1.2.3-korg
-
diff --git a/meta/recipes-connectivity/iproute2/iproute2_6.18.0.bb b/meta/recipes-connectivity/iproute2/iproute2_6.19.0.bb
similarity index 96%
rename from meta/recipes-connectivity/iproute2/iproute2_6.18.0.bb
rename to meta/recipes-connectivity/iproute2/iproute2_6.19.0.bb
index c68b2adc0f..a9462aa083 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_6.18.0.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_6.19.0.bb
@@ -13,10 +13,9 @@  DEPENDS = "flex-native bison-native libcap"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
            file://0001-include-libnetlink.h-add-missing-include-for-htobe64.patch \
-           file://fix-musl.patch \
            "
 
-SRC_URI[sha256sum] = "6ba520e1975e4c50dc931eeae91ea37c198b8a173744885f8895b84325f9d456"
+SRC_URI[sha256sum] = "9332213d35480b647086a70c302de8568de83455a98774d35de216c4ce191006"
 
 inherit update-alternatives bash-completion pkgconfig