🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #2882

Bug#1152644: jimtcl: FTBFS: Expected: {TESTENV=the value}

#2882
From: 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--
Technical Details
Message-ID: <NUDke-9d7t-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NU3A6-8Tpt-5@gated-at.bofh.it> <NU3A6-8Tpt-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!newsfeed.xs3.de!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152644: jimtcl: FTBFS: Expected: {TESTENV=the value}
Date: Sun, 01 Nov 2026 14:00:02 +0100
Message-ID: <NUDke-9d7t-13@gated-at.bofh.it>
References: <NU3A6-8Tpt-5@gated-at.bofh.it> <NU3A6-8Tpt-5@gated-at.bofh.it>
X-Original-To: 1152644@bugs.debian.org, control@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  1 12:53:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1152644@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: vimer@debian.org
X-Debian-Pr-Message: followup 1152644
X-Debian-Pr-Package: src:jimtcl
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: jimtcl
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="toncITXXtOA89FzR"
Content-Disposition: inline
X-Debian-User: sanvila
X-Crossassassin-Score: 2
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000065
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 61
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Bo YU <vimer@debian.org>
X-Original-Date: Sun, 1 Nov 2026 13:50:38 +0100
X-Original-Message-ID: <auc1nkQHXmn08Mb2@nuc>
X-Original-References: <E1xMvNB-000w2Z-0G@paradis.debian.org> <E1xMvNB-000w2Z-0G@paradis.debian.org>