@DanglingPointer #55

"If you want to stay with Ubuntu 20.04 LTS with latest stable mainline,
you'll need to build it."

not true... if not have external kernel modules (ex. using dkms builded
module for VirtualBox, Nvidia, tlp, wifi driver for card not supported
by mainline, etc..) then only not install problematic linux-
headers-5.13.2-051302-generic package

in other case, is possible install it via "workaround"...

# only unpack without install/configure
dpkg --unpack 
linux-headers-5.13.2-051302-generic_5.13.2-051302.202107141437_amd64.deb


in /usr/src/linux-headers-5.13.2-051302-generic/ replace this files:
"scripts/basic/fixdep tools/objtool/fixdep tools/bpf/resolve_btfids/fixdep 
scripts/mod/modpost tools/objtool/objtool"
from: linux-headers-5.11.16-051116-generic_5.11.16-051116.202104211235_amd64.deb
(latest headers package version before switch to glibc 2.33)

# configure it with ignoring libc6 depends:
dpkg --configure --ignore-depends=libc6 linux-headers-5.13.2-051302-generic

# fake libc6 depend version in dpkg status file
sed "/Depends: linux-headers-5.13.2-051302, libc6/s/libc6 (>= 2...)/libc6 (>= 
2.31)/" -i /var/lib/dpkg/status

i using this workaround with my own tool for installing "Ubuntu Mainline
Kernel" on all my Xubuntu 20.04 machines and without problem from
5.11.17 to latest 5.13.2 ;-)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1926938

Title:
  Recent mainline packages are built with Hirsuite 21.04, not Focal
  20.04 LTS

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi all,

  The Mainline wiki states that the mainline kernels are built with the
  previous LTS toolchain, but the recent 5.12.x and 5.11.x releases are
  being built with Hirsuite 21.04, and before that Groovy? If this is
  intentional, then the wiki should be updated to reflect the change in
  policy.

  From https://wiki.ubuntu.com/Kernel/MainlineBuilds

    Mainline kernel build toolchain
    These kernels are built with the toolchain (gcc, g++, etc.) from the 
previous Ubuntu LTS release. 
    (e.g. Ubuntu 14.04 "Trusty Tahr" / 16.04 "Xenial Xerus" / 18.04 "Bionic 
Beaver", etc.) Therefore, 
    out-of-tree kernel modules you already have built and installed for use 
with your release kernels 
    are not likely to work with the mainline builds.

  The 5.12 kernel was built with GCC 10.3.0, and 5.11.16 with 10.2.0. On
  my Focal LTS system I have GCC 9.3.0.

  The Mainline kernel build toolchain
  These kernels are built with the toolchain (gcc, g++, etc.) from the previous 
Ubuntu LTS release. (e.g. Ubuntu 14.04 "Trusty Tahr" / 16.04 "Xenial Xerus" / 
18.04 "Bionic Beaver", etc.) Therefore, out-of-tree kernel modules you already 
have built and installed for use with your release kernels are not likely to 
work with the mainline builds.

  The *linux-headers-generic* packages have unmet dependencies on 20.04
  LTS.

  I could install Groovy built kernels fine, but the Hirsuite ones built
  with GCC 10.3.0 appear to require libc6 >= 2.33. So the new kernels
  can't be installed on Focal (libc 2.31).

  Thanks,
  Mark

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926938/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to