Message ID | 6c52b13f-0f6a-4749-8b4b-343b801bc431@siemens.com |
---|---|
State | Accepted, archived |
Headers | show |
Series | linux-custom: Pin buster compat level to 10 to fix kernel builds | expand |
On 03.02.25 11:54, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > Compat level 12 of buster selects dh_dwz which breaks in that old > version with certain kernels, e.g. like this: > > dwz: dwz.c:9255: recompute_abbrevs: Assertion `off == cu_size' failed. > dh_dwz: dwz -q -- debian/linux-image-cip-dbg/usr/lib/debug/lib/modules/5.10.233-cip56/vmlinux died with signal 6 > > As buster is LTS now, we take the low-risk path and switch back to the > compat level the recipe was once validated again, rather than trying to > resolve this and possibly more issues. > > Fixes: ca786c36bca9 ("meta/recipes-kernel: use debhelper-compat to generate compat file") > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> > --- > meta/recipes-kernel/linux/linux-custom.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc > index 77700a5d..d2fca3aa 100644 > --- a/meta/recipes-kernel/linux/linux-custom.inc > +++ b/meta/recipes-kernel/linux/linux-custom.inc > @@ -14,6 +14,9 @@ DESCRIPTION ?= "Custom kernel" > MAINTAINER ?= "isar-users <isar-users@googlegroups.com>" > DISTRIBUTOR ?= "ISAR" > > +# pinned due to known or possible issues with compat 12 > +DEBIAN_COMPAT:buster = "10" > + > KBUILD_DEPENDS ?= "build-essential:native, \ > libelf-dev:native, \ > libncurses-dev:native, \ This regression fix is still not merged - any blockers? Downstream, it prevents isar updates. Jan
On Mon, 2025-02-03 at 11:54 +0100, 'Jan Kiszka' via isar-users wrote: > From: Jan Kiszka <jan.kiszka@siemens.com> > > Compat level 12 of buster selects dh_dwz which breaks in that old > version with certain kernels, e.g. like this: > > dwz: dwz.c:9255: recompute_abbrevs: Assertion `off == cu_size' > failed. > dh_dwz: dwz -q -- debian/linux-image-cip- > dbg/usr/lib/debug/lib/modules/5.10.233-cip56/vmlinux died with signal > 6 > > As buster is LTS now, we take the low-risk path and switch back to > the > compat level the recipe was once validated again, rather than trying > to > resolve this and possibly more issues. > > Fixes: ca786c36bca9 ("meta/recipes-kernel: use debhelper-compat to > generate compat file") > Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> > --- > meta/recipes-kernel/linux/linux-custom.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-kernel/linux/linux-custom.inc > b/meta/recipes-kernel/linux/linux-custom.inc > index 77700a5d..d2fca3aa 100644 > --- a/meta/recipes-kernel/linux/linux-custom.inc > +++ b/meta/recipes-kernel/linux/linux-custom.inc > @@ -14,6 +14,9 @@ DESCRIPTION ?= "Custom kernel" > MAINTAINER ?= "isar-users <isar-users@googlegroups.com>" > DISTRIBUTOR ?= "ISAR" > > +# pinned due to known or possible issues with compat 12 > +DEBIAN_COMPAT:buster = "10" > + > KBUILD_DEPENDS ?= "build-essential:native, \ > libelf-dev:native, \ > libncurses-dev:native, \ > -- > 2.43.0 > Applied to next, thanks.
diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc index 77700a5d..d2fca3aa 100644 --- a/meta/recipes-kernel/linux/linux-custom.inc +++ b/meta/recipes-kernel/linux/linux-custom.inc @@ -14,6 +14,9 @@ DESCRIPTION ?= "Custom kernel" MAINTAINER ?= "isar-users <isar-users@googlegroups.com>" DISTRIBUTOR ?= "ISAR" +# pinned due to known or possible issues with compat 12 +DEBIAN_COMPAT:buster = "10" + KBUILD_DEPENDS ?= "build-essential:native, \ libelf-dev:native, \ libncurses-dev:native, \