Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64
Hi,
On Fri, Mar 07, 2025 at 10:58:25AM +0800, zhangdandan wrote:
> Source: linux
> Version: 6.12.17-1
> Severity: normal
> Tags: patch
> User: debian-loongarch@lists.debian.org
> Usertags: loong64
> X-Debbugs-CC: debian-loongarch@lists.debian.org
>
> Dear maintainers,
>
> Compiling the linux failed for loong64 in the Debian Package Auto-Building
> environment.
> The error log is as follows,
> ```
> ......
> # ZSTD22 arch/loongarch/boot/vmlinuz
> { cat arch/loongarch/boot/vmlinux.bin | zstd -22 --ultra; printf
> \000\000\116\001; } > arch/loongarch/boot/vmlinuz
> /bin/sh: 1: zstd: not found
> make[5]: ***
> [/<<PKGBUILDDIR>>/drivers/firmware/efi/libstub/Makefile.zboot:27:
> arch/loongarch/boot/vmlinuz] Error 127
> make[5]: *** Deleting file 'arch/loongarch/boot/vmlinuz'
> make[4]: *** [/<<PKGBUILDDIR>>/arch/loongarch/Makefile:177: vmlinuz.efi]
> Error 2
> make[4]: *** Waiting for unfinished jobs....
> ......
> ```
> The full build log can be found at https://buildd.debian.org/status/fetch.php?pkg=linux&arch=loong64&ver=6.12.17-1&stamp=1740878681&raw=0.
>
> In fact, since linux 6.13.3-1~exp1 (experimental), linux was built
> successfully on loong64.
> We are waiting for linux to update from exp to unstable until we get
> confirmation from the linux maintainers(until the trixie release what goes
> to unstable will be based on 6.12.y).
We have already answered that: The target kernel for trixie is 6.12.y
based, so you won't see 6.13.y reach experimental until after thre
trixie release.
> Please consider adding zstd Build-Depends in linux 6.12.y.
> ```
> diff --git a/../debian/templates/source.control.in
> b/debian/templates/source.control.in
> index c8789e9..005c52f 100644
> --- a/../debian/templates/source.control.in
> +++ b/debian/templates/source.control.in
> @@ -34,6 +34,7 @@ Build-Depends-Arch:
> # used by upstream to build genksyms, kconfig, and perf
> bison <!pkg.linux.nokernel>,
> bison <!pkg.linux.notools>,
> + zstd [loong64],
> flex <!pkg.linux.nokernel>,
> flex <!pkg.linux.notools>,
> Rules-Requires-Root: no
> ```
> Your opinions are welcome.
https://salsa.debian.org/kernel-team/linux/-/merge_requests/1131 I
will leave it to Bastian to decide if this is candidate to backport to
6.12 and label it accordingly and so a candidate for
debian/6.12/trixie.
Regards,
Salvatore
Reply to: