Genkernel-4.0.10 works fine when I revert but the failure will repro reliably with Genkernel-4.1.0 I suspect this commit but I haven't done a bisect https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=19df7f243f9440a8192d112363daa26aca69c846 Reproducible: Always Steps to Reproduce: 1. use built-in Initramfs 2. upgrade to 4.1.0 3. run genkernel all Actual Results: genkernel all * Gentoo Linux Genkernel; Version 4.1.0 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: all * Working with Linux kernel 5.8.1-gentoo-x86_64 for x86_64 * Using kernel config file '/etc/kernels/kernel-config-5.8.1-gentoo-x86_64' ... * * Note: The version above is subject to change (depends on config and status of kernel sources). * mount: >> Boot partition was temporarily mounted on '/boot' ... * kernel: >> Initializing ... * >> --no-clean is set; Skipping 'make clean' ... * >> --no-mrproper is set; Skipping 'make mrproper' ... * >> Will ignore kernel config from '/etc/kernels/kernel-config-5.8.1-gentoo-x86_64' * in favor of already existing but different kernel config * found in '/usr/src/linux/.config' ... * >> Running 'make oldconfig' ... * >> Re-running 'make oldconfig' due to changed kernel options ... * >> Compiling 5.8.1-gentoo-x86_64 bzImage ... * >> Compiling 5.8.1-gentoo-x86_64 modules ... * >> Installing 5.8.1-gentoo-x86_64 modules (and stripping) ... * >> Generating module dependency data ... * >> Saving config of successful build to '/etc/kernels/kernel-config-5.8.1-gentoo-x86_64' ... * initramfs: >> Initializing ... * >> Appending devices cpio data ... * >> Appending base_layout cpio data ... * >> Appending eudev cpio data ... * >> Appending devicemanager cpio data ... * >> Appending auxilary cpio data ... * >> Appending busybox cpio data ... * >> Appending blkid cpio data ... * >> Appending e2fsprogs cpio data ... * >> Appending mdadm cpio data ... * >> Appending modprobed cpio data ... * >> Appending modules cpio data ... * >> Appending linker cpio data ... * >> Deduping cpio ... * >> Pre-generating initramfs' /etc/ld.so.cache ... * >> --integrated-initramfs is set; Setting CONFIG_INITRAMFS_* options ... sed: -e expression #1, char 66: unknown option to `s' * ERROR: Failed to set 'CONFIG_INITRAMFS_SOURCE="/var/tmp/genkernel/initramfs-x86_64-5.8.1-gentoo-x86_64.cpio"' in '/usr/src/linux/.config' * Please consult '/var/log/genkernel.log' for more information and any * errors that were reported above. * * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * as much information as you can in your bug report; attaching * '/var/log/genkernel.log' so that your issue can be dealt with effectively. * * Please do *not* report kernel compilation failures as genkernel bugs! * * mount: >> Automatically unmounting boot partition from '/boot' as it was previously ... Expected Results: genkernel all * Gentoo Linux Genkernel; Version 4.0.10 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: all * Working with Linux kernel 5.8.1-gentoo-x86_64 for x86_64 * Using kernel config file '/etc/kernels/kernel-config-5.8.1-gentoo-x86_64' ... * * Note: The version above is subject to change (depends on config and status of kernel sources). * mount: >> Boot partition was temporarily mounted on '/boot' ... * kernel: >> Initializing ... * >> --no-clean is set; Skipping 'make clean' ... * >> --no-mrproper is set; Skipping 'make mrproper' ... * >> Running 'make oldconfig' ... * >> Compiling 5.8.1-gentoo-x86_64 bzImage ... * >> Compiling 5.8.1-gentoo-x86_64 modules ... * >> Installing 5.8.1-gentoo-x86_64 modules (and stripping) ... * >> Generating module dependency data ... * >> Saving config of successful build to '/etc/kernels/kernel-config-5.8.1-gentoo-x86_64' ... * initramfs: >> Initializing ... * >> Appending devices cpio data ... * >> Appending base_layout cpio data ... * >> Appending auxilary cpio data ... * >> Appending busybox cpio data ... * >> Appending blkid cpio data ... * >> Appending e2fsprogs cpio data ... * >> Appending mdadm cpio data ... * >> Appending modprobed cpio data ... * >> Appending modules cpio data ... * >> Appending linker cpio data ... * >> Deduping cpio ... * >> Pre-generating initramfs' /etc/ld.so.cache ... * >> --integrated-initramfs is set; Setting CONFIG_INITRAMFS_* options ... * >> Running 'make olddefconfig' due to changed kernel options ... * >> Compiling 5.8.1-gentoo-x86_64 bzImage ... * Kernel compiled successfully! * * --no-bootloader set; Skipping bootloader update ... * * Required kernel parameter: * * root=/dev/$ROOT * * Where $ROOT is the device node for your root partition as the * one specified in /etc/fstab * * Initramfs is integrated into kernel image. * WARNING... WARNING... WARNING... * Additional kernel parameters that *may* be required to boot properly: * - Add "domdadm" for MDRAID support * * With support for several ext* filesystems available, it may be needed to * add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters. * mount: >> Automatically unmounting boot partition from '/boot' as it was previously ... * Do NOT report kernel bugs as genkernel bugs unless your bug * is about the default genkernel configuration... * * Make sure you have the latest ~arch genkernel before reporting bugs.
Created attachment 655058 [details] genkernel.conf
Created attachment 655060 [details] linux config
snip from genkernel.log * >> Deduping cpio ... * >> Pre-generating initramfs' /etc/ld.so.cache ... * >> --integrated-initramfs is set; Setting CONFIG_INITRAMFS_* options ... * - Option 'CONFIG_BLK_DEV_INITRD=y' already set in '/usr/src/linux/.config'; Skipping ... * - Setting option 'CONFIG_INITRAMFS_SOURCE' to '"/var/tmp/genkernel/initramfs-x86_64-5.8.1-gentoo-x86_64.cpio"' in '/usr/src/linux/.config'... * ERROR: Failed to set 'CONFIG_INITRAMFS_SOURCE="/var/tmp/genkernel/initramfs-x86_64-5.8.1-gentoo-x86_64.cpio"' in '/usr/src/linux/.config' * Please consult '/var/log/genkernel.log' for more information and any * errors that were reported above
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=9e38bfe0fe48ae6508680a37fd5cbf37620b57cc commit 9e38bfe0fe48ae6508680a37fd5cbf37620b57cc Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-08-17 23:10:20 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-17 23:10:20 +0000 gen_funcs.sh: kconfig_set_opt(): Change separator to allow setting of paths Bug: https://bugs.gentoo.org/737598 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> gen_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c024aafd9e3d27ec79bcc96dc17f2a152c2bc333 commit c024aafd9e3d27ec79bcc96dc17f2a152c2bc333 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-08-17 23:25:11 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-08-17 23:25:55 +0000 sys-kernel/genkernel: fix --integrated-initramfs option Closes: https://bugs.gentoo.org/737598 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../genkernel-4.1.0-fix-integrated-initramfs.patch | 28 ++++++++++++++++++++++ ...rnel-4.1.0.ebuild => genkernel-4.1.0-r1.ebuild} | 2 ++ 2 files changed, 30 insertions(+)
Still wondering why separator wasn't an issue before but now it's working. Thank you for the report.