around line 1020: /usr/share/genkernel/gen_initramfs.sh: sed -i '/^.*CONFIG_INITRAMFS_SOURCE=.*$/d' ${KERNEL_DIR}/.config This fails with out-of-source builds, most other bits use "${KERNEL_OUTPUTDIR} instead. Since there's no die/abort it just prints a 'sed: can't find file' warning.
I am wondering that you are reporting this against 3.5.3.3. This version doesn't use $KERNEL_DIR/.config -- this was fixed long time ago (2y before your bug report): https://github.com/gentoo/genkernel/commit/f9324a84796a5dbcac9d3a3fe2bead24f2853aa1 Am I missing something? But I'll add a "|| gen_die ..." statement to guard against uncatched failures.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ba8d7607b735d08eede975671edcc1e6d9b37345 commit ba8d7607b735d08eede975671edcc1e6d9b37345 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-03-26 09:48:59 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-03-26 09:48:59 +0000 create_initramfs(): add error checking sed call which ties to delete CONFIG_INITRAMFS_SOURCE Bug: https://bugs.gentoo.org/656944 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gen_initramfs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)