From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1554214-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 707D9158089 for <garchives@archives.gentoo.org>; Wed, 13 Sep 2023 23:49:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 051472BC068; Wed, 13 Sep 2023 23:49:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D81472BC068 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 23:49:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9784B335D17 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 23:49:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D878E11A2 for <gentoo-commits@lists.gentoo.org>; Wed, 13 Sep 2023 23:49:31 +0000 (UTC) From: "Patrick McLean" <chutzpah@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" <chutzpah@gentoo.org> Message-ID: <1694648967.bb07f65ed157020b4c7ebea9557820f5148d8920.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/ceph/files/, sys-cluster/ceph/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/ceph/ceph-16.2.14-r1.ebuild sys-cluster/ceph/ceph-16.2.14.ebuild sys-cluster/ceph/ceph-17.2.6-r7.ebuild sys-cluster/ceph/ceph-17.2.6-r8.ebuild sys-cluster/ceph/ceph-18.2.0-r1.ebuild sys-cluster/ceph/ceph-18.2.0-r2.ebuild sys-cluster/ceph/files/ceph-18.2.0-cython3.patch X-VCS-Directories: sys-cluster/ceph/ sys-cluster/ceph/files/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: bb07f65ed157020b4c7ebea9557820f5148d8920 X-VCS-Branch: master Date: Wed, 13 Sep 2023 23:49:31 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a3561257-6b30-4dc5-852f-becca566e8a6 X-Archives-Hash: dc24b680d386fcff4d8a0531751c9978 commit: bb07f65ed157020b4c7ebea9557820f5148d8920 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Wed Sep 13 23:48:54 2023 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Wed Sep 13 23:49:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb07f65e sys-cluster/ceph: Revbumps, add patch to build with cython-3 Closes: https://bugs.gentoo.org/907739 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> ...{ceph-16.2.14.ebuild => ceph-16.2.14-r1.ebuild} | 4 +++- ...ceph-17.2.6-r7.ebuild => ceph-17.2.6-r8.ebuild} | 4 +++- ...ceph-18.2.0-r1.ebuild => ceph-18.2.0-r2.ebuild} | 5 +++-- sys-cluster/ceph/files/ceph-18.2.0-cython3.patch | 26 ++++++++++++++++++++++ 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/sys-cluster/ceph/ceph-16.2.14.ebuild b/sys-cluster/ceph/ceph-16.2.14-r1.ebuild similarity index 99% rename from sys-cluster/ceph/ceph-16.2.14.ebuild rename to sys-cluster/ceph/ceph-16.2.14-r1.ebuild index c62e195e159e..40f04bb1347a 100644 --- a/sys-cluster/ceph/ceph-16.2.14.ebuild +++ b/sys-cluster/ceph/ceph-16.2.14-r1.ebuild @@ -103,7 +103,7 @@ BDEPEND=" x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 - <dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/gperf @@ -213,6 +213,8 @@ PATCHES=( "${FILESDIR}/ceph-16.2.10-flags.patch" "${FILESDIR}/ceph-17.2.5-boost-1.81.patch" "${FILESDIR}/ceph-16.2.14-gcc13.patch" + # https://bugs.gentoo.org/907739 + "${FILESDIR}/ceph-18.2.0-cython3.patch" ) check-reqs_export_vars() { diff --git a/sys-cluster/ceph/ceph-17.2.6-r7.ebuild b/sys-cluster/ceph/ceph-17.2.6-r8.ebuild similarity index 99% rename from sys-cluster/ceph/ceph-17.2.6-r7.ebuild rename to sys-cluster/ceph/ceph-17.2.6-r8.ebuild index 2a2b757517dd..3f4382b4cbef 100644 --- a/sys-cluster/ceph/ceph-17.2.6-r7.ebuild +++ b/sys-cluster/ceph/ceph-17.2.6-r8.ebuild @@ -110,7 +110,7 @@ BDEPEND=" x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 - <dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/gperf @@ -226,6 +226,8 @@ PATCHES=( "${FILESDIR}/ceph-17.2.6-arrow-flatbuffers-c++14.patch" # https://bugs.gentoo.org/868891 "${FILESDIR}/ceph-17.2.6-cmake.patch" + # https://bugs.gentoo.org/907739 + "${FILESDIR}/ceph-18.2.0-cython3.patch" ) check-reqs_export_vars() { diff --git a/sys-cluster/ceph/ceph-18.2.0-r1.ebuild b/sys-cluster/ceph/ceph-18.2.0-r2.ebuild similarity index 99% rename from sys-cluster/ceph/ceph-18.2.0-r1.ebuild rename to sys-cluster/ceph/ceph-18.2.0-r2.ebuild index c24704db3311..72743d105137 100644 --- a/sys-cluster/ceph/ceph-18.2.0-r1.ebuild +++ b/sys-cluster/ceph/ceph-18.2.0-r2.ebuild @@ -107,13 +107,12 @@ DEPEND=" zbd? ( sys-block/libzbd:= ) zfs? ( sys-fs/zfs:= ) " -# <cython-3: bug #907739 BDEPEND=" amd64? ( dev-lang/nasm ) x86? ( dev-lang/yasm ) app-arch/cpio >=dev-util/cmake-3.5.0 - <dev-python/cython-3[${PYTHON_USEDEP}] + dev-python/cython[${PYTHON_USEDEP}] dev-python/setuptools[${PYTHON_USEDEP}] dev-python/sphinx dev-util/gperf @@ -224,6 +223,8 @@ PATCHES=( # https://bugs.gentoo.org/868891 "${FILESDIR}/ceph-17.2.6-cmake.patch" "${FILESDIR}/ceph-18.2.0-cyclic-deps.patch" + # https://bugs.gentoo.org/907739 + "${FILESDIR}/ceph-18.2.0-cython3.patch" ) check-reqs_export_vars() { diff --git a/sys-cluster/ceph/files/ceph-18.2.0-cython3.patch b/sys-cluster/ceph/files/ceph-18.2.0-cython3.patch new file mode 100644 index 000000000000..bfaeacea4f26 --- /dev/null +++ b/sys-cluster/ceph/files/ceph-18.2.0-cython3.patch @@ -0,0 +1,26 @@ +diff --git a/src/pybind/rbd/rbd.pyx b/src/pybind/rbd/rbd.pyx +index 5e14e38c919..d10dce62262 100644 +--- a/src/pybind/rbd/rbd.pyx ++++ b/src/pybind/rbd/rbd.pyx +@@ -371,10 +371,10 @@ ELSE: + cdef rados_ioctx_t convert_ioctx(rados.Ioctx ioctx) except? NULL: + return <rados_ioctx_t>ioctx.io + +-cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) with gil: ++cdef int progress_callback(uint64_t offset, uint64_t total, void* ptr) noexcept with gil: + return (<object>ptr)(offset, total) + +-cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr): ++cdef int no_op_progress_callback(uint64_t offset, uint64_t total, void* ptr) noexcept with gil: + return 0 + + def cstr(val, name, encoding="utf-8", opt=False): +@@ -426,7 +426,7 @@ RBD_MIRROR_PEER_ATTRIBUTE_NAME_KEY = decode_cstr(_RBD_MIRROR_PEER_ATTRIBUTE_NAME + + cdef class Completion + +-cdef void __aio_complete_cb(rbd_completion_t completion, void *args) with gil: ++cdef void __aio_complete_cb(rbd_completion_t completion, void *args) noexcept with gil: + """ + Callback to oncomplete() for asynchronous operations + """