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 6AAEE158087 for ; Sun, 6 Feb 2022 00:31:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B58862BC003; Sun, 6 Feb 2022 00:31:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 5E6CD2BC003 for ; Sun, 6 Feb 2022 00:31:14 +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 764D9342E8A for ; Sun, 6 Feb 2022 00:31:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD4592BF for ; Sun, 6 Feb 2022 00:31:11 +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: <1644107441.2a9f6fcd42024201986cf92968a2fd14143e447e.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-5.0.2-r1.ebuild X-VCS-Directories: dev-db/mongodb/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2a9f6fcd42024201986cf92968a2fd14143e447e X-VCS-Branch: master Date: Sun, 6 Feb 2022 00:31:11 +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: e17ae9ab-3c52-463e-a670-8d424bcec1e6 X-Archives-Hash: 60caebe4b70bf63c7b45eb32c10569f5 commit: 2a9f6fcd42024201986cf92968a2fd14143e447e Author: Sam James gentoo org> AuthorDate: Sun Feb 6 00:30:18 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 6 00:30:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a9f6fcd dev-db/mongodb: fix pkg_setup for non-amd64 (e.g. arm64) Closes: https://bugs.gentoo.org/832761 Signed-off-by: Sam James gentoo.org> dev-db/mongodb/mongodb-5.0.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-db/mongodb/mongodb-5.0.2-r1.ebuild b/dev-db/mongodb/mongodb-5.0.2-r1.ebuild index 70c31271f576..f26b693c4f11 100644 --- a/dev-db/mongodb/mongodb-5.0.2-r1.ebuild +++ b/dev-db/mongodb/mongodb-5.0.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -79,7 +79,7 @@ python_check_deps() { pkg_pretend() { # Bug 809692 - if ! use cpu_flags_x86_avx; then + if use amd64 && ! use cpu_flags_x86_avx; then eerror "MongoDB 5.0 requires use of the AVX instruction set" eerror "https://docs.mongodb.com/v5.0/administration/production-notes/" die "MongoDB requires AVX"