diff mbox series

libfaketime: upgrade 0.9.13 -> 0.9.14

Message ID 20261118-mathieu-libfaketime-0-9-14-v1-1-2b0aabe31766@bootlin.com
State New
Headers show
Series libfaketime: upgrade 0.9.13 -> 0.9.14 | expand

Commit Message

Mathieu Dubois-Briand Nov. 18, 2026, 9:49 a.m. UTC
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
---
 ...-Mark-write-only-real_-pointers-as-unused.patch | 22 ++++++++---
 ....c-do-not-declare-__time64-when-D_TIME_BI.patch | 46 ----------------------
 ...libfaketime_0.9.13.bb => libfaketime_0.9.14.bb} |  5 +--
 3 files changed, 19 insertions(+), 54 deletions(-)


---
base-commit: ea66eb396e2d3015315d5d364fe2197ab8905f63
change-id: 20261118-mathieu-libfaketime-0-9-14-440b77f13acb

Best regards,

Comments

patchtest@automation.yoctoproject.org Nov. 18, 2026, 10:01 a.m. UTC | #1
Thank you for your submission. Patchtest identified one
or more issues with the patch. Please see the log below for
more information:

---
Testing patch /home/patchtest/share/mboxes/libfaketime-upgrade-0.9.13---0.9.14.patch

FAIL: test commit message presence: Please include a commit message on your patch explaining the change (test_mbox.TestMbox.test_commit_message_presence)

PASS: pretest src uri left files (test_metadata.TestMetadata.pretest_src_uri_left_files)
PASS: test CVE check ignore (test_metadata.TestMetadata.test_cve_check_ignore)
PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence)
PASS: test auh changelog truncation notice (test_mbox.TestMbox.test_auh_changelog_truncation_notice)
PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags)
PASS: test lic files chksum modified not mentioned (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test src uri left files (test_metadata.TestMetadata.test_src_uri_left_files)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: test CVE tag format: No new source patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new source patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new source patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this
email with an explanation of why the patch should be accepted. If you
believe these results are due to an error in patchtest, please submit a
bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category
under 'Yocto Project Subprojects'). For more information on specific
failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank
you!
diff mbox series

Patch

diff --git a/meta/recipes-support/libfaketime/libfaketime/0001-Mark-write-only-real_-pointers-as-unused.patch b/meta/recipes-support/libfaketime/libfaketime/0001-Mark-write-only-real_-pointers-as-unused.patch
index c7a854a19604..070789f7bf6f 100644
--- a/meta/recipes-support/libfaketime/libfaketime/0001-Mark-write-only-real_-pointers-as-unused.patch
+++ b/meta/recipes-support/libfaketime/libfaketime/0001-Mark-write-only-real_-pointers-as-unused.patch
@@ -1,4 +1,4 @@ 
-From d0fd7b4be89feb6a8809216b0dc1d84299bbad96 Mon Sep 17 00:00:00 2001
+From acbf2bfedc297118ec8c8459fd2b4c6e189c14fd Mon Sep 17 00:00:00 2001
 From: Khem Raj <khem.raj@oss.qualcomm.com>
 Date: Mon, 7 Sep 2026 19:27:57 -0700
 Subject: [PATCH] Mark write-only real_* pointers as unused
@@ -22,19 +22,23 @@  Upstream-Status: Pending
 
 Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
 ---
- src/libfaketime.c | 20 ++++++++++----------
- 1 file changed, 10 insertions(+), 10 deletions(-)
+ src/libfaketime.c | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
 
 diff --git a/src/libfaketime.c b/src/libfaketime.c
-index e674883..2addaab 100644
+index f3acdbf37a42..9f783e9557e1 100644
 --- a/src/libfaketime.c
 +++ b/src/libfaketime.c
-@@ -337,26 +337,26 @@ static __thread bool dont_fake = false;
+@@ -355,7 +355,7 @@ static bool command_excluded = false;
  /* pointers to real (not faked) functions */
  static int          (*real_stat)            (const char *, struct stat *);
  static int          (*real_fstat)           (int, struct stat *);
 -static int          (*real_lstat)           (const char *, struct stat *);
 +static int          (*real_lstat)           (const char *, struct stat *) __attribute__((unused));
+ #if defined(FAKE_STAT) && !defined(MACOS_DYLD_INTERPOSE)
+ static int          (*real_nftw)            (const char *,
+                                               int (*)(const char *, const struct stat *, int, struct FTW *),
+@@ -364,26 +364,26 @@ static int          (*real_nftw)            (const char *,
  #ifndef __ANDROID__
  static int          (*real_xstat)           (int, const char *, struct stat *);
  static int          (*real_fxstat)          (int, int, struct stat *);
@@ -46,11 +50,19 @@  index e674883..2addaab 100644
  #if !defined(__APPLE__) || !__DARWIN_ONLY_64_BIT_INO_T
  #ifndef __ANDROID__
 -static int          (*real_stat64)          (const char *, struct stat64 *);
+-static int          (*real_lstat64)         (const char *, struct stat64 *);
+-static int          (*real_fstat64)         (int, struct stat64 *);
+-static int          (*real_fstatat)         (int, const char *, struct stat *, int);
+-static int          (*real_fstatat64)       (int, const char *, struct stat64 *, int);
 -static int          (*real_xstat64)         (int, const char *, struct stat64 *);
 -static int          (*real_fxstat64)        (int, int , struct stat64 *);
 -static int          (*real_fxstatat64)      (int, int , const char *, struct stat64 *, int);
 -static int          (*real_lxstat64)        (int, const char *, struct stat64 *);
 +static int          (*real_stat64)          (const char *, struct stat64 *) __attribute__((unused));
++static int          (*real_lstat64)         (const char *, struct stat64 *) __attribute__((unused));
++static int          (*real_fstat64)         (int, struct stat64 *) __attribute__((unused));
++static int          (*real_fstatat)         (int, const char *, struct stat *, int) __attribute__((unused));
++static int          (*real_fstatat64)       (int, const char *, struct stat64 *, int) __attribute__((unused));
 +static int          (*real_xstat64)         (int, const char *, struct stat64 *) __attribute__((unused));
 +static int          (*real_fxstat64)        (int, int , struct stat64 *) __attribute__((unused));
 +static int          (*real_fxstatat64)      (int, int , const char *, struct stat64 *, int) __attribute__((unused));
diff --git a/meta/recipes-support/libfaketime/libfaketime/0001-libfaketime.c-do-not-declare-__time64-when-D_TIME_BI.patch b/meta/recipes-support/libfaketime/libfaketime/0001-libfaketime.c-do-not-declare-__time64-when-D_TIME_BI.patch
deleted file mode 100644
index 580e46b40ee5..000000000000
--- a/meta/recipes-support/libfaketime/libfaketime/0001-libfaketime.c-do-not-declare-__time64-when-D_TIME_BI.patch
+++ /dev/null
@@ -1,46 +0,0 @@ 
-From 6288d9367a17afef395ca898844ccbf4c0b58ef7 Mon Sep 17 00:00:00 2001
-From: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
-Date: Wed, 2 Sep 2026 13:07:05 +0200
-Subject: [PATCH] libfaketime.c: do not declare __time64 when -D_TIME_BITS=64
- is used
-
-When _TIME_BITS macro is set to 64, __clock_gettime64(),
-__gettimeofday64() and __time64 will be defined in the glibc. There is
-no need to define these here.
-
-Upstream-Status: Submitted [https://github.com/wolfcw/libfaketime/pull/553]
-Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
----
- src/libfaketime.c | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/src/libfaketime.c b/src/libfaketime.c
-index e6748832fecb..7f3c65bf2bc9 100644
---- a/src/libfaketime.c
-+++ b/src/libfaketime.c
-@@ -1802,11 +1802,13 @@ int __lxstat (int ver, const char *path, struct stat *buf)
- #endif
- 
- #ifdef __GLIBC__
-+#if (_TIME_BITS != 64)
- int stat64 (const char *path, struct stat64 *buf)
- {
-   STAT64_HANDLER(stat64, buf, path, buf);
- }
- #endif
-+#endif
- 
- /* Contributed by Philipp Hachtmann in version 0.6 */
- #ifndef __ANDROID__
-@@ -3375,7 +3377,7 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp)
- 
- #ifdef __GLIBC__
- /* This is used by glibc 32-bit architectures only. */
--#ifndef FAKETIME_TIME64_BUILD
-+#if (_TIME_BITS != 64)
- int __clock_gettime64(clockid_t clk_id, struct __timespec64 *tp64)
- {
-   struct timespec tp;
--- 
-2.47.3
-
diff --git a/meta/recipes-support/libfaketime/libfaketime_0.9.13.bb b/meta/recipes-support/libfaketime/libfaketime_0.9.14.bb
similarity index 88%
rename from meta/recipes-support/libfaketime/libfaketime_0.9.13.bb
rename to meta/recipes-support/libfaketime/libfaketime_0.9.14.bb
index bcbf53181fb3..041b0b772919 100644
--- a/meta/recipes-support/libfaketime/libfaketime_0.9.13.bb
+++ b/meta/recipes-support/libfaketime/libfaketime_0.9.14.bb
@@ -4,12 +4,11 @@  HOMEPAGE = "https://github.com/wolfcw/libfaketime"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCREV = "86b37fde2fed7336ea2d0c17928e3015a55d9b4a"
+SRCREV = "c88b79b4e9cc1c94294037b4677b69185861c2a1"
 
 SRC_URI = "git://github.com/wolfcw/libfaketime.git;branch=master;tag=v${PV};protocol=https \
-           file://0001-libfaketime.c-do-not-declare-__time64-when-D_TIME_BI.patch \
            file://0001-Mark-write-only-real_-pointers-as-unused.patch \
-"
+           "
 
 # The version script names the symbols that are defined with .symver
 LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', ' -Wl,--undefined-version', '', d)}"