Your sins include: 1. PYTHON_COMPAT is set in eclass while it belongs in ebuilds. Setting it in eclass breaks our tools, so please don't do that. 2. python-any-r1 is inherited unconditionally while the relevant code is used only with ETYPE==sources, -z K_PREDEBLOBBED and K_DEBLOB_AVAILABLE==1. This creates false positives that you forgot to use the eclass. 3. python-any-r1_pkg_setup is not being called at all. Which means that whatever you set above is not respected anyway.
python_setup is used for K_DEBLOB_AVAILABLE=1 K_DEBLOB_AVAILABLE=1 is used by ck-sources ebuild
I need the kernels that support deblob to do the changes in their ebuilds first, then I can fix these. I'll open up bugs against them and then put them here as blockers.
ping
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20028157ec958fae597441a534b3f045fe2606f3 commit 20028157ec958fae597441a534b3f045fe2606f3 Author: Alice Ferrazzi <alicef@gentoo.org> AuthorDate: 2022-07-27 09:16:31 +0000 Commit: Alice Ferrazzi <alicef@gentoo.org> CommitDate: 2022-08-07 09:56:29 +0000 kernel-2.eclass: Force deblob-check to use awk This patch remove python from the kernel-2.eclass by forcing the deblob-check script to use awk instead of python. Closes: https://bugs.gentoo.org/610008 Signed-off-by: Alice Ferrazzi <alicef@gentoo.org> eclass/kernel-2.eclass | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-)