Re: Bug#1104080: linux: Please build with CONFIG_KERNEL_GZIP=y instead of CONFIG_KERNEL_XZ=y on sh4

Rob Landley <[email protected]> Fri, 25 Apr 2025 12:27:20 -0500
Newsgroups gmane.linux.debian.ports.superh
Message-ID <[email protected]>
On 4/25/25 04:38, John Paul Adrian Glaubitz wrote:
> Source: linux
> Version: 6.12.22-1
> Severity: normal
> User: [email protected]
> Usertags: sh4
> X-Debbugs-Cc: [email protected]
> 
> Hello,
> 
> src:linux currently fails to build from source on sh4 due to the kernel
> image compression set to XZ (CONFIG_KERNEL_XZ=y). I tried setting the
> compression to GZIP (CONFIG_KERNEL_GZIP=y) in debian/config/sh4/config
> and disabling CONFIG_KERNEL_XZ with the following configuration:

I've been building xzcat for sh2 and sh4 in toybox? I just switched on 
CONFIG_KERNEL_XZ in my sh4 mkroot build, which barfed because xz wasn't 
in the $PATH on the build machine, but worked when I fixed that and the 
result booted under qemu-system-sh4.

What's the issue here? Missing build dependency, or something else?

Rob