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 85DDB158041 for ; Fri, 29 Mar 2024 18:47:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B33B9E2A44; Fri, 29 Mar 2024 18:47:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 97EA7E2A44 for ; Fri, 29 Mar 2024 18:47:52 +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 E087F3430F8 for ; Fri, 29 Mar 2024 18:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44877160B for ; Fri, 29 Mar 2024 18:47:50 +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: <1711737910.74d15cc540af693ad1ebd92754ebb0634a6985c5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/sanlock/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/sanlock/sanlock-3.8.5.ebuild X-VCS-Directories: sys-cluster/sanlock/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 74d15cc540af693ad1ebd92754ebb0634a6985c5 X-VCS-Branch: master Date: Fri, 29 Mar 2024 18:47:50 +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: 2bddc240-f9da-443d-90b4-8df257cb54c4 X-Archives-Hash: 2fdd1a244549e721c601c4381adca33a commit: 74d15cc540af693ad1ebd92754ebb0634a6985c5 Author: Eli Schwartz gmail com> AuthorDate: Fri Mar 29 04:25:25 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 29 18:45:10 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d15cc5 sys-cluster/sanlock: mark as LTO-unsafe Closes: https://bugs.gentoo.org/863734 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sys-cluster/sanlock/sanlock-3.8.5.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys-cluster/sanlock/sanlock-3.8.5.ebuild b/sys-cluster/sanlock/sanlock-3.8.5.ebuild index 74db35ff3d2c..1c3de529c26b 100644 --- a/sys-cluster/sanlock/sanlock-3.8.5.ebuild +++ b/sys-cluster/sanlock/sanlock-3.8.5.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit linux-info python-r1 systemd +inherit flag-o-matic linux-info python-r1 systemd DESCRIPTION="shared storage lock manager" HOMEPAGE="https://pagure.io/sanlock" @@ -35,6 +35,11 @@ PATCHES=( CONFIG_CHECK="~SOFT_WATCHDOG" src_compile() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/863734 + # https://pagure.io/sanlock/issue/10 + filter-lto + for d in wdmd src fence_sanlock reset; do emake -C ${d} done