Hi, I'm updating for fun my old iBook G4 (PowerPC arch), that was last time used in 2017. During emerging (with -io_uring) I got two weird messages about kernel configuration, at the beginning: > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 4.9.16-gentoo > * Checking for suitable kernel configuration options ... > * required for USE=io-uring >[ !! ] > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. At the end: > * Messages for package sys-apps/plocate-1.1.15: > > * required for USE=io-uring > * Please check to make sure these options are set correctly. > * Failure to do so may cause unexpected problems. > * The database for the locate command is generated daily by a cron job, > * if you install for the first time you can run the updatedb command manually now. > * Since I don't have io_uring flag set, I think it shouldn't check if it is set in kernel configuration. Also, message don't really tell what it expect to be set in kernel.
I think we should make the kernel configuration check conditionally, based on the io-uring USE flag, probably using linux_config_exists and linux_chkconfig_present from the linux-info.eclass.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f908799e1426c93655cbbab52652ae8ca28e7b89 commit f908799e1426c93655cbbab52652ae8ca28e7b89 Author: Florian Schmaus <flow@gentoo.org> AuthorDate: 2022-05-18 07:25:17 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2022-05-18 10:37:48 +0000 sys-apps/plocate: only check for io-uring kernel config if USE enabled Closes: https://bugs.gentoo.org/844883 Closes: https://github.com/gentoo/gentoo/pull/25546 Signed-off-by: Florian Schmaus <flow@gentoo.org> sys-apps/plocate/plocate-1.1.15.ebuild | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-)