Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: [gentoo-user] new genkernel problem
Date: Fri, 05 Jun 2020 19:02:03
Message-Id: R4EVA36R.U2XPV3NI.3JPYGUJV@GDO5ZTP2.SGXOR6FS.BARIHTGW
1 I'm currently running a 5.6.10 kernel, compiled with genkernel along
2 with an initramfs. That was compiled with gcc-9.3.0. Since then,
3 using gcc-10.1.0, I have not successfully run genkernel. Initially it
4 was kernel compile failures due to the -fnocommon bug. With a patch,
5 the kernel compile completed fine, and the patch is no longer needed
6 for 5.6.16 or 5.7.0. However, all recent attempts at running genkernel
7 fail during creation of initramfs. (This is genkernel-9999, re-emerged
8 yesterday.)
9
10 * Gentoo Linux Genkernel; Version 4.0.7-4-g06acd6f-git
11 * Using genkernel configuration from '/etc/genkernel.conf' ...
12 * Running with options: --lvm --firmware --microcode
13 --kernel-append-localversion=-gcc-10 all
14
15 * Working with Linux kernel 5.7.0-gentoo-x86_64-gcc-10-01 for x86_64
16 * Using kernel config file
17 '/etc/kernels/kernel-config-5.7.0-gentoo-x86_64-gcc-10-01' ...
18 *
19 * Note: The version above is subject to change (depends on config and
20 status of kernel sources).
21
22 * kernel: >> Initializing ...
23 * >> Running 'make clean' ...
24 * >> --no-mrproper is set; Skipping 'make mrproper' ...
25 * >> --no-oldconfig is set; Skipping 'make oldconfig' ...
26 * >> Running 'make olddefconfig' due to changed kernel options
27 ...
28 * >> Kernel version has changed (probably due to config change)
29 since genkernel start:
30 * We are now building Linux kernel
31 5.7.0-gentoo-x86_64-gcc-10 for x86_64 ...
32 * >> Compiling 5.7.0-gentoo-x86_64-gcc-10 bzImage ...
33 * >> Compiling 5.7.0-gentoo-x86_64-gcc-10 modules ...
34 * >> Installing 5.7.0-gentoo-x86_64-gcc-10 modules (and
35 stripping) ...
36 * >> Generating module dependency data ...
37 * >> Compiling out-of-tree module(s) ...
38 * >> Saving config of successful build to
39 '/etc/kernels/kernel-config-5.7.0-gentoo-x86_64-gcc-10' ...
40
41 * initramfs: >> Initializing ...
42 * >> Appending devices cpio data ...
43 * >> Appending base_layout cpio data ...
44 * >> Appending auxilary cpio data ...
45 * >> Appending busybox cpio data ...
46 * >> Appending blkid cpio data ...
47 * >> Appending gpg cpio data ...
48 * ERROR: Command 'nice -n10 make -j8 --load-average 10 V=1' failed!
49 * ERROR: create_initramfs(): append_data(): append_gpg():
50 populate_binpkg(): gkbuild(): Failed to create binpkg of gnupg-1.4.23!
51
52 and, of course, I wouldn't really expect gcc-10 to be able to compile
53 gnupg-1.4.23. (The detailed log does show the multiple definition
54 errors.) That version of gnupg is coded in the ebuild, so hopefully
55 there is SOME reason for selecting it. Also - I now see that I can
56 give --no-gpg to genkernel to omit gnupg from the initramfs - that's
57 running now.
58
59 I'd be surprised if I am really the only one facing this, but I haven't
60 found any other reports. (It's quite possible my search-fu isn't.) I
61 don't know exactly when this started showing up, since I THOUGHT I had
62 run genkernel successfully since then, but although there are several
63 vmlinuz and sysmap files in /boot, there is only the single initramfs
64 which I currently boot with.
65
66 Thanks for any thoughts or suggestions.
67
68 Jack

Replies

Subject Author
Re: [gentoo-user] new genkernel problem Andrew Udvare <audvare@×××××.com>