/var/db/repos/gentoo/eclass/linux-mod.eclass contains the line: pigz -n$(makeopts_jobs) ${modulename}.${KV_OBJ} Option "-n" is wrong because... - option "-n" does NOT specify the number of parallel jobs - option "-n" does NOT take an argument. - $(makeopts_jobs) is interpreted as the compressions level (which is not what we want) - pigz fails if makeopts_jobs > 11, because the maximum compression level is 11 Solution: either omit option "-n" or use option "-p", which specifies the maximum number of processes. See: https://forums.gentoo.org/viewtopic-p-8753121.html#8753121
It should indeed be -p and I thought I'd fixed that. I'll do so shortly.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cac2a01d770fa260b20696f7ebb378141607cd5 commit 2cac2a01d770fa260b20696f7ebb378141607cd5 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-10-15 12:58:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-10-15 12:58:10 +0000 linux-mod.eclass: fix pigz threads argument I'm sorry, I thought I'd caught this before. Closes: https://bugs.gentoo.org/877207 Signed-off-by: Sam James <sam@gentoo.org> eclass/linux-mod.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)