Created attachment 640038 [details] kernel and initramfs genkernel log and config files Using genkernel-next to build a systemd kernel : genkernel --lvm --udev kernel works fine, but genkernel --jvm --udev initramfs failed with the following: (chroot) livecd /usr/src/linux # genkernel --lvm --udev initramfs * Gentoo Linux Genkernel; Version 70 * Running with options: --lvm --udev initramfs * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * Linux Kernel 5.6.13-gentoo-namica for x86_64... * .. with config file /etc/kernels/kernel-config-x86_64-5.6.13-gentoo-namica * busybox: >> Applying patches... * - 1.18.1-openvt.diff * - busybox-1.20.1-strict-atime.patch * - busybox-1.20.2-glibc-sys-resource.patch * - busybox-1.7.4-signal-hack.patch * busybox: >> Configuring... * busybox: >> Compiling... * ERROR: Failed to compile the "all" target... * * -- Grepping log... -- * * | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * 37 | __bos (__s), __fmt, __va_arg_pack ()); * | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * HOSTLD scripts/kconfig/conf *scripts/kconfig/conf -o Config.in *.config:45:warning: trying to assign nonexistent symbol PID_FILE_PATH *.config:100:warning: trying to assign nonexistent symbol SHA3_SMALL *.config:268:warning: trying to assign nonexistent symbol SHA3SUM *.config:621:warning: trying to assign nonexistent symbol FEATURE_VOLUMEID_EXFAT *.config:625:warning: trying to assign nonexistent symbol FEATURE_VOLUMEID_NILFS *.config:633:warning: trying to assign nonexistent symbol FEATURE_VOLUMEID_SQUASHFS *.config:1027:warning: trying to assign nonexistent symbol FEATURE_KMSG_SYSLOG *-- *Additional LDLIBS (EXTRA_LDLIBS) [] * * Debugging Options * *Build BusyBox with extra Debugging symbols (DEBUG) [N/y/?] n *Abort compilation on any warning (WERROR) [N/y/?] n *-- * Tab completion (FEATURE_TAB_COMPLETION) [Y/n/?] y * Username completion (FEATURE_USERNAME_COMPLETION) [N/y/?] n * Fancy shell prompts (FEATURE_EDITING_FANCY_PROMPT) [N/y/?] n * Query cursor position from terminal (FEATURE_EDITING_ASK_TERMINAL) [N/y/?] n *Non-POSIX, but safer, copying to special nodes (FEATURE_NON_POSIX_CP) [Y/n/?] y *Give more precise messages when copy fails (cp, mv etc) (FEATURE_VERBOSE_CP_MESSAGE) [N/y/?] n *Copy buffer size, in kilobytes (FEATURE_COPYBUF_KB) [4] 4 *Skip rootfs in mount table (FEATURE_SKIP_ROOTFS) [Y/n/?] y *Use clock_gettime(CLOCK_MONOTONIC) syscall (MONOTONIC_SYSCALL) [Y/n/?] y *Use ioctl names rather than hex values in error messages (IOCTL_HEX2STR_ERROR) [Y/n/?] y *-- *bbconfig (BBCONFIG) [N/y/?] n *beep (BEEP) [Y/n/?] y * default frequency (FEATURE_BEEP_FREQ) [4000] 4000 * default length (FEATURE_BEEP_LENGTH_MS) [30] 30 *chat (CHAT) [Y/n/?] y * Enable NOFAIL expect strings (FEATURE_CHAT_NOFAIL) [Y/n/?] y *-- * CC libbb/xregcomp.o * AR util-linux/volume_id/lib.a * AR libbb/lib.a * LINK busybox_unstripped *Trying libraries: crypt m *Failed: -Wl,--start-group -lcrypt -lm -Wl,--end-group *-- * Running with options: --lvm --udev initramfs * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * * ERROR: Failed to compile the "all" target... * * -- End log... -- * * 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 compilation failures as genkernel bugs! * (chroot) livecd /usr/src/linux #
I applied the solution proposed by Viktor Yu. Kovalskii @ 2020-05-20 02:38:52 UTC for the Bug 719968 - sys-kernel/genkernel-next-70 unable to build its own 'old' busybox-version with newer glibc-2.31 I could be ok if this patch would be intergrated with the next sync. Thank you.