#1138504 thunderbird: Trixie build fails at gkrust by stack overflow

Package:
thunderbird
Source:
thunderbird
Description:
mail/news client with RSS, chat and integrated spam filter support
Submitter:
Date:
2026-05-31 06:09:02 UTC
Severity:
normal
#1138504#5
Date:
2026-05-31 06:07:55 UTC
From:
To:
Trixie
6.12.88+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.88-1 (2026-05-15) x86_64 GNU/Linux

With standard manner, I am building

thunderbird_140.11.0esr-1~deb13u1_amd64.deb

After doing the following (summary):
$ apt-get source thunderbird
then,
$ dpkg-buildpackage -b -us -uc -j1

I had the error like this:

***

     Building [=======================> ] 822/823: gkrust

note: we would appreciate a report at https://github.com/rust-lang/rust
help: you can increase rustc's stack size by setting RUST_MIN_STACK=16777216
note: backtrace dumped due to SIGSEGV! resuming signal
error: could not compile `gkrust` (lib)

thunderbird-140.11.0esr/obj-thunderbird/x86_64-unknown-linux-g
nu/release/build/swgl-9aebe52dd859b4a8/out` (signal: 11, SIGSEGV: invalid memory reference)

***

This because a stack overflow happens of RUST during gkrust process
as the default 2MB is not enough.
To solve, set RUST_MIN_STACK.

I will send the patch at Salsa soon.

Taro