if you take the actual stage3 and come to the point to build kernel, the kernel compiles at stops without error. if you emerge cpio "before" kernel compiling runs to end without failure. so, actual stage3 misses cpio marko
which exact package did you use to compile the kernen? genkernel depends on cpio, sys-kernel/gentoo-sources does not. https://qa-reports.gentoo.org/output/genrdeps/rindex/app-arch/cpio
And please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Are you using a kernel config which specifies a cpio archive or dir for built-in initramfs? Most people can build a kernel just fine without cpio.
(In reply to Jonas Stein from comment #1) > which exact package did you use to compile the kernen? > genkernel depends on cpio, sys-kernel/gentoo-sources does not. > > https://qa-reports.gentoo.org/output/genrdeps/rindex/app-arch/cpio i used vanilla-sources
(In reply to Jonas Stein from comment #2) > And please recompile and > *attach* the logfiles and > paste the emerge info as described on > https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket > We need to have all information at hand before ticket assignment, so that > the maintainer can look after it in one session with minimal number of > callbacks. finally i could compile vanilla-sources , after emerge cpio. i can do recompile and if theres a compile log i can attach. But i dont know if a "make -j8 && make -j8 modules_install" leaves a log..
Please attach your .config
Created attachment 598290 [details] vanilla-sources config vanilla sources kernel config
I think we will need to see that kernel build log too
GEN kernel/kheaders_data.tar.xz ./kernel/gen_kheaders.sh: line 61: cpio: command not found make[1]: *** [kernel/Makefile:133: kernel/kheaders_data.tar.xz] Error 127
This is caused by CONFIG_IKHEADERS=m I've never seen someone enable this. Frankly, I don't think we should add cpio to @system or to *-sources deps, just for this corner case. You can emerge it if you want it.
Thank you for reporting this. Finding this bug helped me solve an install issue. I had no idea it was cpio it was depending on but sure enough.
This bug report helped me to fix the same issue. Thanks!
+1 on the "this bug helped me fix the same problem". i was using gentoo-sources. it wouldn't surprise me if there were other dependencies that pop up, based on the kernel config. would the handbook be a good place to collect this sort of info? arguably, search engines + this bug report were enough for me in this case.
+1 more on fixing issue. dunno why I selected that in the first place.
Perhaps someone can collect a list of the possible dependencies for various kernel build features and we can display them in pkg_postinst of kernel source packages. I do not believe we need to add these things in @system (for stage3)