From unknown Tue Jun 17 20:21:09 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6398 <6398@debbugs.gnu.org> To: bug#6398 <6398@debbugs.gnu.org> Subject: Status: [PATCH] build: don't let a large sparse temporary file cause "make dist" to fail Reply-To: bug#6398 <6398@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:21:09 +0000 retitle 6398 [PATCH] build: don't let a large sparse temporary file cause "= make dist" to fail reassign 6398 coreutils submitter 6398 Jim Meyering severity 6398 normal tag 6398 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 10 17:39:16 2010 Received: (at submit) by debbugs.gnu.org; 10 Jun 2010 21:39:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMpT1-00070Y-K1 for submit@debbugs.gnu.org; Thu, 10 Jun 2010 17:39:15 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMpSz-00070R-7p for submit@debbugs.gnu.org; Thu, 10 Jun 2010 17:39:13 -0400 Received: from lists.gnu.org ([199.232.76.165]:42537) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OMpSv-0002DW-0O for submit@debbugs.gnu.org; Thu, 10 Jun 2010 17:39:09 -0400 Received: from [140.186.70.92] (port=59497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OMpSt-0000mD-2Z for bug-coreutils@gnu.org; Thu, 10 Jun 2010 17:39:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OMpSr-0004jI-J8 for bug-coreutils@gnu.org; Thu, 10 Jun 2010 17:39:06 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:39055) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMpSq-0004j6-SR for bug-coreutils@gnu.org; Thu, 10 Jun 2010 17:39:05 -0400 Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id 285FD94010F for ; Thu, 10 Jun 2010 23:38:58 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 00A8DDF40; Thu, 10 Jun 2010 23:38:57 +0200 (CEST) From: Jim Meyering To: bug-coreutils@gnu.org Subject: [PATCH] build: don't let a large sparse temporary file cause "make dist" to fail Date: Thu, 10 Jun 2010 23:38:57 +0200 Message-ID: <8739wumutq.fsf@meyering.net> Lines: 41 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) I had this problem: http://thread.gmane.org/gmane.comp.gnu.utils.bugs/16929 Here's a proposed work-around, while we wait for an upstream change that fixes Makefile.in.in or at least lets us configure the offending rule. >From 1f85bf38919791753c9a931ad05badd0e0274a5c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 10 Jun 2010 23:33:17 +0200 Subject: [PATCH] build: don't let a large sparse temporary file cause "make dist" to fail * bootstrap.conf (bootstrap_epilogue): Replace the offending grep command from po/Makefile.in.in's $(DOMAIN).pot-update rule. --- bootstrap.conf | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/bootstrap.conf b/bootstrap.conf index 576d308..6e85c9a 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -337,4 +337,15 @@ bootstrap_epilogue() m=gnulib-tests/gnulib.mk sed 's,\.\./\.\.,..,g' $m > $m-t mv -f $m-t $m + + # Since this is a "GNU" package, replace this line + # if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null \ + # | grep -v 'libtool:' >/dev/null; then + # with this: + # if true; then + # Why? That pipeline searches all files in $(top_srcdir), and if you + # happen to have large files (or apparently large sparse files), the + # first grep may well run out of memory. + perl -pi -e 's/if LC_ALL=C grep .GNU .PACKAGE.*; then/if true; then/' \ + po/Makefile.in.in } -- 1.7.1.501.g23b46 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 11 01:46:35 2010 Received: (at 6398-done) by debbugs.gnu.org; 11 Jun 2010 05:46:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMx4d-0003IM-Bb for submit@debbugs.gnu.org; Fri, 11 Jun 2010 01:46:35 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OMx4a-0003ID-HY for 6398-done@debbugs.gnu.org; Fri, 11 Jun 2010 01:46:33 -0400 Received: from mx.meyering.net (mx.meyering.net [82.230.74.64]) by smtp1-g21.free.fr (Postfix) with ESMTP id B4332940124 for <6398-done@debbugs.gnu.org>; Fri, 11 Jun 2010 07:46:24 +0200 (CEST) Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 2ABA661D; Fri, 11 Jun 2010 07:46:23 +0200 (CEST) From: Jim Meyering To: 6398-done@debbugs.gnu.org Subject: Re: bug#6398: [PATCH] build: don't let a large sparse temporary file cause "make dist" to fail In-Reply-To: <8739wumutq.fsf@meyering.net> (Jim Meyering's message of "Thu, 10 Jun 2010 23:38:57 +0200") References: <8739wumutq.fsf@meyering.net> Date: Fri, 11 Jun 2010 07:46:23 +0200 Message-ID: <87typaktow.fsf@meyering.net> Lines: 7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6398-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Jim Meyering wrote: > Subject: [PATCH] build: don't let a large sparse temporary file cause "make dist" to fail > > * bootstrap.conf (bootstrap_epilogue): Replace the offending grep > command from po/Makefile.in.in's $(DOMAIN).pot-update rule. Marked as done. From unknown Tue Jun 17 20:21:09 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 09 Jul 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator