| Message ID | 20260313185728.259606-1-reatmon@ti.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-arago,master] ltp-ddt: Sideport glibc 2.43 patch from oe-core | expand |
meta-arago / na / 20260313185728.259606-1-reatmon
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
WARN - [meta-arago][master][PATCH] ltp-ddt: Sideport glibc 2.43 patch from oe-core
WARN: Commit message should not include directory path to recipe: ltp-ddt: Sideport glibc 2.43 patch from oe-core.
ltp-ddt (COMMIT-MESSAGE-3)
patch
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master][PATCH] ltp-ddt: Sideport glibc 2.43 patch from oe-core
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Fri, 13 Mar 2026 13:57:28 -0500
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: 90cadbca80be19149629ef2afa5b4a160ec29337
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: ltp-ddt: Sideport glibc 2.43 patch from oe-core
- Commit SHA: 7f7f74b57d9a62b24cf8c5509fd2f3c9abfdee8c
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: PASS
=========================================================
master
=====================
PASS
=========================================================
yocto-check-layers: FAIL
=========================================================
master - FAIL
=====================
ERROR: Nothing RPROVIDES 'weston-examples' (but <build-dir>/sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics.bb RDEPENDS on or otherwise requires it)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
ERROR: Nothing RPROVIDES 'weston-dev' (but <build-dir>/sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-graphics-sdk-target.bb RDEPENDS on or otherwise requires it)
diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch new file mode 100644 index 00000000..7c78660e --- /dev/null +++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch @@ -0,0 +1,33 @@ +ltp: fix build failure with glibc 2.43 + +glibc 2.43 added native openat2() support for the first time. This +caused compatibility issues with LTP's internal openat2 definitions +in lapi/openat2.h. LTP's configure detects glibc's openat2() and +sets HAVE_OPENAT2=1, causing lapi/openat2.h to skip its own +definitions of struct open_how, RESOLVE_* constants and the openat2() +wrapper, resulting in a build failure. + +Undef HAVE_OPENAT2 in lapi/openat2.h to force LTP to always use its +own internal definitions.this is a workaround until the fix is found. + +Upstream-Status: Pending + +Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com> + +diff --git a/include/lapi/openat2.h b/include/lapi/openat2.h +index 03327bdb7..bd44573c9 100644 +--- a/include/lapi/openat2.h ++++ b/include/lapi/openat2.h +@@ -14,6 +14,11 @@ + + #include "config.h" + ++/* glibc 2.43 provides openat2 but LTP uses its own syscall wrapper */ ++#ifdef HAVE_OPENAT2 ++#undef HAVE_OPENAT2 ++#endif ++ + #ifndef HAVE_OPENAT2 + /* + * Arguments for how openat2(2) should open the target path. If only @flags and + diff --git a/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc b/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc index 602f75ca..8786bb6d 100644 --- a/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc +++ b/meta-arago-test/recipes-devtools/ltp-ddt/ltp_20260130.inc @@ -30,6 +30,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=ht file://0001-Remove-OOM-tests-from-runtest-mm.patch \ file://0001-Add-__clear_cache-declaration-for-clang.patch \ file://0001-syscalls-semctl08-Skip-semctl08-when-__USE_TIME64_RE.patch \ + file://0001-ltp-fix-build-failure-with-glibc-2.43.patch \ " inherit autotools-brokensep pkgconfig
A recent change to glibc 2.43 has caused a build failure. oe-core has updated the ltp recipe [1] so we need to copy the same fix over here. [1] https://git.openembedded.org/openembedded-core/commit/?id=f78863f89da5d11b52c477741bf65790f2ce0186 Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- ...tp-fix-build-failure-with-glibc-2.43.patch | 33 +++++++++++++++++++ .../recipes-devtools/ltp-ddt/ltp_20260130.inc | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta-arago-test/recipes-devtools/ltp-ddt/ltp-ddt/0001-ltp-fix-build-failure-with-glibc-2.43.patch