* [PATCH 0/1] sysprof: Fix build with clang @ 2018-09-07 16:03 Khem Raj 2018-09-07 16:03 ` [PATCH 1/1] " Khem Raj 2018-09-07 16:33 ` ✗ patchtest: failure for " Patchwork 0 siblings, 2 replies; 5+ messages in thread From: Khem Raj @ 2018-09-07 16:03 UTC (permalink / raw) To: openembedded-core The following changes since commit 9084818dfc5cdf22ed9fb4d13d08941460380267: busybox/packagegroups: Break out the busybox-syslog dependency (2018-09-07 12:48:00 +0100) are available in the Git repository at: git://git.openembedded.org/openembedded-core-contrib kraj/master http://cgit.openembedded.org/openembedded-core-contrib/log/?h=kraj/master Khem Raj (1): sysprof: Fix build with clang ...fix-non-literal-format-string-issues.patch | 34 +++++++++++++++++++ meta/recipes-kernel/sysprof/sysprof_3.30.0.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-kernel/sysprof/files/0001-fix-non-literal-format-string-issues.patch -- 2.18.0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/1] sysprof: Fix build with clang 2018-09-07 16:03 [PATCH 0/1] sysprof: Fix build with clang Khem Raj @ 2018-09-07 16:03 ` Khem Raj 2018-09-07 16:14 ` Burton, Ross 2018-09-07 16:33 ` ✗ patchtest: failure for " Patchwork 1 sibling, 1 reply; 5+ messages in thread From: Khem Raj @ 2018-09-07 16:03 UTC (permalink / raw) To: openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com> --- ...fix-non-literal-format-string-issues.patch | 34 +++++++++++++++++++ meta/recipes-kernel/sysprof/sysprof_3.30.0.bb | 1 + 2 files changed, 35 insertions(+) create mode 100644 meta/recipes-kernel/sysprof/files/0001-fix-non-literal-format-string-issues.patch diff --git a/meta/recipes-kernel/sysprof/files/0001-fix-non-literal-format-string-issues.patch b/meta/recipes-kernel/sysprof/files/0001-fix-non-literal-format-string-issues.patch new file mode 100644 index 0000000000..b77bfa4a65 --- /dev/null +++ b/meta/recipes-kernel/sysprof/files/0001-fix-non-literal-format-string-issues.patch @@ -0,0 +1,34 @@ +From de13d1f908335cc882c447e4d7c4360b9e5da190 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 6 Sep 2018 17:49:44 -0700 +Subject: [PATCH] fix non-literal format string issues + +clang errors out when using -Werror=format-nonliteral +since the definition of g_strdup_vprintf() from glib-2.0 +is using va_list and clangs still warns where as +gcc doesn't do that for va_list arguments + +Fixes +src/sp-window.c:96:27: error: format string is not a string literal [-Werror,-Wformat-nonliteral] +| str = g_strdup_vprintf (format, args); +| ^~~~~~ + +Upstream-Status: Pending +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + src/sp-window.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sp-window.c b/src/sp-window.c +index 4dfac2d..aff4779 100644 +--- a/src/sp-window.c ++++ b/src/sp-window.c +@@ -80,7 +80,7 @@ static guint signals [N_SIGNALS]; + static void sp_window_set_profiler (SpWindow *self, + SpProfiler *profiler); + +-static void ++static G_GNUC_PRINTF(3, 4) void + sp_window_notify_user (SpWindow *self, + GtkMessageType message_type, + const gchar *format, diff --git a/meta/recipes-kernel/sysprof/sysprof_3.30.0.bb b/meta/recipes-kernel/sysprof/sysprof_3.30.0.bb index 7783ab27f5..19dcf25a51 100644 --- a/meta/recipes-kernel/sysprof/sysprof_3.30.0.bb +++ b/meta/recipes-kernel/sysprof/sysprof_3.30.0.bb @@ -15,6 +15,7 @@ SRC_URI += " \ file://define-NT_GNU_BUILD_ID.patch \ file://0001-Do-not-build-anything-in-help-as-it-requires-itstool.patch \ file://wordsize.patch \ + file://0001-fix-non-literal-format-string-issues.patch \ " RECIPE_NO_UPDATE_REASON = "Waiting for resolution of https://bugzilla.gnome.org/show_bug.cgi?id=794625" -- 2.18.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] sysprof: Fix build with clang 2018-09-07 16:03 ` [PATCH 1/1] " Khem Raj @ 2018-09-07 16:14 ` Burton, Ross 2018-09-07 16:15 ` Burton, Ross 0 siblings, 1 reply; 5+ messages in thread From: Burton, Ross @ 2018-09-07 16:14 UTC (permalink / raw) To: Khem Raj; +Cc: OE-core On 7 September 2018 at 17:03, Khem Raj <raj.khem@gmail.com> wrote: > +Upstream-Status: Pending Make that Submitted: https://gitlab.gnome.org/GNOME/sysprof/merge_requests/6 Ross ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/1] sysprof: Fix build with clang 2018-09-07 16:14 ` Burton, Ross @ 2018-09-07 16:15 ` Burton, Ross 0 siblings, 0 replies; 5+ messages in thread From: Burton, Ross @ 2018-09-07 16:15 UTC (permalink / raw) To: Khem Raj; +Cc: OE-core Picked this to MUT and fixed up the status, no need to resend. Ross On 7 September 2018 at 17:14, Burton, Ross <ross.burton@intel.com> wrote: > On 7 September 2018 at 17:03, Khem Raj <raj.khem@gmail.com> wrote: >> +Upstream-Status: Pending > > Make that Submitted: https://gitlab.gnome.org/GNOME/sysprof/merge_requests/6 > > Ross ^ permalink raw reply [flat|nested] 5+ messages in thread
* ✗ patchtest: failure for sysprof: Fix build with clang 2018-09-07 16:03 [PATCH 0/1] sysprof: Fix build with clang Khem Raj 2018-09-07 16:03 ` [PATCH 1/1] " Khem Raj @ 2018-09-07 16:33 ` Patchwork 1 sibling, 0 replies; 5+ messages in thread From: Patchwork @ 2018-09-07 16:33 UTC (permalink / raw) To: Khem Raj; +Cc: openembedded-core == Series Details == Series: sysprof: Fix build with clang Revision: 1 URL : https://patchwork.openembedded.org/series/13965/ State : failure == Summary == Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures: * Issue Series does not apply on top of target branch [test_series_merge_on_head] Suggested fix Rebase your series on top of targeted branch Targeted branch master (currently at 0191456d81) If you believe any of these test results are incorrect, please reply to the mailing list (openembedded-core@lists.openembedded.org) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...). --- Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-09-07 16:32 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-09-07 16:03 [PATCH 0/1] sysprof: Fix build with clang Khem Raj 2018-09-07 16:03 ` [PATCH 1/1] " Khem Raj 2018-09-07 16:14 ` Burton, Ross 2018-09-07 16:15 ` Burton, Ross 2018-09-07 16:33 ` ✗ patchtest: failure for " Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox