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


Groups > linux.debian.kernel > #86368 > unrolled thread

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

Started byzhangdandan <zhangdandan@loongson.cn>
First post2025-03-07 04:10 +0100
Last post2025-03-17 09:10 +0100
Articles 5 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  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
    Bug#1099722: marked as done (linux: Please consider adding zstd  Build-Depends on loong64) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-03-17 09:10 +0100

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

Fromzhangdandan <zhangdandan@loongson.cn>
Date2025-03-07 04:10 +0100
SubjectBug#1099722: linux: Please consider adding zstd Build-Depends on loong64
Message-ID<Knwg1-4csB-1@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#86371

FromSalvatore Bonaccorso <carnil@debian.org>
Date2025-03-07 06:40 +0100
Message-ID<KnyBb-4dZ8-3@gated-at.bofh.it>
In reply to#86368
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

[toc] | [prev] | [next] | [standalone]


#86372

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2025-03-07 06:50 +0100
Message-ID<KnyKR-4e4p-5@gated-at.bofh.it>
In reply to#86368
Forgot the link for the reference [1]:

> [1] https://salsa.debian.org/kernel-team/linux/-/commit/a08e5e0a9a3a0edc57584c960e0593d170088ce6

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

[toc] | [prev] | [next] | [standalone]


#86373

FromJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date2025-03-07 06:50 +0100
Message-ID<KnyKR-4e4p-3@gated-at.bofh.it>
In reply to#86368
Hello Dandan,

On Fri, 2025-03-07 at 10:58 +0800, zhangdandan wrote:
> 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).

This was already fixed in experimental [1]. Whether we need to backport
the fix to unstable depends on whether Linux 6.12.x will be the default
kernel for Trixie. If yes, the kernel update in unstable will be delayed
until after the Trixie release.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

[toc] | [prev] | [next] | [standalone]


#86472 — Bug#1099722: marked as done (linux: Please consider adding zstd Build-Depends on loong64)

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2025-03-17 09:10 +0100
SubjectBug#1099722: marked as done (linux: Please consider adding zstd Build-Depends on loong64)
Message-ID<KrdHR-6GBV-21@gated-at.bofh.it>
In reply to#86368

[Multipart message — attachments visible in raw view] — view raw

Your message dated Mon, 17 Mar 2025 08:00:11 +0000
with message-id <E1tu5ON-00EzHv-QD@fasolo.debian.org>
and subject line Bug#1099722: fixed in linux 6.12.19-1
has caused the Debian Bug report #1099722,
regarding linux: Please consider adding zstd Build-Depends on loong64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1099722: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1099722
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web