summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-02 15:37:55 +0000
committerSteve Sakoman <steve@sakoman.com>2024-02-22 04:34:14 -1000
commit9dd0928c5171dc7832fb420fb964f3f92b3db3fb (patch)
tree685aa4ff080802d83e1e6e4cd32f509310ff6385
parentb5781286ad8a3181f7ebec97dbb2963fc1105bea (diff)
downloadpoky-9dd0928c5171dc7832fb420fb964f3f92b3db3fb.tar.gz
pseudo: Update to pull in gcc14 fix and missing statvfs64 intercept
rpm 4.19 now builds with LFS64 support enabled by default, so it calls statvfs64() to get the space available on the filesystem it is installing packages into. This is not getting caught by pseudo, so rpm is checking the host's root filesystem, rather than the filesystem where the build is happening. Merge in that fix and a gcc14 fix. (From OE-Core rev: f7ef390b70709c0b6a607fcfe1da4c85144840e5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f6d021c860b2b99f46c604149317b326f493022d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-devtools/pseudo/files/glibc238.patch13
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb2
2 files changed, 1 insertions, 14 deletions
diff --git a/meta/recipes-devtools/pseudo/files/glibc238.patch b/meta/recipes-devtools/pseudo/files/glibc238.patch
index 76ca8c11eb..da4b8caee3 100644
--- a/meta/recipes-devtools/pseudo/files/glibc238.patch
+++ b/meta/recipes-devtools/pseudo/files/glibc238.patch
@@ -44,19 +44,6 @@ Index: git/pseudo_util.c
44 44
45 #include <ctype.h> 45 #include <ctype.h>
46 #include <errno.h> 46 #include <errno.h>
47Index: git/pseudolog.c
48===================================================================
49--- git.orig/pseudolog.c
50+++ git/pseudolog.c
51@@ -8,7 +8,7 @@
52 */
53 /* We need _XOPEN_SOURCE for strptime(), but if we define that,
54 * we then don't get S_IFSOCK... _GNU_SOURCE turns on everything. */
55-#define _GNU_SOURCE
56+#define _DEFAULT_SOURCE
57
58 #include <ctype.h>
59 #include <limits.h>
60Index: git/pseudo_client.c 47Index: git/pseudo_client.c
61=================================================================== 48===================================================================
62--- git.orig/pseudo_client.c 49--- git.orig/pseudo_client.c
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index 699cab11c6..025cf0fc9c 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -14,7 +14,7 @@ SRC_URI:append:class-nativesdk = " \
14 file://older-glibc-symbols.patch" 14 file://older-glibc-symbols.patch"
15SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa" 15SRC_URI[prebuilt.sha256sum] = "ed9f456856e9d86359f169f46a70ad7be4190d6040282b84c8d97b99072485aa"
16 16
17SRCREV = "a8453eea4d902bbb0e01c786f1cb4a178c3bbee3" 17SRCREV = "516a0a3c4b46f046895d27bfa019d685fe462dfa"
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19PV = "1.9.0+git" 19PV = "1.9.0+git"
20 20