GNU bug report logs - #19579
Long lines, short awk

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: "Daniel Richard G." <skunk@HIDDEN>; dated Tue, 13 Jan 2015 06:03:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Jan 2015 06:02:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 13 01:02:04 2015
Received: from localhost ([127.0.0.1]:54898 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YAuYG-0000XW-7V
	for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 01:02:04 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35172)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <skunk@HIDDEN>) id 1YAuYD-0000X0-C4
 for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 01:02:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <skunk@HIDDEN>) id 1YAuY7-0003pB-BD
 for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 01:01:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44257)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <skunk@HIDDEN>) id 1YAuY7-0003p7-9E
 for submit <at> debbugs.gnu.org; Tue, 13 Jan 2015 01:01:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:36868)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <skunk@HIDDEN>) id 1YAuY2-0007Zc-Pr
 for bug-automake@HIDDEN; Tue, 13 Jan 2015 01:01:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <skunk@HIDDEN>) id 1YAuXy-0003np-GG
 for bug-automake@HIDDEN; Tue, 13 Jan 2015 01:01:50 -0500
Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49856)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <skunk@HIDDEN>) id 1YAuXy-0003ne-8C
 for bug-automake@HIDDEN; Tue, 13 Jan 2015 01:01:46 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 870FB20A3C
 for <bug-automake@HIDDEN>; Tue, 13 Jan 2015 01:01:44 -0500 (EST)
Received: from web1 ([10.202.2.211])
 by compute4.internal (MEProxy); Tue, 13 Jan 2015 01:01:44 -0500
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=iSKUNK.ORG; h=
 message-id:x-sasl-enc:from:to:mime-version
 :content-transfer-encoding:content-type:subject:date; s=mesmtp;
 bh=5L2tIvwRK6ZUUAYMHuzXUaYfgVI=; b=NtrTDFxW8b2Mlr9V11eBelrtOOok
 +rjZRUwxJHzKDa1CV4SRAUIIzWBPRmtrESz0f/VBeEyHn6hbxGGyr8A70QuNEdvn
 IGP0dY83eZhW8b+WBobRW48PVC2+rN+2ENMSn7VoBOGD0dviQxn3L6urN+FWiqrc
 BkqGX3mo+Kf818I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=
 messagingengine.com; h=message-id:x-sasl-enc:from:to
 :mime-version:content-transfer-encoding:content-type:subject
 :date; s=smtpout; bh=5L2tIvwRK6ZUUAYMHuzXUaYfgVI=; b=erbLUWCUD/o
 PLk6yHEMIoF2FrFjh5D2n40jRbTJq4MWBnIWGHMpC8uv4tlnymE5HvXejIarL0AS
 qtVFoPrarS1RTLXQrmyE6cGoVFrx6h4BJXxOAJCs/S3zwBaszWMgHGFow17xpGpc
 oM54BMVWlZknWyIYTEOOk028DLMFX0lE=
Received: by web1.nyi.internal (Postfix, from userid 99)
 id 5BBB0AEECFC; Tue, 13 Jan 2015 01:01:44 -0500 (EST)
Message-Id: <1421128904.3539093.213146353.38D70FA7@HIDDEN>
X-Sasl-Enc: fi+CXtOydHIagpQXLnqDqGfiKoGEdInzRugOC+eBGR3Y 1421128904
From: "Daniel Richard G." <skunk@HIDDEN>
To: bug-automake@HIDDEN
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain
X-Mailer: MessagingEngine.com Webmail Interface - html
Subject: Long lines, short awk
Date: Tue, 13 Jan 2015 01:01:44 -0500
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

Hello list,

I am building a source package, prepared with Automake 1.15, on HP-UX.
While running the configure script, I get

    [...]
    config.status: creating include/Makefile
    config.status: creating scripts/Makefile
    config.status: creating src/Makefile
    config.status: creating src/lib/Makefile
    awk: Input line         -rm -rf ../../src/l cannot be longer than 3,000 bytes.
     The input line number is 21137.
     The source line number is 235.
    config.status: error: could not create src/lib/Makefile

It so happens that src/lib/Makefile covers a large number of source
files, spread out across many directories. Line 21137 of Makefile.in is
the "-rm -rf" line shown below:

    distclean: distclean-am
            -rm -rf ../../src/lib/libobj/$(DEPDIR) foo/bar/$(DEPDIR) foo/baz/$(DEPDIR) ...

The line includes every single subdir-objects subdirectory known to the
makefile, and is well over 15kB long. The maintainer-clean target also
has an identical line.

I recognize that the usual thing to do here is specify e.g. AWK=gawk,
but other sections of the makefile (e.g. clean-libtool target) avoid
this issue altogether by specifying a series of short "rm" commands
instead of a single giant invocation. (Moreover, even if $AWK didn't
have a line-length limitation, the shell could still balk with an
"Argument list too long" error.) IMO, it is better to have the distclean
and maintainer-clean targets follow this same approach.


--Daniel


-- 
Daniel Richard G. || skunk@HIDDEN
My ASCII-art .sig got a bad case of Times New Roman.




Acknowledgement sent to "Daniel Richard G." <skunk@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#19579; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.