Every time I bump linux-headers I try to move it to EAPI=7 without success: * ERROR: sys-kernel/linux-headers-5.4::gentoo failed (depend phase): * kernel-2: EAPI 7 not supported * * Call stack: * ebuild.sh, line 616: Called source '/gentoo-ebuilds/gentoo/sys-kernel/linux-headers/linux-headers-5.4.ebuild' * linux-headers-5.4.ebuild, line 8: Called inherit 'kernel-2' * ebuild.sh, line 317: Called __qa_source '/gentoo-ebuilds/gentoo/eclass/kernel-2.eclass' * ebuild.sh, line 112: Called source '/gentoo-ebuilds/gentoo/eclass/kernel-2.eclass' * kernel-2.eclass, line 201: Called die * The specific snippet of code: * *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
ping
Created attachment 707682 [details, diff] Clean-up patch on top of PR referenced
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48876101539b1cb8aff5da5a4566fd03ddea114a commit 48876101539b1cb8aff5da5a4566fd03ddea114a Author: David Michael <fedora.dm0@gmail.com> AuthorDate: 2021-02-05 17:14:21 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-05-27 21:15:13 +0000 kernel-2.eclass: EAPI 7 support This converts installation paths prefixed with EROOT or ED to have a leading slash, switches DEPEND to BDEPEND for EAPI 7 so tools are installed in BROOT and natively executable, and makes eapply_user the default src_prepare behavior for EAPIs since 6. It also drops the binutils build-time dependency since it was added in the original kernel.eclass implementation ~20 years ago to enforce a minimum version to avoid old assembly bugs. All affected versions are long gone, and it isn't required to install sources anyway, so skip building the unused binutils dependency. Closes: https://bugs.gentoo.org/702280 Signed-off-by: David Michael <fedora.dm0@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> eclass/kernel-2.eclass | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-)