Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 568002 - genkernel fails with cpio 'Cannot stat: No such file or directory' errors
Summary: genkernel fails with cpio 'Cannot stat: No such file or directory' errors
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-11 16:55 UTC by Marc Duponcheel
Modified: 2016-01-23 21:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
genkernel.log (genkernel.log,267.35 KB, text/x-log)
2015-12-11 16:55 UTC, Marc Duponcheel
Details
emerge --info (emerge--info,6.57 KB, text/plain)
2015-12-11 16:56 UTC, Marc Duponcheel
Details
genkernel.conf (genkernel.conf,7.62 KB, text/plain)
2015-12-11 16:58 UTC, Marc Duponcheel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Duponcheel 2015-12-11 16:55:55 UTC
Created attachment 418986 [details]
genkernel.log

I use following recipe for years
 --
eselect kernel set linux-4.3.2-gentoo
cd /usr/src/linux-4.3.2-gentoo
make clean
make mrproper
zcat /proc/config.gz > .config
make oldconfig
make prepare
genkernel --no-clean --makeopts=-j5 all
 --
here is output

* Gentoo Linux Genkernel; Version 3.4.52.2
* Running with options: --no-clean --makeopts=-j5 all

* 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 4.3.2-gentoo for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-4.3.2-gentoo
* kernel: --mrproper is disabled; not running 'make mrproper'.
*         >> Running oldconfig...
* kernel: --clean is disabled; not running 'make clean'.
*         >> Compiling 4.3.2-gentoo bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
*         >> Compiling 4.3.2-gentoo modules...
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-4.3.2-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
cpio:  /lib64/libblkid.so.1.1.0: Cannot stat: No such file or directory
cpio:   /lib64/libc-2.22.so: Cannot stat: No such file or directory
cpio:   /lib64/libuuid.so.1.3.0: Cannot stat: No such file or directory
* ERROR: Binary  or some of its library dependencies could not be copied
* 
* -- Grepping log... --
* 
* Running with options: --no-clean --makeopts=-j5 all
* 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: Binary  or some of its library dependencies could not be copied
* 
* -- 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!
*
Comment 1 Marc Duponcheel 2015-12-11 16:56:30 UTC
Created attachment 418988 [details]
emerge --info
Comment 2 Marc Duponcheel 2015-12-11 16:58:42 UTC
Created attachment 418990 [details]
genkernel.conf
Comment 3 Marc Duponcheel 2015-12-12 02:54:20 UTC
I tried genkernel-next too, same issue.
For now I use dracut to make init ram fs.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2016-01-23 21:32:54 UTC
Please increase your loglevel and re-run, then include the new output.