mainline kernel builds more recent than 5.11.16 are busted on ubuntu 20.10 / 20.04 (LTS)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mainline Kernel Installer |
New
|
Undecided
|
Unassigned |
Bug Description
I just noticed that recent mainline kernel installs fail on my ubuntu 20.10 machine. Builds <= 5.11.16 work fine. Newer builds (5.11.17 or 5.12.1) fail to install with
" linux-headers-
Version of libc6:amd64 on system is 2.32-0ubuntu3."
This seems to be an accidental regression because there is nothing in the core 5.11.17 kernel that changed to require glibc 2.33 (rather than the older 2.32) (I think?).
See the following half workaround by someone on stack overflow for good info on the possible root cause: https:/
Did something inadvertently change in the build environment where you create mainline? Could you possibly change it back?
Full log follows:
```
mainline --install 5.12.1
mainline 1.0.14
Distribution: Ubuntu 20.10
Architecture: amd64
Running kernel: 5.11.15-
Fetching index from kernel.
OK
-------
Found installed: 5.11.16-
Found installed: 5.9.16-
Found installed: 5.11.15-
Found installed: 5.8.18-
Found installed: 5.8.0-45.51
-------
-------
Preparing to install '5.12.1'
Selecting previously unselected package linux-headers-
(Reading database ... 360725 files and directories currently installed.)
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-headers-
Preparing to unpack .../linux-
Unpacking linux-headers-
Selecting previously unselected package linux-image-
Preparing to unpack .../linux-
Unpacking linux-image-
Selecting previously unselected package linux-modules-
Preparing to unpack .../linux-
Unpacking linux-modules-
dpkg: dependency problems prevent configuration of linux-headers-
linux-
Version of libc6:amd64 on system is 2.32-0ubuntu3.
dpkg: error processing package linux-headers-
dependency problems - leaving unconfigured
Setting up linux-headers-
Setting up linux-modules-
Setting up linux-image-
I: /boot/vmlinuz.old is now a symlink to vmlinuz-
I: /boot/initrd.
I: /boot/vmlinuz is now a symlink to vmlinuz-
I: /boot/initrd.img is now a symlink to initrd.
Processing triggers for linux-image-
/etc/kernel/
* dkms: running auto installation service for kernel 5.12.1-
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=
ERROR (dkms apport): kernel package linux-headers-
Error! Bad return status for module build on kernel: 5.12.1-
Consult /var/lib/
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=
ERROR (dkms apport): binary package for spi-ch341-usb: 1.0.0 not found
Error! Bad return status for module build on kernel: 5.12.1-
Consult /var/lib/
...done.
/etc/kernel/
update-initramfs: Generating /boot/initrd.
/etc/kernel/
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found Windows Boot Manager on /dev/nvme0n1p1@
Adding boot menu entry for UEFI Firmware Settings
done
Errors were encountered while processing:
linux-
E: Installation completed with errors
~/development/
```
Latest 20.04 is also affected which has libc6 2.31.