🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
2 messages
2 total messages Started by Santiago Vila Sun, 01 Nov 2026 13:00
Bug#1152644: jimtcl: FTBFS: Expected: {TESTENV=the value}
#2882
Author: Santiago Vila
Date: Sun, 01 Nov 2026 13:00
61 lines
3982 bytes
--toncITXXtOA89FzR
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline

tags 1152644 patch
thanks

Hi.

Note: The build failure happens randomly, but the failure rate on
machines with 1 CPU is around 100%, so most probably this can
be reproduced easily with GRUB_CMDLINE_LINUX="nr_cpus=1".

In either case, here is a patch (to be imported with quilt) which works for me.

Thanks.

--toncITXXtOA89FzR
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
	filename="increase-sigpipe-test-input.patch"

From: Santiago Vila <sanvila@debian.org>
Subject: tests: Increase SIGPIPE test input above 512KB
Bug-Debian: https://bugs.debian.org/1152644

Recent coreutils cat enlarges the output pipe with F_SETPIPE_SZ
(up to 512KB) when using splice, so the previous 100000-byte input
could fit in the pipe without blocking. Use a 1MB string so the
child is still running when the read end is closed, restoring the
SIGPIPE behaviour these tests expect.

--- a/tests/exec2.test
+++ b/tests/exec2.test
@@ -68,9 +68,9 @@
 
 test exec2-3.2 "close pipeline return value" -constraints {pipe signal nomingw32} -body {
 	signal ignore SIGPIPE
-	# Write more than 64KB which is maximum size of the pipe buffers
+	# Write more than 512KB which is maximum size of the pipe buffers
 	# on all systems we have seen
-	set bigstring [string repeat a 100000]
+	set bigstring [string repeat a 1048576]
 	set f [open [list |cat << $bigstring]]
 	set rc [catch {close $f} msg opts]
 	lassign [dict get $opts -errorcode] status pid exitcode
@@ -79,9 +79,9 @@
 
 test exec2-3.3 "close pipeline with SIGPIPE blocked" -constraints {pipe signal nomingw32} -body {
 	signal block SIGPIPE
-	# Write more than 64KB which is maximum size of the pipe buffers
+	# Write more than 512KB which is maximum size of the pipe buffers
 	# on all systems we have seen
-	set bigstring [string repeat a 100000]
+	set bigstring [string repeat a 1048576]
 	set f [open [list |cat << $bigstring 2>/dev/null]]
 	set rc [catch {close $f} msg opts]
 	lassign [dict get $opts -errorcode] status pid exitcode

--toncITXXtOA89FzR--
Bug#1152644: jimtcl: FTBFS: Expected: {TESTENV=the value}
#3885
Author: Santiago Vila
Date: Mon, 09 Nov 2026 10:50
7 lines
2078 bytes
Hi.

Upstream accepted the patch:

https://github.com/msteveb/jimtcl/commit/82fb4d0caf90240d94352a31fcbd16adf52658a7.patch

Thanks.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads