When running the usual the result is: localhost src # genkernel --luks --lvm --install initramfs && emerge @module-rebuild * Gentoo Linux Genkernel; Version 4.0.0_beta2 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: --luks --lvm --install initramfs * Working with Linux kernel 5.2.1-gentoo for x86_64 * Using kernel config file '/usr/share/genkernel/arch/x86_64/generated-config' ... * * initramfs: >> Initializing ... * >> Appending devices cpio data ... * >> Appending base_layout cpio data ... * >> Appending auxilary cpio data ... * >> Appending blkid cpio data ... * >> Appending busybox cpio data ... cp: cannot stat '/lib64/Display ELF dependencies as a tree': No such file or directory * ERROR: create_initramfs(): append_data(): append_busybox(): copy_system_binaries(): Failed to copy '/lib64/Display ELF dependencies as a tree' to '/var/tmp/genkernel/gk.niscoHFR/initramfs-busybox-temp/lib'! * 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! Reproducible: Always Steps to Reproduce: 1. emerge =sys-kernel/genkernel-4.0.0_beta2 2. genkernel --luks --lvm --install initramfs Actual Results: localhost src # genkernel --luks --lvm --install initramfs && emerge @module-rebuild * Gentoo Linux Genkernel; Version 4.0.0_beta2 * Using genkernel configuration from '/etc/genkernel.conf' ... * Running with options: --luks --lvm --install initramfs * Working with Linux kernel 5.2.1-gentoo for x86_64 * Using kernel config file '/usr/share/genkernel/arch/x86_64/generated-config' ... * * initramfs: >> Initializing ... * >> Appending devices cpio data ... * >> Appending base_layout cpio data ... * >> Appending auxilary cpio data ... * >> Appending blkid cpio data ... * >> Appending busybox cpio data ... cp: cannot stat '/lib64/Display ELF dependencies as a tree': No such file or directory * ERROR: create_initramfs(): append_data(): append_busybox(): copy_system_binaries(): Failed to copy '/lib64/Display ELF dependencies as a tree' to '/var/tmp/genkernel/gk.niscoHFR/initramfs-busybox-temp/lib'! * 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! Expected Results: A working initramfs. Works fine with genkernel-3.5.3.3
This is fixed just a few minutes ago here: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=6a3ecc5314d47dee5019e380dfd13877d2e5cd2b One workaround is to install pax-utils with USE=python, another one is to edit gen_initramfs and replace "lddree --list" with "lddtree -l"
Created attachment 582938 [details] genkernel.log.xz genkernel log
I would like to add that this is *not* specific to luks or crypt, because I do not have either of these enabled and I am still getting this issue.
beta3 which contains the fix will appear shortly.