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 910E0158094 for ; Wed, 27 Jul 2022 23:54:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 555CCE1155; Wed, 27 Jul 2022 23:54:58 +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 2E916E1155 for ; Wed, 27 Jul 2022 23:54:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 07831340CB1 for ; Wed, 27 Jul 2022 23:54:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 61CFE326 for ; Wed, 27 Jul 2022 23:54:55 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1658965413.7f4e93388771731395d5848538531f6419f843f3.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/suricata/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/suricata/suricata-6.0.6.ebuild X-VCS-Directories: net-analyzer/suricata/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 7f4e93388771731395d5848538531f6419f843f3 X-VCS-Branch: master Date: Wed, 27 Jul 2022 23:54: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: b884ea8b-da6e-48b7-818a-c968f8d8a2e4 X-Archives-Hash: 76ea9b172126f08a4cdda7e8912945ce commit: 7f4e93388771731395d5848538531f6419f843f3 Author: Marek Szuba gentoo org> AuthorDate: Wed Jul 27 23:43:33 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Wed Jul 27 23:43:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4e9338 net-analyzer/suricata: filter out LTO flags Triggers type mismatches as demonstrated in the linked bug. Don't bother doing the same with suricata-5, it is mere days away from its end of life. Closes: https://bugs.gentoo.org/861242 Signed-off-by: Marek Szuba gentoo.org> net-analyzer/suricata/suricata-6.0.6.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-analyzer/suricata/suricata-6.0.6.ebuild b/net-analyzer/suricata/suricata-6.0.6.ebuild index 1170a44de6b0..751a280a7b5d 100644 --- a/net-analyzer/suricata/suricata-6.0.6.ebuild +++ b/net-analyzer/suricata/suricata-6.0.6.ebuild @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-1 luajit ) PYTHON_COMPAT=( python3_{8..10} ) -inherit autotools linux-info lua-single python-single-r1 systemd tmpfiles +inherit autotools flag-o-matic linux-info lua-single python-single-r1 systemd tmpfiles DESCRIPTION="High performance Network IDS, IPS and Network Security Monitoring engine" HOMEPAGE="https://suricata.io/" @@ -80,6 +80,9 @@ src_prepare() { } src_configure() { + # Bug #861242 + filter-lto + local myeconfargs=( "--localstatedir=/var" \ "--runstatedir=/run" \