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 202CC158009 for ; Sat, 4 Mar 2023 02:23:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 560FDE07A5; Sat, 4 Mar 2023 02:23:24 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E2BAE07A5 for ; Sat, 4 Mar 2023 02:23:24 +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 45305340B9E for ; Sat, 4 Mar 2023 02:23:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D736F8C1 for ; Sat, 4 Mar 2023 02:23:20 +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: <1677896561.8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/prefix/standalone/package.use.mask X-VCS-Directories: profiles/features/prefix/standalone/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c X-VCS-Branch: master Date: Sat, 4 Mar 2023 02:23:20 +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: e5381b5c-b9f3-4751-9ab8-9c2fc97cb787 X-Archives-Hash: d1e71828a7daef249a5fa3eff3a9b7c9 commit: 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c Author: Bart Oldeman calculquebec ca> AuthorDate: Fri Mar 3 03:27:50 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 4 02:22:41 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8e2619 profiles/features/prefix/standalone: mask getentropy When bootstrapping on a 3.10 kernel (e.g. CentOS 7.x), libgcrypt notes the following: ``` * Messages for package dev-libs/libgcrypt-1.10.1-r3: * The getentropy function requires the getrandom syscall. * This was introduced in Linux 3.17. * Your system is currently running Linux 3.10.0-1160.45.1.el7.x86_64. * Disable the 'getentropy' USE flag or upgrade your kernel. * ERROR: dev-libs/libgcrypt-1.10.1-r3::gentoo failed (pretend phase): * Kernel is too old for getentropy ``` Since without getrandom it will do a runtime check it's ok to mask. Signed-off-by: Bart Oldeman calculquebec.ca> Closes: https://github.com/gentoo/gentoo/pull/29906 Signed-off-by: Sam James gentoo.org> profiles/features/prefix/standalone/package.use.mask | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask index 6c81333b0b2a..cb74107fef3b 100644 --- a/profiles/features/prefix/standalone/package.use.mask +++ b/profiles/features/prefix/standalone/package.use.mask @@ -1,6 +1,10 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Bart Oldeman (2022-03-02) +# getentropy requires >=linux=3.17 for __NR_getrandom +dev-libs/libgcrypt getentropy + # Georgy Yakovlev (2021-01-19) # uchardet not stable/keyworded yet on this profile keyword # bug #750032