Your message dated Tue, 25 Nov 2025 15:20:37 +0000
with message-id <[email protected]>
and subject line Bug#1121377: fixed in fish 4.2.1-3
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
Done: Blair Noctis <[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.
Blair Noctis <[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: Tue, 25 Nov 2025 14:19:15 +0000
Source: fish
Architecture: source
Version: 4.2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Mo Zhou <[email protected]>
Changed-By: Blair Noctis <[email protected]>
Closes: 1121377
Changes:
fish (4.2.1-3) unstable; urgency=medium
.
* Skip tests on riscv64, too slow to not have timeouts.
Closes: #1121377
Checksums-Sha1:
89432b652c5668b9b56c86c83e5543f7b43968e4 2164 fish_4.2.1-3.dsc
8aff2a1d8ca9e7ae4551d925fd69449fc892ffb7 60200 fish_4.2.1-3.debian.tar.xz
72ba0258e4402dd2f129471a426c95a203ede669 22780 fish_4.2.1-3_amd64.buildinfo
Checksums-Sha256:
09e37285d9978ef16b879b91f5cdd33b61804687964ad85f2d42fba0134ac274 2164
fish_4.2.1-3.dsc
2d71398305e30bef5e8bf4abc82324cf1d4af425ff0f9039902a5a0db115c72c 60200
fish_4.2.1-3.debian.tar.xz
9b4334e7e20134011db7d45efd0bbe1bb9a25281d296e1917acb1d94524b94a5 22780
fish_4.2.1-3_amd64.buildinfo
Files:
430857249f136ae3ba4aa3679adc5d61 2164 shells optional fish_4.2.1-3.dsc
63ae8417405b32c2b7caf6e5f8ebadff 60200 shells optional
fish_4.2.1-3.debian.tar.xz
3463dc7d6e581240f83f2fb6c95283be 22780 shells optional
fish_4.2.1-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iIYEARYKAC4WIQScTWEJ927Sl0a/hB7sV97Kb1Pv6QUCaSXFfRAcbmN0c0BkZWJp
YW4ub3JnAAoJEOxX3spvU+/pdPkA/RcwYdIwU+FKGPbSLZlJBPnWVZtpYIkx5Y+4
xOrF+MY2AP9yt3rai09QeP70V+do2kFWeDZFHn79Ms69revpOc1TCA==
=j6xN
-----END PGP SIGNATURE-----
pgpF0yT51pFiV.pgp
Description: PGP signature
--- End Message ---