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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6FCBD158086 for ; Sun, 24 Oct 2021 22:10:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59E57E07D8; Sun, 24 Oct 2021 22:10:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3DC71E07D8 for ; Sun, 24 Oct 2021 22:10:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 099ED3433EE for ; Sun, 24 Oct 2021 22:10:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 895E8D0 for ; Sun, 24 Oct 2021 22:10:55 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1635113370.78e0d4ea5ceacc407f7c3acdec0b0eb2eff08ef0.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/maturin/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/maturin/maturin-0.11.5.ebuild X-VCS-Directories: dev-util/maturin/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: 78e0d4ea5ceacc407f7c3acdec0b0eb2eff08ef0 X-VCS-Branch: master Date: Sun, 24 Oct 2021 22:10:55 +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: 3c79922f-1398-4f92-80bb-d3c04b25d08c X-Archives-Hash: 2fb056f7df249d3d033f33c35047ac9b commit: 78e0d4ea5ceacc407f7c3acdec0b0eb2eff08ef0 Author: Ionen Wolkens gentoo org> AuthorDate: Sun Oct 24 21:13:31 2021 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Sun Oct 24 22:09:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e0d4ea dev-util/maturin: filter out -flto ring crate uses C and not seeing a way to skip using it, filter out lto to avoid undefined references Signed-off-by: Ionen Wolkens gentoo.org> dev-util/maturin/maturin-0.11.5.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-util/maturin/maturin-0.11.5.ebuild b/dev-util/maturin/maturin-0.11.5.ebuild index 3ab6a9155f4..896159452b6 100644 --- a/dev-util/maturin/maturin-0.11.5.ebuild +++ b/dev-util/maturin/maturin-0.11.5.ebuild @@ -243,7 +243,7 @@ CRATES_TEST=" scopeguard-1.1.0 smallvec-1.7.0" PYTHON_COMPAT=( python3_{8..10} ) -inherit cargo python-any-r1 +inherit cargo flag-o-matic python-any-r1 DESCRIPTION="Build and publish crates with pyo3, rust-cpython and cffi bindings" HOMEPAGE="https://github.com/pyo3/maturin" @@ -278,6 +278,12 @@ pkg_setup() { use test && python-any-r1_pkg_setup } +src_configure() { + filter-flags '-flto*' # undefined references with ring crate + + cargo_src_configure +} + src_test() { cargo_src_test -- --skip locked_doesnt_build_without_cargo_lock }