Message ID | 20250319214213.2505249-6-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [v4,1/9] readline: Fixed build with GCC-15 | expand |
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/v4-6-9-time-Fix-build-with-musl.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 CVE tag format (test_patch.TestPatch.test_cve_tag_format) PASS: test Signed-off-by presence (test_mbox.TestMbox.test_signed_off_by_presence) PASS: test Signed-off-by presence (test_patch.TestPatch.test_signed_off_by_presence) PASS: test Upstream-Status presence (test_patch.TestPatch.test_upstream_status_presence_format) 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 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 --git a/meta/recipes-extended/time/time/0001-Fix-the-type-for-sighandler_t.patch b/meta/recipes-extended/time/time/0001-Fix-the-type-for-sighandler_t.patch new file mode 100644 index 00000000000..0f8bf6e03e0 --- /dev/null +++ b/meta/recipes-extended/time/time/0001-Fix-the-type-for-sighandler_t.patch @@ -0,0 +1,27 @@ +From cfef684e2c2c93c4a871d6c2a7af8f4c1b7c6741 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 18 Mar 2025 09:29:58 -0700 +Subject: [PATCH] Fix the type for sighandler_t + +__sighandler_t is private interface in glibc so its +better to not use it, as an aside fixes build with musl + +Upstream-Status: Submitted [https://lists.gnu.org/archive/html/bug-time/2025-03/msg00000.html] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + src/time.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/time.c b/src/time.c +index 7ff29a4..82eb66a 100644 +--- a/src/time.c ++++ b/src/time.c +@@ -728,7 +728,7 @@ run_command (cmd, resp) + RESUSE *resp; + { + pid_t pid; /* Pid of child. */ +- __sighandler_t interrupt_signal, quit_signal; ++ sighandler_t interrupt_signal, quit_signal; + int saved_errno; + + resuse_start (resp); diff --git a/meta/recipes-extended/time/time_1.9.bb b/meta/recipes-extended/time/time_1.9.bb index d9e2d06b32d..366a64d8e5d 100644 --- a/meta/recipes-extended/time/time_1.9.bb +++ b/meta/recipes-extended/time/time_1.9.bb @@ -16,6 +16,7 @@ BBCLASSEXTEND = "native nativesdk" SRC_URI = "${GNU_MIRROR}/time/time-${PV}.tar.gz \ file://0001-include-string.h-for-memset.patch \ file://time-1.9-Fix-compiling-with-GCC15.patch \ + file://0001-Fix-the-type-for-sighandler_t.patch \ " SRC_URI[md5sum] = "d2356e0fe1c0b85285d83c6b2ad51b5f"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../0001-Fix-the-type-for-sighandler_t.patch | 27 +++++++++++++++++++ meta/recipes-extended/time/time_1.9.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-extended/time/time/0001-Fix-the-type-for-sighandler_t.patch