public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds
@ 2025-02-03 10:54 'Jan Kiszka' via isar-users
  2025-02-14 13:40 ` 'Jan Kiszka' via isar-users
  2025-02-16  8:01 ` Uladzimir Bely
  0 siblings, 2 replies; 3+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-03 10:54 UTC (permalink / raw)
  To: isar-users
  Cc: Moessbauer, Felix (T CED SES-DE), Arjunan, Srinu (FT FDS CES LX PBU 2)

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

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/6c52b13f-0f6a-4749-8b4b-343b801bc431%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds
  2025-02-03 10:54 [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds 'Jan Kiszka' via isar-users
@ 2025-02-14 13:40 ` 'Jan Kiszka' via isar-users
  2025-02-16  8:01 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2025-02-14 13:40 UTC (permalink / raw)
  To: isar-users
  Cc: Moessbauer, Felix (T CED SES-DE), Arjunan, Srinu (FT FDS CES LX PBU 2)

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

-- 
Siemens AG, Foundational Technologies
Linux Expert Center

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/1754ed33-0cc0-4e72-8de2-00a45117832e%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds
  2025-02-03 10:54 [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds 'Jan Kiszka' via isar-users
  2025-02-14 13:40 ` 'Jan Kiszka' via isar-users
@ 2025-02-16  8:01 ` Uladzimir Bely
  1 sibling, 0 replies; 3+ messages in thread
From: Uladzimir Bely @ 2025-02-16  8:01 UTC (permalink / raw)
  To: Jan Kiszka, isar-users

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.

-- 
Best regards,
Uladzimir.



-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/57fb3307832e6995ff426ba5670b844eb716b69f.camel%40ilbers.de.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-02-16  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-03 10:54 [PATCH] linux-custom: Pin buster compat level to 10 to fix kernel builds 'Jan Kiszka' via isar-users
2025-02-14 13:40 ` 'Jan Kiszka' via isar-users
2025-02-16  8:01 ` Uladzimir Bely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox