Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1236508

Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64

From zhangdandan <zhangdandan@loongson.cn>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64
Date 2025-03-07 04:10 +0100
Message-ID <Knwg1-4csB-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


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).

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.

Best regards,
Dandan Zhang

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64 zhangdandan <zhangdandan@loongson.cn> - 2025-03-07 04:10 +0100
  Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64 Salvatore Bonaccorso <carnil@debian.org> - 2025-03-07 06:40 +0100
  Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-03-07 06:50 +0100
  Bug#1099722: linux: Please consider adding zstd Build-Depends on loong64 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> - 2025-03-07 06:50 +0100

csiph-web