From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 DF92C158041 for ; Thu, 21 Mar 2024 05:58:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2BF61E29AA; Thu, 21 Mar 2024 05:58:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 0C9B4E29AA for ; Thu, 21 Mar 2024 05:58:48 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 306E3343022 for ; Thu, 21 Mar 2024 05:58:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C6FFA15AC for ; Thu, 21 Mar 2024 05:58:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1711000658.4586f5f9bbc3786a03d316a4a6a06175c66b362d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/grpcio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/grpcio/grpcio-1.51.0-r1.ebuild X-VCS-Directories: dev-python/grpcio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4586f5f9bbc3786a03d316a4a6a06175c66b362d X-VCS-Branch: master Date: Thu, 21 Mar 2024 05:58:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c5528a86-b6a8-4b3d-bca8-58c1b0408b8c X-Archives-Hash: c69e87d533607644299e7cc0023e5362 commit: 4586f5f9bbc3786a03d316a4a6a06175c66b362d Author: Eli Schwartz gmail com> AuthorDate: Thu Mar 21 03:43:39 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Mar 21 05:57:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4586f5f9 dev-python/grpcio: mark as LTO-unsafe Closes: https://bugs.gentoo.org/856775 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> dev-python/grpcio/grpcio-1.51.0-r1.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-python/grpcio/grpcio-1.51.0-r1.ebuild b/dev-python/grpcio/grpcio-1.51.0-r1.ebuild index c913ad233af6..d6ca281e1887 100644 --- a/dev-python/grpcio/grpcio-1.51.0-r1.ebuild +++ b/dev-python/grpcio/grpcio-1.51.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 multiprocessing prefix pypi +inherit distutils-r1 flag-o-matic multiprocessing prefix pypi DESCRIPTION="High-performance RPC framework (python libraries)" HOMEPAGE="https://grpc.io" @@ -38,6 +38,11 @@ python_prepare_all() { } python_configure_all() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + # os.environ.get('GRPC_BUILD_WITH_BORING_SSL_ASM', True) export GRPC_BUILD_WITH_BORING_SSL_ASM= export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1