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 927A1158451 for ; Sun, 7 Jan 2024 07:44:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9976E2A73; Sun, 7 Jan 2024 07:44:47 +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 72617E2A73 for ; Sun, 7 Jan 2024 07:44:47 +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 529DB34325C for ; Sun, 7 Jan 2024 07:44:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD4F41300 for ; Sun, 7 Jan 2024 07:44:44 +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: <1704613468.e24b8b28cee24069a2314fdf0272a4f840358316.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mongodb/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mongodb/mongodb-4.4.20.ebuild dev-db/mongodb/mongodb-5.0.16-r1.ebuild X-VCS-Directories: dev-db/mongodb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e24b8b28cee24069a2314fdf0272a4f840358316 X-VCS-Branch: master Date: Sun, 7 Jan 2024 07:44:44 +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: 2df39024-87fa-46f3-a5a7-0a582131074d X-Archives-Hash: 03468f87281b4051ece158ebb4e4071c commit: e24b8b28cee24069a2314fdf0272a4f840358316 Author: Sam James gentoo org> AuthorDate: Sun Jan 7 07:43:53 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 7 07:44:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24b8b28 dev-db/mongodb: drop USE=lto As noted in the bug (and this is why we're removing it in general unless it's useful), it has confusing semantics if the user passes -flto in their *FLAGS. After inspecting the upstream build system, the LTO build option which USE=lto wires up does nothing useful, so drop it. Closes: https://bugs.gentoo.org/915081 Signed-off-by: Sam James gentoo.org> dev-db/mongodb/mongodb-4.4.20.ebuild | 5 ++--- dev-db/mongodb/mongodb-5.0.16-r1.ebuild | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/dev-db/mongodb/mongodb-4.4.20.ebuild b/dev-db/mongodb/mongodb-4.4.20.ebuild index 4dc301c49f07..fec625caa508 100644 --- a/dev-db/mongodb/mongodb-4.4.20.ebuild +++ b/dev-db/mongodb/mongodb-4.4.20.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=7 @@ -21,7 +21,7 @@ SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz" LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="amd64 ~arm64 -riscv" -IUSE="debug kerberos lto ssl test +tools" +IUSE="debug kerberos ssl test +tools" RESTRICT="!test? ( test )" RDEPEND="acct-group/mongodb @@ -123,7 +123,6 @@ src_configure() { use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300 use debug && scons_opts+=( --dbg=on ) use kerberos && scons_opts+=( --use-sasl-client ) - use lto && scons_opts+=( --lto=on ) use ssl && scons_opts+=( --ssl ) # Needed to avoid forcing FORTIFY_SOURCE diff --git a/dev-db/mongodb/mongodb-5.0.16-r1.ebuild b/dev-db/mongodb/mongodb-5.0.16-r1.ebuild index 887fc03dafc2..736c9288f5fd 100644 --- a/dev-db/mongodb/mongodb-5.0.16-r1.ebuild +++ b/dev-db/mongodb/mongodb-5.0.16-r1.ebuild @@ -22,7 +22,7 @@ LICENSE="Apache-2.0 SSPL-1" SLOT="0" KEYWORDS="amd64 ~arm64 -riscv" CPU_FLAGS="cpu_flags_x86_avx" -IUSE="debug kerberos lto mongosh ssl +tools ${CPU_FLAGS}" +IUSE="debug kerberos mongosh ssl +tools ${CPU_FLAGS}" # https://github.com/mongodb/mongo/wiki/Test-The-Mongodb-Server # resmoke needs python packages not yet present in Gentoo @@ -138,7 +138,6 @@ src_configure() { use arm64 && scons_opts+=( --use-hardware-crc32=off ) # Bug 701300 use debug && scons_opts+=( --dbg=on ) use kerberos && scons_opts+=( --use-sasl-client ) - use lto && scons_opts+=( --lto=on ) use amd64 && ! use cpu_flags_x86_avx && scons_opts+=( --experimental-optimization=-sandybridge ) # Bug 890294 scons_opts+=( --ssl=$(usex ssl on off) )