summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2025-07-21 06:48:00 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-28 17:37:02 +0100
commit3d691e6740c2acf1fb46ed5c38b24d96a80c919a (patch)
treef8de2a62fba951875120b2da5a47b4c1d569e25b /meta/recipes-devtools
parent2f75d954870056ff2797073eb37a1fec431e5dbc (diff)
downloadpoky-3d691e6740c2acf1fb46ed5c38b24d96a80c919a.tar.gz
e2fsprogs: 1.47.1 -> 1.47.3
* Remove backported patch 0001-libext2fs-fix-std-c23-build-failure.patch * Fixed QA Issue: ERROR: e2fsprogs-1.47.2-r0 do_package_qa: QA Issue: File /usr/lib/e2fsprogs/ptest/test/test_one in package e2fsprogs-ptest contains reference to TMPDIR [buildpaths] (From OE-Core rev: 27b191cd6f53a444efbf82f58d86bf0dc5c1a048) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch42
-rw-r--r--meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb (renamed from meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb)8
2 files changed, 4 insertions, 46 deletions
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch b/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
deleted file mode 100644
index 01ab9d5afb..0000000000
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs/0001-libext2fs-fix-std-c23-build-failure.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From 72dcef02bee9924c4d5b3dc6e7ef4d07becebcc6 Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Fri, 22 Nov 2024 12:36:32 +0000
4Subject: [PATCH] libext2fs: fix -std=c23 build failure
5
6gcc-15 switched to -std=c23 by default:
7
8 https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
9
10As a result `e2fsprogs` fails the build so only typedef int bool
11for __STDC_VERSION__ <= 201710L (C17)
12
13 ../../../lib/ext2fs/tdb.c:113:13: error: two or more data types in declaration specifiers
14 ../../../lib/ext2fs/tdb.c:113:1: warning: useless type name in empty declaration
15 113 | typedef int bool;
16 | ^~~~~~~
17
18https://github.com/tytso/e2fsprogs/issues/202
19
20Upstream-Status: Backport [https://github.com/tytso/e2fsprogs/commit/49fd04d77b3244c6c6990be41142168eef373aef]
21Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
22Link: https://lore.kernel.org/r/Z0B60JhdvT9bpSQ6@6f91903e89da
23Signed-off-by: Theodore Ts'o <tytso@mit.edu>
24Signed-off-by: Khem Raj <raj.khem@gmail.com>
25---
26 lib/ext2fs/tdb.c | 2 ++
27 1 file changed, 2 insertions(+)
28
29diff --git a/lib/ext2fs/tdb.c b/lib/ext2fs/tdb.c
30index b07b2917..98dc95d8 100644
31--- a/lib/ext2fs/tdb.c
32+++ b/lib/ext2fs/tdb.c
33@@ -110,7 +110,9 @@ static char *rep_strdup(const char *s)
34 #endif
35 #endif
36
37+#if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
38 typedef int bool;
39+#endif
40
41 #include "tdb.h"
42
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb
index 022b016f12..5a04591af0 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.1.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.47.2.bb
@@ -4,14 +4,13 @@ SRC_URI += "file://remove.ldconfig.call.patch \
4 file://run-ptest \ 4 file://run-ptest \
5 file://ptest.patch \ 5 file://ptest.patch \
6 file://mkdir_p.patch \ 6 file://mkdir_p.patch \
7 file://0001-libext2fs-fix-std-c23-build-failure.patch \
8 " 7 "
9SRC_URI:append:class-native = " \ 8SRC_URI:append:class-native = " \
10 file://e2fsprogs-fix-missing-check-for-permission-denied.patch \ 9 file://e2fsprogs-fix-missing-check-for-permission-denied.patch \
11 file://quiet-debugfs.patch \ 10 file://quiet-debugfs.patch \
12 " 11 "
13 12
14SRCREV = "b571b9b4240739a982e8bca62cfc914a3b50190a" 13SRCREV = "da631e117dcf8797bfda0f48bdaa05ac0fbcf7af"
15UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$" 14UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+\.\d+(\.\d+)*)$"
16 15
17EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \ 16EXTRA_OECONF += "--libdir=${base_libdir} --sbindir=${base_sbindir} \
@@ -119,7 +118,7 @@ ALTERNATIVE:${PN}-tune2fs = "tune2fs"
119ALTERNATIVE_LINK_NAME[tune2fs] = "${base_sbindir}/tune2fs" 118ALTERNATIVE_LINK_NAME[tune2fs] = "${base_sbindir}/tune2fs"
120 119
121RDEPENDS:e2fsprogs-e2scrub = "bash" 120RDEPENDS:e2fsprogs-e2scrub = "bash"
122RDEPENDS:${PN}-ptest += "coreutils procps bash bzip2 diffutils perl sed" 121RDEPENDS:${PN}-ptest += "coreutils procps bash bzip2 diffutils perl sed grep"
123RDEPENDS:${PN}-ptest += "e2fsprogs-badblocks e2fsprogs-dumpe2fs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs" 122RDEPENDS:${PN}-ptest += "e2fsprogs-badblocks e2fsprogs-dumpe2fs e2fsprogs-e2fsck e2fsprogs-mke2fs e2fsprogs-resize2fs e2fsprogs-tune2fs"
124 123
125do_compile_ptest() { 124do_compile_ptest() {
@@ -134,7 +133,8 @@ do_install_ptest() {
134 sed -e 's!../e2fsck/e2fsck!e2fsck!g' \ 133 sed -e 's!../e2fsck/e2fsck!e2fsck!g' \
135 -e 's!../misc/tune2fs!tune2fs!g' -i ${D}${PTEST_PATH}/test/*/expect* 134 -e 's!../misc/tune2fs!tune2fs!g' -i ${D}${PTEST_PATH}/test/*/expect*
136 sed -e 's!../e2fsck/e2fsck!${base_sbindir}/e2fsck!g' -i ${D}${PTEST_PATH}/test/*/script 135 sed -e 's!../e2fsck/e2fsck!${base_sbindir}/e2fsck!g' -i ${D}${PTEST_PATH}/test/*/script
137 sed -i "s#@PTEST_PATH@#${PTEST_PATH}#g" ${D}${PTEST_PATH}/test/test_script ${D}${PTEST_PATH}/test/test_one 136 sed -i -e 's#@PTEST_PATH@#${PTEST_PATH}#g' -e 's#^EGREP=.*#EGREP="grep -E"#' \
137 ${D}${PTEST_PATH}/test/test_script ${D}${PTEST_PATH}/test/test_one
138 138
139 # Remove various files 139 # Remove various files
140 find "${D}${PTEST_PATH}" -type f \ 140 find "${D}${PTEST_PATH}" -type f \