commit: 8d8e2619bd8d6edf4e95ed33b664765b0db9dc8c Author: Bart Oldeman <bart.oldeman <AT> calculquebec <DOT> ca> AuthorDate: Fri Mar 3 03:27:50 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <bart.oldeman <AT> calculquebec.ca> Closes: https://github.com/gentoo/gentoo/pull/29906 Signed-off-by: Sam James <sam <AT> 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 <[email protected]> (2022-03-02) +# getentropy requires >=linux=3.17 for __NR_getrandom +dev-libs/libgcrypt getentropy + # Georgy Yakovlev <[email protected]> (2021-01-19) # uchardet not stable/keyworded yet on this profile keyword # bug #750032
