Your message dated Thu, 11 Dec 2025 05:50:16 +0000
with message-id <[email protected]>
and subject line Bug#1121377: fixed in fish 4.2.1-3.1
has caused the Debian Bug report #1121377,
regarding fish: FTBFS on riscv64 due to timeout for test cases
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 [email protected]
immediately.)
--
1121377: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1121377
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fish
Version: 4.2.1-2
Severity: serious
Tags: ftbfs, patch
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear Maintainer,
The package has one FTBFS issue on riscv64 like:
```
...
Failed to match pattern: .*still.alive
complete.py:51: timeout from expect_re(".*still.alive")
Escaped buffer:
...
Failure:
The CHECK on line 16 wants:
prompt 0> echo hello
which failed to match line stdout:2:
prompt 0>
Context:
prompt 0> sleep 0.5 &
prompt 0> <= does not match CHECK on line 16: prompt 0> echo hello
fish: Job 1, 'sleep 0.5 &' has ended
prompt 0> echo hello world
Send job 1 'sleep 3 | cat &' to background
when running command:
/build/reproducible-path/fish-4.2.1/obj-riscv64-linux-gnu/fish
/build/reproducible-path/fish-4.2.1/tests/checks/tmux-job.fish
tests/checks/tmux-job.fish
␛[31mFAILED␛[0m 28109 ms
...
Failure:
The CHECK on line 68 wants:
1
which failed to match line stdout:41:
function fish_prompt
Context:
[...] from line 46 (stdout:24):
...
```
See the full buildd log:
https://buildd.debian.org/status/fetch.php?pkg=fish&arch=riscv64&ver=4.2.1-2&stamp=1764008323&raw=0
I admit the timeout I increased were too excessive for some cases. Even so,
the build with the patch is not 100% successful. But I have confidence
to get it built on buildd. Please let me know any issue.
--
Regards,
--
Bo YU <[email protected]>
diff -Nru fish-4.2.1/debian/changelog fish-4.2.1/debian/changelog
--- fish-4.2.1/debian/changelog 2025-11-22 00:40:34.000000000 +0800
+++ fish-4.2.1/debian/changelog 2025-11-25 17:56:47.000000000 +0800
@@ -1,3 +1,10 @@
+fish (4.2.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Increase timeout and sleep on riscv64. (Closes: #-1)
+
+ -- Bo YU <[email protected]> Tue, 25 Nov 2025 17:56:47 +0800
+
fish (4.2.1-2) unstable; urgency=medium
* Reinstate fix-libc-timespec.patch for armhf
diff -Nru fish-4.2.1/debian/patches/increase-timeout-on-rv64.patch
fish-4.2.1/debian/patches/increase-timeout-on-rv64.patch
--- fish-4.2.1/debian/patches/increase-timeout-on-rv64.patch 1970-01-01
08:00:00.000000000 +0800
+++ fish-4.2.1/debian/patches/increase-timeout-on-rv64.patch 2025-11-25
17:56:47.000000000 +0800
@@ -0,0 +1,82 @@
+Description: increase timeout and sleep on riscv64
+Author: Bo YU<[email protected]>
+Bug:
https://buildd.debian.org/status/fetch.php?pkg=fish&arch=riscv64&ver=4.2.1-2&stamp=1764008323&raw=0
+Last-Update: 2025-11-25
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/tests/pexpects/complete.py
++++ b/tests/pexpects/complete.py
+@@ -18,16 +18,16 @@
+ sendline("complete -x -c monster -a energy=")
+ expect_prompt()
+ send("monster t")
+-sleep(0.1)
++sleep(10.1)
+ send("\t")
+-sleep(0.1)
++sleep(10.1)
+ send("!")
+ expect_str("monster truck !") # space
+ send("\b" * 64)
+ send("monster e")
+-sleep(0.1)
++sleep(10.1)
+ send("\t")
+-sleep(0.1)
++sleep(10.1)
+ send("!")
+ expect_str("monster energy=!") # no space
+ send("\b" * 64)
+--- a/tests/pexpects/job_summary.py
++++ b/tests/pexpects/job_summary.py
+@@ -30,7 +30,7 @@
+ # fish_job_summary is called when background job ends.
+ sendline("sleep 0.5 &")
+ expect_prompt()
+-expect_re("[0-9]+:0:sleep 0.5 &:ENDED", timeout=20)
++expect_re("[0-9]+:0:sleep 0.5 &:ENDED", timeout=40)
+ sendline("")
+ expect_prompt()
+
+@@ -48,7 +48,7 @@
+ m = expect_re("\\d+\r\n")
+ expect_prompt()
+ os.kill(int(m.group()), signal.SIGTERM)
+-expect_re("[0-9]+:0:sleep 20 &:SIGTERM:Polite quit request", timeout=20)
++expect_re("[0-9]+:0:sleep 20 &:SIGTERM:Polite quit request", timeout=40)
+ sendline("")
+ expect_prompt()
+
+--- a/tests/checks/tmux-job.fish
++++ b/tests/checks/tmux-job.fish
+@@ -8,9 +8,9 @@
+ sleep 0.1
+ isolated-tmux send-keys \
+ "echo hello"
+-sleep 0.6
++sleep 5.6
+ isolated-tmux send-keys Space world
+-sleep 0.1
++sleep 5.1
+ isolated-tmux capture-pane -p
+ # CHECK: prompt 0> sleep 0.5 &
+ # CHECK: prompt 0> echo hello
+--- a/tests/checks/tmux-prompt.fish
++++ b/tests/checks/tmux-prompt.fish
+@@ -51,6 +51,7 @@
+ end
+ ' C-l 'echo hello'
+ tmux-sleep
++tmux-sleep
+ isolated-tmux capture-pane -p
+ # CHECK:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
+ # CHECK: echo hello
+@@ -64,6 +65,8 @@
+ end
+ ' Enter
+ tmux-sleep
++tmux-sleep
++tmux-sleep
+ isolated-tmux capture-pane -p -S -11
+ # CHECK: 1
+ # CHECK: 2
diff -Nru fish-4.2.1/debian/patches/series fish-4.2.1/debian/patches/series
--- fish-4.2.1/debian/patches/series 2025-11-22 00:33:40.000000000 +0800
+++ fish-4.2.1/debian/patches/series 2025-11-24 15:58:30.000000000 +0800
@@ -3,3 +3,4 @@
downgrade-phf-0.11.patch
disable-unix_path.patch
fix-libc-timespec.patch
+increase-timeout-on-rv64.patch
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: fish
Source-Version: 4.2.1-3.1
Done: Adrian Bunk <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fish, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Adrian Bunk <[email protected]> (supplier of updated fish package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 30 Nov 2025 07:20:26 +0200
Source: fish
Architecture: source
Version: 4.2.1-3.1
Distribution: unstable
Urgency: medium
Maintainer: Mo Zhou <[email protected]>
Changed-By: Adrian Bunk <[email protected]>
Closes: 1121377
Changes:
fish (4.2.1-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Remove broken (inverted) test skip from the previous upload.
* Make test failures non-fatal. (see #1121178) (Closes: #1121377)
Checksums-Sha1:
3ed7f5a59a053110bf68a2168f75ff4e40f64dba 2753 fish_4.2.1-3.1.dsc
ecb773737c4d0207ada23501956bb41f80465636 60216 fish_4.2.1-3.1.debian.tar.xz
Checksums-Sha256:
9472dc607d4209ba00d28198be45fab577518b3142451753df230bd7e306e60d 2753
fish_4.2.1-3.1.dsc
38dcff0833c609f76f97286f482df18beab6e857f9c805ba113add4a88adf8e1 60216
fish_4.2.1-3.1.debian.tar.xz
Files:
2b4c12c94dd3d790a2e179e6d09ba113 2753 shells optional fish_4.2.1-3.1.dsc
556613d989f5a666f5ef2c2afc661a3f 60216 shells optional
fish_4.2.1-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmksHxcACgkQiNJCh6LY
mLE6shAAg2D+z3LrIbc/vlU45mmIs4NtVaay+YVc55oSDSdJBPzYBalJyejfhPal
5E5hA4vR9EOG3bN+I1+e0pw3kc+0hmBHcij5VpA+R2OKUsV4svBJXX/JzmHs315x
1fiyPmAVSw3y/p0lfp1jXYnAZZPHl0yMnPF4JYmzRXcAarBL2iF+YIs0pa3TIppi
6jj9DSdtOpc3T7tRxOUezMJp+st+zbPMlu3hVeDrLam7RLKcV2zTVIibO0nsRf66
C/S3qoMVaToUJyRQEvGpwqeQrng5lYfZ5l97LXCmcdgodWbJdGKxn1IkF+pXfuGh
e11EQOjjVxY2IMHyAHi+iwNOuwacDXtGG2/PccTAKvZ9knY30B3wAr8RZq9w6IKW
Lt62D7QIAkYUlCsCiTU4zGXatXA1mI/a1Jtbrk23uLvKG/U3VROTougWGzdsaUZV
sjZ/XdHxcJDLixdqe1qqqMg6rTaKSPeoK0x/rd7uSdbj3x4VRwlnIXS2Ss42mO6p
VrHoVG1r+3SEQgStFnv1ovBwHcRbUxBmBbnUkIBxn5TInf/Ga9QNwGniwvKgLZz/
Fxnco0W4b9xalKW4cd6amSPreVUJDmG3L0VGEqUSAqIVy/jtjX+c8Fjk1qa23iIz
b+Ik0XLybyAejXUztpQlHSlSueNeMtPdlQF0bPS9jCYkp7x6B/U=
=dPHa
-----END PGP SIGNATURE-----
pgp9xkiqjHZCI.pgp
Description: PGP signature
--- End Message ---