diff options
author | Bart Oldeman <bart.oldeman@calculquebec.ca> | 2023-03-02 22:27:50 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-04 02:22:41 +0000 |
commit | 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c (patch) | |
tree | 2fec1c89a3a59daf5ec8e49d8dc56e388a506c63 /profiles | |
parent | sys-devel/gcc: add 10.4.1_p20230302 (diff) | |
download | gentoo-8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c.tar.gz gentoo-8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c.tar.bz2 gentoo-8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c.zip |
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 <bart.oldeman@calculquebec.ca>
Closes: https://github.com/gentoo/gentoo/pull/29906
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r-- | profiles/features/prefix/standalone/package.use.mask | 6 |
1 files changed, 5 insertions, 1 deletions
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 <bart.oldeman@calculquebec.ca> (2022-03-02) +# getentropy requires >=linux=3.17 for __NR_getrandom +dev-libs/libgcrypt getentropy + # Georgy Yakovlev <gyakovlev@gentoo.org> (2021-01-19) # uchardet not stable/keyworded yet on this profile keyword # bug #750032 |