Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598736 - sys-kernel/genkernel-next-64: Failed to compile modules
Summary: sys-kernel/genkernel-next-64: Failed to compile modules
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-02 08:45 UTC by Kanogin Alexander
Modified: 2016-11-04 21:25 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge-info.txt,10.44 KB, text/plain)
2016-11-02 08:47 UTC, Kanogin Alexander
Details
Genkernel output with error (genkernel-full-out.txt.bz2,85.30 KB, application/x-bzip)
2016-11-02 08:49 UTC, Kanogin Alexander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kanogin Alexander 2016-11-02 08:45:54 UTC
Command "genkernel all" stopped with error:
"ERROR: Failed to compile the "modules" target..."


Reproducible: Always

Steps to Reproduce:
1. Run command "genkernel all".
2. genkernel stopped with error.
Actual Results:  
genkernel error:
* ERROR: Failed to compile the "modules" target...
*
* -- Grepping log... --
*
*  CC [M]  fs/xfs/xfs_trans_inode.o
*  CC [M]  drivers/staging/lustre/lnet/libcfs/linux/linux-crypto-adler.o
*  CC [M]  drivers/staging/lustre/lnet/libcfs/linux/linux-mem.o
*  CC [M]  fs/xfs/xfs_dquot.o
*  CC [M]  drivers/staging/lustre/lnet/libcfs/debug.o
*  CC [M]  drivers/staging/lustre/lnet/libcfs/fail.o
...
*ERROR: "crypto_register_alg" [arch/x86/crypto/aes-x86_64.ko] undefined!
*ERROR: "crypto_aes_set_key" [arch/x86/crypto/aes-x86_64.ko] undefined!
*ERROR: "crypto_it_tab" [arch/x86/crypto/aes-x86_64.ko] undefined!
*ERROR: "crypto_unregister_alg" [arch/x86/crypto/aes-x86_64.ko] undefined!
*scripts/Makefile.modpost:91: recipe for target '__modpost' failed
*make[1]: *** [__modpost] Error 1
*Makefile:1170: recipe for target 'modules' failed
*make: *** [modules] Error 2
*--
* 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 ..
* Clearing cache dir contents from /var/cache/genkernel
*
* ERROR: Failed to compile the "modules" target...


Expected Results:  
Created initramfs-genkernel-x86_64-4.7.10-gentoo
Comment 1 Kanogin Alexander 2016-11-02 08:47:24 UTC
Created attachment 452148 [details]
emerge --info
Comment 2 Kanogin Alexander 2016-11-02 08:49:28 UTC
Created attachment 452150 [details]
Genkernel output with error
Comment 3 Kanogin Alexander 2016-11-04 21:25:13 UTC
After disable option "CONFIG_TRIM_UNUSED_KSYMS" in kernel config Modules compiled:
* Gentoo Linux Genkernel; Version 64
* Running with options: 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.7.10-gentoo for x86_64...
* .. with config file /etc/kernels/kernel-config-x86_64-4.7.10-gentoo
* kernel: --mrproper is disabled; not running 'make mrproper'.
* kernel: --oldconfig is disabled; not running 'make oldconfig'.
* kernel: >> Cleaning...
*         >> Compiling 4.7.10-gentoo bzImage...
*         >> Not installing firmware as it's included in the kernel already (CONFIG_FIRMWARE_IN_KERNEL=y)...
*         >> Compiling 4.7.10-gentoo modules...
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-4.7.10-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending base_layout cpio data...
*         >> Appending udev cpio data...
cp: cannot stat ‘/lib64/udev/rules.d/99-systemd.rules’: No such file or directory
* cannot copy /lib64/udev/rules.d/99-systemd.rules from udev
cp: cannot stat ‘/lib64/udev/rules.d/71-seat.rules’: No such file or directory
* cannot copy /lib64/udev/rules.d/71-seat.rules from udev
cp: cannot stat ‘/lib/systemd/network/99-default.link’: No such file or directory
* cannot copy /lib/systemd/network/99-default.link from udev
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending mdadm cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Appending ld_so_conf cpio data...
* ldconfig: adding /sbin/ldconfig...
* ld.so.conf: adding /etc/ld.so.conf{.d/*,}...
cpio: lib64 not created: newer or same age version exists
cpio: lib64 not created: newer or same age version exists
cpio: lib64/ld-linux-x86-64.so.2 not created: newer or same age version exists
cpio: lib64/libc.so.6 not created: newer or same age version exists
cpio: lib64/libpthread.so.0 not created: newer or same age version exists
cpio: lib64 not created: newer or same age version exists
cpio: lib64/ld-linux-x86-64.so.2 not created: newer or same age version exists
cpio: lib64/libc.so.6 not created: newer or same age version exists
cpio: lib64/libuuid.so.1 not created: newer or same age version exists
cpio: lib64/libblkid.so.1 not created: newer or same age version exists
*         >> Finalizing cpio...
*         >> Compressing cpio data (.xz)...
* Adding kernel to /boot/grub/grub.conf...
awk: fatal: cannot open file `/var/tmp/genkernel/14913.2476.1265.19256/grub.map' for reading (No such file or directory)
* Error! /boot/grub/grub.conf does not exist and the correct settings can not be automatically detected.
* Please manually create your /boot/grub/grub.conf file.
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file.

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* add "domdadm" for RAID 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.

* 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.