NetBSD Problem Report #44047

From www@NetBSD.org  Fri Nov  5 16:11:57 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id C5E3263BB30
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  5 Nov 2010 16:11:57 +0000 (UTC)
Message-Id: <20101105161157.8FE1563BAC6@www.NetBSD.org>
Date: Fri,  5 Nov 2010 16:11:57 +0000 (UTC)
From: roam@ringlet.net
Reply-To: roam@ringlet.net
To: gnats-bugs@NetBSD.org
Subject: netpgp: fix the redistributable build by using $ECHO instead of $echo
X-Send-Pr-Version: www-1.0

>Number:         44047
>Category:       bin
>Synopsis:       netpgp: fix the redistributable build by using $ECHO instead of $echo
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    agc
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 05 16:15:01 +0000 2010
>Closed-Date:    Fri Nov 05 23:39:32 +0000 2010
>Last-Modified:  Fri Nov 05 23:40:02 +0000 2010
>Originator:     Peter Pentchev
>Release:        
>Organization:
>Environment:
>Description:
Once again, thanks for maintaining netpgp!

After the recent autotools update, the configure script generates
the libtool config prologue with ECHO='echo' instead of echo='echo'.
However, the ltmain.sh script from buildaux/ still uses $echo, so
the build breaks badly.

One option would be to modify the configure script to output
the 'echo' variable instead of 'ECHO', but this might mean other
changes to the autotools infrastructure.  A simpler way is
the proposed patch that just replaces '$echo' with '$ECHO' in
buildaux/ltmain.sh.
>How-To-Repeat:
Download the redistributable version, ./configure, make,
watch it break when trying to compile the very first file.
>Fix:
Apply the simple patch available at:
http://devel.ringlet.net/security/netpgp/patches/08-libtool-echo.patch

Keep up the great work!

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: bin-bug-people->agc
Responsible-Changed-By: agc@NetBSD.org
Responsible-Changed-When: Fri, 05 Nov 2010 23:39:32 +0000
Responsible-Changed-Why:
agc maintains netpgp


State-Changed-From-To: open->closed
State-Changed-By: agc@NetBSD.org
State-Changed-When: Fri, 05 Nov 2010 23:39:32 +0000
State-Changed-Why:
Applied the fix provided in the PR.

Thanks for providing this!


From: "Alistair G. Crooks" <agc@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/44047 CVS commit: src/crypto/external/bsd/netpgp/dist/buildaux
Date: Fri, 5 Nov 2010 23:37:58 +0000

 Module Name:	src
 Committed By:	agc
 Date:		Fri Nov  5 23:37:58 UTC 2010

 Modified Files:
 	src/crypto/external/bsd/netpgp/dist/buildaux: ltmain.sh

 Log Message:
 Apply the patch provided in PR 44047 by Peter Pentchev to fix a problem
 in the GNU autoconf infrastructure with ltmain.sh script - change all
 occurrences of "$echo" to "$ECHO".

 (Incidentally, this does not show up under pkgsrc, since pkgsrc uses
 the platform's libtool instead of the script which comes with the
 distribution)


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 \
     src/crypto/external/bsd/netpgp/dist/buildaux/ltmain.sh

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.