Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/prefix/standalone/
Date: Sat, 04 Mar 2023 02:23:25
Message-Id: 1677896561.8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c.sam@gentoo
1 commit: 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c
2 Author: Bart Oldeman <bart.oldeman <AT> calculquebec <DOT> ca>
3 AuthorDate: Fri Mar 3 03:27:50 2023 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 02:22:41 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8e2619
7
8 profiles/features/prefix/standalone: mask getentropy
9
10 When bootstrapping on a 3.10 kernel (e.g. CentOS 7.x), libgcrypt notes the following:
11 ```
12 * Messages for package dev-libs/libgcrypt-1.10.1-r3:
13 * The getentropy function requires the getrandom syscall.
14 * This was introduced in Linux 3.17.
15 * Your system is currently running Linux 3.10.0-1160.45.1.el7.x86_64.
16 * Disable the 'getentropy' USE flag or upgrade your kernel.
17 * ERROR: dev-libs/libgcrypt-1.10.1-r3::gentoo failed (pretend phase):
18 * Kernel is too old for getentropy
19 ```
20 Since without getrandom it will do a runtime check it's ok to mask.
21
22 Signed-off-by: Bart Oldeman <bart.oldeman <AT> calculquebec.ca>
23 Closes: https://github.com/gentoo/gentoo/pull/29906
24 Signed-off-by: Sam James <sam <AT> gentoo.org>
25
26 profiles/features/prefix/standalone/package.use.mask | 6 +++++-
27 1 file changed, 5 insertions(+), 1 deletion(-)
28
29 diff --git a/profiles/features/prefix/standalone/package.use.mask b/profiles/features/prefix/standalone/package.use.mask
30 index 6c81333b0b2a..cb74107fef3b 100644
31 --- a/profiles/features/prefix/standalone/package.use.mask
32 +++ b/profiles/features/prefix/standalone/package.use.mask
33 @@ -1,6 +1,10 @@
34 -# Copyright 1999-2019 Gentoo Authors
35 +# Copyright 1999-2023 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 +# Bart Oldeman <bart.oldeman@××××××××××××.ca> (2022-03-02)
39 +# getentropy requires >=linux=3.17 for __NR_getrandom
40 +dev-libs/libgcrypt getentropy
41 +
42 # Georgy Yakovlev <gyakovlev@g.o> (2021-01-19)
43 # uchardet not stable/keyworded yet on this profile keyword
44 # bug #750032