| Message ID | 20260518110327.2347543-10-Hemanth.KumarMD@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | gcc: Upgrade GCC to 16.1 release | 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/v2-09-12-gn-fix-build-with-GCC-16-on-musl.patch FAIL: test Signed-off-by presence: A patch file has been added without a Signed-off-by tag: '0001-gn-fix-build-with-gcc-16-on-musl.patch' (test_patch.TestPatch.test_signed_off_by_presence) 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 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 presence (test_mbox.TestMbox.test_commit_message_presence) PASS: test commit message user tags (test_mbox.TestMbox.test_commit_message_user_tags) 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 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 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) --- 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-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch b/meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch new file mode 100644 index 0000000000..04598134e2 --- /dev/null +++ b/meta/recipes-devtools/gn/files/0001-gn-fix-build-with-gcc-16-on-musl.patch @@ -0,0 +1,31 @@ +From 6d22f5c9e96811f1abcedd8fb1849fe72747b5c4 Mon Sep 17 00:00:00 2001 +From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com> +Date: Mon, 11 May 2026 02:43:10 -0700 +Subject: [PATCH] gn: fix build with GCC 16 on musl + +Add missing <cstdint> include in src/gn/pool.h for int64_t. + +Fixes: +| ../sources/gn-0+git/src/gn/pool.h:26:3: error: 'int64_t' does not name a type + +Upstream-Status: Submitted [https://gn-review.googlesource.com/c/gn/+/22740] + +--- + src/gn/pool.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gn/pool.h b/src/gn/pool.h +index e03113608..247cb6425 100644 +--- a/src/gn/pool.h ++++ b/src/gn/pool.h +@@ -6,6 +6,7 @@ + #define TOOLS_GN_POOL_H_ + + #include <string> ++#include <cstdint> + + #include "gn/item.h" + +-- +2.49.0 + diff --git a/meta/recipes-devtools/gn/gn_git.bb b/meta/recipes-devtools/gn/gn_git.bb index d2f61c2098..6047ab5e2b 100644 --- a/meta/recipes-devtools/gn/gn_git.bb +++ b/meta/recipes-devtools/gn/gn_git.bb @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0fca02217a5d49a14dfe2d11837bb34d" DEPENDS += "ninja-native" UPSTREAM_CHECK_COMMITS = "1" -SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main" +SRC_URI = "git://gn.googlesource.com/gn;protocol=https;branch=main \ + file://0001-gn-fix-build-with-gcc-16-on-musl.patch \ +" SRCREV = "eab8a9f92dca9b8548a89d9e5eb6aeb8ac6bba77" PV = "0+git"