X-Loop: help-debbugs@HIDDEN Subject: bug#8746: /usr/bin/sed on HP-UX truncates, but not always Resent-From: "Daniel Richard G." <skunk@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-To: owner <at> debbugs.gnu.org Resent-CC: bug-libtool@HIDDEN Resent-Date: Fri, 27 May 2011 19:34:02 +0000 Resent-Message-ID: <handler.8746.B.130652478831504 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 8746 X-GNU-PR-Package: libtool X-GNU-PR-Keywords: To: 8746 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-libtool@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.130652478831504 (code B ref -1); Fri, 27 May 2011 19:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 May 2011 19:33:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1QQ2mR-0008C3-2a for submit <at> debbugs.gnu.org; Fri, 27 May 2011 15:33:07 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <skunk@HIDDEN>) id 1QQ2ho-00084x-OF for submit <at> debbugs.gnu.org; Fri, 27 May 2011 15:28:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1QQ2hi-0001IU-O3 for submit <at> debbugs.gnu.org; Fri, 27 May 2011 15:28:15 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:37192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1QQ2hi-0001IQ-MS for submit <at> debbugs.gnu.org; Fri, 27 May 2011 15:28:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1QQ2hh-0003iH-SG for bug-libtool@HIDDEN; Fri, 27 May 2011 15:28:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1QQ2hh-0001FW-3A for bug-libtool@HIDDEN; Fri, 27 May 2011 15:28:13 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:43874) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <skunk@HIDDEN>) id 1QQ2hh-0001FD-10 for bug-libtool@HIDDEN; Fri, 27 May 2011 15:28:13 -0400 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 038C120AF6 for <bug-libtool@HIDDEN>; Fri, 27 May 2011 15:28:11 -0400 (EDT) Received: from web2.messagingengine.com ([10.202.2.212]) by compute3.internal (MEProxy); Fri, 27 May 2011 15:28:11 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:subject:date; s=smtpout; bh=8F80hyE9QL5ut1v2/SGgDeo5xWs=; b=N88D6VXw4mwH1W/Az2gO109CEtL5mQMnVGdL+wwvm3Sc+Gb8b1fja6br56I64Agb9nP9Ib6h7+NFt16PjYLzry8nvN0fxqmC6ON6QdHfadOQtlJHX25fnAjl5jiK6yTqTtydPU2Pn9gU29Vt+wrLwhynRrz+YidDbPGtaIocArs= Received: by web2.messagingengine.com (Postfix, from userid 99) id D4223348077; Fri, 27 May 2011 15:28:10 -0400 (EDT) Message-Id: <1306524490.20679.1456811629@HIDDEN> X-Sasl-Enc: JJ0xhO6kyumaNQAKkiPDUpj7zX2A2aViMqAb9JLw9zPi 1306524490 From: "Daniel Richard G." <skunk@HIDDEN> MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface Date: Fri, 27 May 2011 15:28:10 -0400 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Mailman-Approved-At: Fri, 27 May 2011 15:33:06 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.6 (------) I am using Libtool 2.4. Recently, I had a build fail on an HP-UX/Itanium 11.23 system, with the error libtool: eval: line 1088: syntax error: unexpected end of file I traced this down to $SED truncating $relink_command. But I see that Libtool has a configure-time check for this, and /usr/bin/sed passed, so I dug a little deeper. Sample test file: aaaaaaaaaaaaaa...(6000 a's in all)...aaaaaaaaaaaaaaa@foo@ % cat testfile | /usr/bin/sed s/a/b/ | wc -c 6006 % cat testfile | /usr/bin/sed 's/@foo@/bar/' | wc -c 4109 $SED acts on an @inst_prefix_dir@ placeholder at the end of $relink_command, so this appears to be what was going on. --Daniel -- NAME = Daniel Richard G. _\|/_ Remember, skunks MAIL = skunk@HIDDEN (/o|o\) _- don't smell bad--- MAIL+= skunk@HIDDEN < (^),> it's the people who WWW = (not there yet!) / \ annoy us that do!
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: "Daniel Richard G." <skunk@HIDDEN> Subject: bug#8746: Acknowledgement (/usr/bin/sed on HP-UX truncates, but not always) Message-ID: <handler.8746.B.130652478831504.ack <at> debbugs.gnu.org> References: <1306524490.20679.1456811629@HIDDEN> X-Gnu-PR-Message: ack 8746 X-Gnu-PR-Package: libtool Reply-To: 8746 <at> debbugs.gnu.org Date: Fri, 27 May 2011 19:34:02 +0000 Thank you for filing a new bug report with GNU. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-libtool@HIDDEN If you wish to submit further information on this problem, please send it to 8746 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 8746: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8746 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.