From patchwork Sun Oct 15 19:45:13 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: 32324 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 78B93C04FE0 for ; Sun, 15 Oct 2023 19:45:24 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.web10.102663.1697399114022811386 for ; Sun, 15 Oct 2023 12:45:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=bd/W5X6M; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=h3Mxzwem; spf=pass (domain: automation.yoctoproject.org, ip: 54.240.27.30, mailfrom: 0101018b34df05d0-6d67307f-ed3d-4c14-8d18-985b7465e297-000000@automation.yoctoproject.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1697399113; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=WHbR+bJYuT0H99Od9jYQMRycWkFLDQWOsK4vD3HRhcI=; b=bd/W5X6MnT1dKd+ualDcwOc36ebpaegkFFM83wozi+G+3j20C16POy4hdns6bOyD fgl0sFszrQWyfKnLAsO2tJDEOoyTAm+cxNZAh0hIaKF2SXhi2ZtySZ6EUCEgCDDIFfd YOBdlww/ZtP85eIEdl2Ahm89AATa1+u9ufJcEs/M= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1697399113; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=WHbR+bJYuT0H99Od9jYQMRycWkFLDQWOsK4vD3HRhcI=; b=h3MxzwemigN9Xu2VfweSdNiDZ9jTWP7eVJzTnwI5VvlJJilaseQOeLRxuOgpC1W7 lSc4qSoUv+kq+ZrhZLkdKt5BUKOzgqHFWYtTS2Cj84VQ2RrbBoC5hKH5y5LRHFzuHUI ysvUoZvmbxDRQdr4fgA2JPIkE+9uEEFpjSWrys6w= MIME-Version: 1.0 From: auh@yoctoproject.org To: Alexander Kanavin Cc: openembedded-core@lists.openembedded.org Subject: [AUH] libcomps: upgrading to 0.1.20 SUCCEEDED Message-ID: <0101018b34df05d0-6d67307f-ed3d-4c14-8d18-985b7465e297-000000@us-west-2.amazonses.com> Date: Sun, 15 Oct 2023 19:45:13 +0000 Feedback-ID: 1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2023.10.15-54.240.27.30 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 ; Sun, 15 Oct 2023 19:45:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/189171 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe *libcomps* to *0.1.20* has Succeeded. Next steps: - apply the patch: git am 0001-libcomps-upgrade-0.1.19-0.1.20.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 d4285ca6a81da1a24dd72f8794499918ce652992 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sun, 15 Oct 2023 09:33:14 +0000 Subject: [PATCH] libcomps: upgrade 0.1.19 -> 0.1.20 --- ...hash_t-instead-of-long-in-PyCOMPS_ha.patch | 66 ------------------- ...{libcomps_0.1.19.bb => libcomps_0.1.20.bb} | 3 +- 2 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 meta/recipes-devtools/libcomps/libcomps/0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch rename meta/recipes-devtools/libcomps/{libcomps_0.1.19.bb => libcomps_0.1.20.bb} (86%) diff --git a/meta/recipes-devtools/libcomps/libcomps/0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch b/meta/recipes-devtools/libcomps/libcomps/0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch deleted file mode 100644 index dd9ebc8af4..0000000000 --- a/meta/recipes-devtools/libcomps/libcomps/0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch +++ /dev/null @@ -1,66 +0,0 @@ -From 26a9647c832de15248ee649e5b77075521f3d4f0 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Fri, 3 Mar 2023 08:37:35 -0800 -Subject: [PATCH] libcomps: Use Py_hash_t instead of long in PyCOMPS_hash() - -This function is used as a hashfunc callback in -_typeobject defined python3.11/cpython/object.h -compilers detect the protype mismatch for function pointers -with clang16+ - -Fixes -libcomps/src/python/src/pycomps_sequence.c:667:5: error: incompatible function pointer types initializing 'hashfunc' (aka 'int (*)(struct _object *)') with an expression of type 'long (*)(PyObject *)' (aka 'long (*)(struct _object *)') [-Wincompatible-function-pointer-types] - &PyCOMPS_hash, /*tp_hash */ - -Upstream-Status: Submitted [https://github.com/rpm-software-management/libcomps/pull/101] -Signed-off-by: Khem Raj ---- - libcomps/src/python/src/pycomps_hash.c | 4 ++-- - libcomps/src/python/src/pycomps_hash.h | 2 +- - libcomps/src/python/src/pycomps_utils.h | 2 +- - 3 files changed, 4 insertions(+), 4 deletions(-) - -diff --git a/libcomps/src/python/src/pycomps_hash.c b/libcomps/src/python/src/pycomps_hash.c -index 474afd5..4577769 100644 ---- a/libcomps/src/python/src/pycomps_hash.c -+++ b/libcomps/src/python/src/pycomps_hash.c -@@ -20,9 +20,9 @@ - #include "pycomps_hash.h" - #include "pycomps_utils.h" - --long PyCOMPS_hash(PyObject *self) { -+Py_hash_t PyCOMPS_hash(PyObject *self) { - char *cstr = NULL; -- long crc; -+ Py_hash_t crc; - - cstr = comps_object_tostr(((PyCompsObject*)self)->c_obj); - crc = crc32(0, cstr, strlen(cstr)); -diff --git a/libcomps/src/python/src/pycomps_hash.h b/libcomps/src/python/src/pycomps_hash.h -index b664cae..54e08d9 100644 ---- a/libcomps/src/python/src/pycomps_hash.h -+++ b/libcomps/src/python/src/pycomps_hash.h -@@ -26,6 +26,6 @@ - #include "pycomps_utils.h" - - --long PyCOMPS_hash(PyObject *self); -+Py_hash_t PyCOMPS_hash(PyObject *self); - - #endif -diff --git a/libcomps/src/python/src/pycomps_utils.h b/libcomps/src/python/src/pycomps_utils.h -index ba9bc2f..b34e4dc 100644 ---- a/libcomps/src/python/src/pycomps_utils.h -+++ b/libcomps/src/python/src/pycomps_utils.h -@@ -137,7 +137,7 @@ COMPS_Object* __pycomps_bytes_in(PyObject *pobj); - PyObject* __pycomps_str_out(COMPS_Object *obj); - PyObject *str_to_unicode(void* str); - --long PyCOMPS_hash(PyObject *self); -+Py_hash_t PyCOMPS_hash(PyObject *self); - - PyObject* PyCOMPSSeq_extra_get(PyObject *self, PyObject *key); - --- -2.39.2 - diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.20.bb similarity index 86% rename from meta/recipes-devtools/libcomps/libcomps_0.1.19.bb rename to meta/recipes-devtools/libcomps/libcomps_0.1.20.bb index e362e8e108..1f59c5ea1e 100644 --- a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb +++ b/meta/recipes-devtools/libcomps/libcomps_0.1.20.bb @@ -5,11 +5,10 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI = "git://github.com/rpm-software-management/libcomps.git;branch=master;protocol=https \ - file://0001-libcomps-Use-Py_hash_t-instead-of-long-in-PyCOMPS_ha.patch \ file://0002-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ " -SRCREV = "9322bdcf06630cc094f094f944d7d0e2cb798b73" +SRCREV = "854fbb9fe733b774981e1ffcf825b2d2ce0f8072" S = "${WORKDIR}/git"