From a6a37ba0db759363cb8e4fdc016385234108025c Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Tue, 22 Sep 2026 15:26:47 +0200 Subject: [PATCH] package/iproute2: add optional dependency on libtirpc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit iproute2's configure script probes for libtirpc through pkg-config and, when found, enables HAVE_RPC and links ss against it. libtirpc was never listed in IPROUTE2_DEPENDENCIES though, so whether the feature ends up enabled depended on whether libtirpc happened to be built before iproute2. Add the missing optional dependency to make the build reproducible. iproute2's configure script checks for libtirpc availability since v5.18.0 of iproute2, which Buildroot started using in commit 10990c576b2ddd7636f094f510a2ad1a5a80e50d ("package/iproute2: bump version to 5.18.0") Fixes: 10990c576b2ddd7636f094f510a2ad1a5a80e50d ("package/iproute2: bump version to 5.18.0") Signed-off-by: Yegor Yefremov Assisted-by: Claude:claude-opus-5 Signed-off-by: Thomas Petazzoni (cherry picked from commit 2b9d1a8aa671982583864ca050380120ccf6ee53) Signed-off-by: Raphaël Mélotte --- package/iproute2/iproute2.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index fe7a6fc304..344a6fa8e4 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -25,6 +25,10 @@ ifeq ($(BR2_PACKAGE_LIBSELINUX),y) IPROUTE2_DEPENDENCIES += libselinux endif +ifeq ($(BR2_PACKAGE_LIBTIRPC),y) +IPROUTE2_DEPENDENCIES += libtirpc +endif + ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx) IPROUTE2_DEPENDENCIES += iptables else