From patchwork Fri Sep 15 18:59:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 30524 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3EF1EEE26F for ; Fri, 15 Sep 2023 19:00:00 +0000 (UTC) Received: from a27-45.smtp-out.us-west-2.amazonses.com (a27-45.smtp-out.us-west-2.amazonses.com [54.240.27.45]) by mx.groups.io with SMTP id smtpd.web11.29469.1694804394146914285 for ; Fri, 15 Sep 2023 11:59:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=YEclrF8/; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=HOxkOnZf; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.45, mailfrom: 0101018a9a36bb77-9fb938a1-10bb-45f6-b8f9-3ce3d676bf21-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1694804393; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=fWa3tX3rWBOZ2z54N2aENrfIXkWRYrwiOh7dU7pTmlA=; b=YEclrF8/O6BPEDkERoc074ioB2VV/OC8AJBdKrkClkuw5Peq8i3mWv3VZ5IvWulC ASCO8qsM1THly2f8W0p5v/Duhjm0io8VWNJE7OpLBddEcwnvgzNL6P9OH79Cp5pnFVo 0+Jbc8skcCL8zSdBoVF9EBMBxzlV0LBpC0CW6XOk= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1694804393; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=fWa3tX3rWBOZ2z54N2aENrfIXkWRYrwiOh7dU7pTmlA=; b=HOxkOnZfK1ulEQJ7HqlJFoGBsNeInndztzRzBepqS02N5iFkywftJbPKkihT5hr2 guU1iHxitDiYVB1UJGyJKXw1olhZZIM48jzQrf9vcwH+2TeYuLJY9LKTqD7bTfHPuhn L6KNPWDeIiTYRhjw8IJaZGE1yavoDX3R88duP3fA= MIME-Version: 1.0 From: auh@yoctoproject.org To: Yi Zhao Cc: openembedded-core@lists.openembedded.org Subject: [AUH] json-c: upgrading to 0.17 SUCCEEDED Message-ID: <0101018a9a36bb77-9fb938a1-10bb-45f6-b8f9-3ce3d676bf21-000000@us-west-2.amazonses.com> Date: Fri, 15 Sep 2023 18:59:52 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.09.15-54.240.27.45 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 15 Sep 2023 19:00:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187712 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *json-c* to *0.17* has Succeeded. Next steps: - apply the patch: git am 0001-json-c-upgrade-0.16-0.17.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 4d2f5214d78a9b6d0527731d6ebff10cfff30b21 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 15 Sep 2023 08:42:06 +0000 Subject: [PATCH] json-c: upgrade 0.16 -> 0.17 --- .../json-c/0001-Fix-build-with-clang-15.patch | 34 ------------------- .../json-c/{json-c_0.16.bb => json-c_0.17.bb} | 10 +++--- 2 files changed, 4 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch rename meta/recipes-devtools/json-c/{json-c_0.16.bb => json-c_0.17.bb} (78%) diff --git a/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch b/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch deleted file mode 100644 index 215f4d829a..0000000000 --- a/meta/recipes-devtools/json-c/json-c/0001-Fix-build-with-clang-15.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 0145b575ac1fe6a77e00d639864f26fc91ceb12f Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 13 Aug 2022 20:37:03 -0700 -Subject: [PATCH] Fix build with clang-15+ - -Fixes -json_util.c:63:35: error: a function declaration without a prototype is deprecated in all versions of C [-We -rror,-Wstrict-prototypes] -const char *json_util_get_last_err() - ^ - void - -Upstream-Status: Backport [https://github.com/json-c/json-c/pull/783] -Signed-off-by: Khem Raj ---- - json_util.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/json_util.c b/json_util.c -index 952770a..83d9c68 100644 ---- a/json_util.c -+++ b/json_util.c -@@ -60,7 +60,7 @@ static int _json_object_to_fd(int fd, struct json_object *obj, int flags, const - - static char _last_err[256] = ""; - --const char *json_util_get_last_err() -+const char *json_util_get_last_err(void) - { - if (_last_err[0] == '\0') - return NULL; --- -2.37.2 - diff --git a/meta/recipes-devtools/json-c/json-c_0.16.bb b/meta/recipes-devtools/json-c/json-c_0.17.bb similarity index 78% rename from meta/recipes-devtools/json-c/json-c_0.16.bb rename to meta/recipes-devtools/json-c/json-c_0.17.bb index 3aba41dfcf..aff5ad5076 100644 --- a/meta/recipes-devtools/json-c/json-c_0.16.bb +++ b/meta/recipes-devtools/json-c/json-c_0.17.bb @@ -4,12 +4,10 @@ HOMEPAGE = "https://github.com/json-c/json-c/wiki" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" -SRC_URI = " \ - https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ - file://0001-Fix-build-with-clang-15.patch \ - file://run-ptest \ -" -SRC_URI[sha256sum] = "8e45ac8f96ec7791eaf3bb7ee50e9c2100bbbc87b8d0f1d030c5ba8a0288d96b" +SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ + file://run-ptest \ + " +SRC_URI[sha256sum] = "7550914d58fb63b2c3546f3ccfbe11f1c094147bd31a69dcd23714d7956159e6" UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/tags" UPSTREAM_CHECK_REGEX = "json-c-(?P\d+(\.\d+)+)-\d+"