diff mbox series

[meta-arago,master,v2] xdp-tools-arago: upgrade 1.5.4 -> 1.6.1

Message ID 20260217214715.2135461-1-reatmon@ti.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,master,v2] xdp-tools-arago: upgrade 1.5.4 -> 1.6.1 | expand

Commit Message

Ryan Eatmon Feb. 17, 2026, 9:47 p.m. UTC
Changelogs:

v1.5.5: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.5
v1.5.6: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.6
v1.5.7: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.7
v1.5.8: https://github.com/xdp-project/xdp-tools/releases/tag/v1.5.8
v1.6.0: https://github.com/xdp-project/xdp-tools/releases/tag/v1.6.0
v1.6.1: https://github.com/xdp-project/xdp-tools/releases/tag/v1.6.1

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v2: Added patch for 32bit compile errors.

 ...0001-xdpsock-Fix-32bit-compile-error.patch | 42 +++++++++++++++++++
 ...rago_1.5.4.bb => xdp-tools-arago_1.6.1.bb} |  3 +-
 2 files changed, 44 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch
 rename meta-arago-test/recipes-support/xdp-tools/{xdp-tools-arago_1.5.4.bb => xdp-tools-arago_1.6.1.bb} (94%)

Comments

PRC Automation Feb. 17, 2026, 10:04 p.m. UTC | #1
meta-arago / na / 20260217214715.2135461-1-reatmon

PRC Results: FAIL

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH v2] xdp-tools-arago: upgrade 1.5.4 -> 1.6.1
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
+From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Tue, 17 Feb 2026 15:47:15 -0600
+Date: Tue, 17 Feb 2026 15:11:18 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 107bf66b5e4fbff8c22b5a86c453c1b46ba93282

Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-next
- Commit Author: LCPD Automation Script <lcpdbld@list.ti.com>
- Commit Subject: CI/CD Auto-Merger: cicd.master-ltsprep.202602130934
- Commit SHA: 61171ba24123649fe6cd3ef567ca3e767d9a7d6a

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing RPROVIDES 'systemd' (but <build-dir>/sources/meta-virtualization/recipes-core/packagegroups/packagegroup-yocto-builder.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
diff mbox series

Patch

diff --git a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch
new file mode 100644
index 00000000..da439bf1
--- /dev/null
+++ b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago/0001-xdpsock-Fix-32bit-compile-error.patch
@@ -0,0 +1,42 @@ 
+From 9b649be4876a3e42c44e57013840904006530e52 Mon Sep 17 00:00:00 2001
+From: Ryan Eatmon <reatmon@ti.com>
+Date: Tue, 17 Feb 2026 15:11:18 -0600
+Subject: [PATCH] xdpsock: Fix 32bit compile error
+
+Using UINT64_MAX on a 32bit machine results in a compile error where
+unsigned long cannot be cast to an unsigned long long.  Since this is
+trying to handle an error case and return a big number, switch to
+ULONG_MAX to match the type being returned regardless of the compiler
+bits (32/64).
+
+Upstream-Status: Submitted [https://github.com/xdp-project/xdp-tools/pull/553]
+
+Signed-off-by: Ryan Eatmon <reatmon@ti.com>
+---
+ lib/util/xdpsock.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/lib/util/xdpsock.c b/lib/util/xdpsock.c
+index 5d71e6a..899c3a3 100644
+--- a/lib/util/xdpsock.c
++++ b/lib/util/xdpsock.c
+@@ -35,6 +35,7 @@
+ #include <time.h>
+ #include <unistd.h>
+ #include <sched.h>
++#include <limits.h>
+ 
+ #include <xdp/xsk.h>
+ #include <xdp/libxdp.h>
+@@ -171,7 +172,7 @@ static unsigned long get_nsecs(clockid_t clock)
+ 	res = clock_gettime(clock, &ts);
+ 	if (res < 0) {
+ 		pr_warn("Error with gettimeofday! (%i)\n", res);
+-		return UINT64_MAX;
++		return ULONG_MAX;
+ 	}
+ 	return ts.tv_sec * 1000000000UL + ts.tv_nsec;
+ }
+-- 
+2.43.0
+
diff --git a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb
similarity index 94%
rename from meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb
rename to meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb
index 12b42c90..e25ae146 100644
--- a/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.5.4.bb
+++ b/meta-arago-test/recipes-support/xdp-tools/xdp-tools-arago_1.6.1.bb
@@ -15,9 +15,10 @@  SRC_URI = "git://github.com/xdp-project/xdp-tools.git;protocol=https;branch=main
             file://0003-Makefile-fix-KeyError-failure.patch \
             file://0004-Makefile-fix-libxdp.pc-error.patch \
             file://0001-defines.mk-Add-missing-prefix-map-settings-for-OE-bu.patch \
+            file://0001-xdpsock-Fix-32bit-compile-error.patch \
           "
 
-SRCREV = "e78d8d23bb80f221dd6b6970ff5a44aaf4717114"
+SRCREV = "84906a0fe98cbb5e5eaa2c888c50a1ab32d5d0b7"
 
 inherit pkgconfig