GNU bug report logs - #23058
Bug found in libtool make process

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: libtool; Reported by: "Villeneuve, Donald H" <donald.h.villeneuve@HIDDEN>; dated Sat, 19 Mar 2016 00:45:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

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


Received: (at 23058) by debbugs.gnu.org; 19 Mar 2016 21:41:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 19 17:41:02 2016
Received: from localhost ([127.0.0.1]:53978 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ahOcI-00033C-9J
	for submit <at> debbugs.gnu.org; Sat, 19 Mar 2016 17:41:02 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:37095)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <peda@HIDDEN>) id 1ahOcG-00032g-Gt
 for 23058 <at> debbugs.gnu.org; Sat, 19 Mar 2016 17:41:01 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
 by mail.lysator.liu.se (Postfix) with ESMTP id 56A6D40013;
 Sat, 19 Mar 2016 22:40:58 +0100 (CET)
Received: from [192.168.0.95] (217-210-101-82-no95.business.telia.com
 [217.210.101.82])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by mail.lysator.liu.se (Postfix) with ESMTPSA id 79B0E4000B;
 Sat, 19 Mar 2016 22:40:57 +0100 (CET)
Message-ID: <56EDC768.4080605@HIDDEN>
Date: Sat, 19 Mar 2016 22:40:56 +0100
From: Peter Rosin <peda@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64;
 rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: "Villeneuve, Donald H" <donald.h.villeneuve@HIDDEN>, 
 23058 <at> debbugs.gnu.org
Subject: Re: bug#23058: Bug found in libtool make process
References: <902B52500FBE5E40BD36BB137A02A7164DC8C6@HIDDEN>
In-Reply-To: <902B52500FBE5E40BD36BB137A02A7164DC8C6@HIDDEN>
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 23058
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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: -2.3 (--)



On 2016-03-19 00:55, Villeneuve, Donald H wrote:
> Hi,
> We build and use libtool for one of the products we are working on.
>  
> In the course of build libtool the following was noticed:
>  
> 1)      Do as usual a configure  à everything seems fine
> 2)      export U=abcxyz_idoNotcare_whatitis
> 3)      make
>  
> The make will fail because in the course of its run, it will use a variable called $U.
> This bug was noticed when installing libtool 2.4.2 under
> Linux-2.6.32-504.el6.x86_64-x86_64-with-redhat-6.7-Santiago
> GNU Make 3.81
>  
> The fix is clear: Someone must not use U as a variable name.  In this case, the customer was using the variable U as follows:
>     export U=~/util
> So as a shortcut for their utility directory, which seems to be an admissible use case.
>  
> I’ve not check more recent versions of libtool against this bug.  But as we move away from 2.4.2, it would be not to have to worry about this one.
> Thanks.
>  
> If you have any further questions, more details can be provided.
> Donald

This is not a libtool bug, it is caused by some bad interaction
between autoconf and automake in the code for support of pre-ANSI
compilers. See [1] for an old dup of your report. Automake has
removed support for pre-ANSI compilers since a couple of years,
maybe it is time for autoconf to follow?

Cheers,
Peter

http://lists.gnu.org/archive/html/bug-autoconf/2010-02/msg00013.html




Information forwarded to bug-libtool@HIDDEN:
bug#23058; Package libtool. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 19 Mar 2016 00:44:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 18 20:44:42 2016
Received: from localhost ([127.0.0.1]:53097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ah50T-0000KJ-C0
	for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 20:44:42 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39832)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FX-0007eg-4d
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:56:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FQ-0001T0-D3
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:56:05 -0400
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,HTML_MESSAGE
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58414)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FQ-0001Su-9n
 for submit <at> debbugs.gnu.org; Fri, 18 Mar 2016 19:56:04 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59034)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FO-0002Ks-KU
 for bug-libtool@HIDDEN; Fri, 18 Mar 2016 19:56:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FL-0001SF-Dl
 for bug-libtool@HIDDEN; Fri, 18 Mar 2016 19:56:02 -0400
Received: from mga11.intel.com ([192.55.52.93]:54566)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <donald.h.villeneuve@HIDDEN>) id 1ah4FL-0001Rv-3q
 for bug-libtool@HIDDEN; Fri, 18 Mar 2016 19:55:59 -0400
Received: from fmsmga002.fm.intel.com ([10.253.24.26])
 by fmsmga102.fm.intel.com with ESMTP; 18 Mar 2016 16:55:53 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.24,357,1455004800"; 
 d="scan'208,217";a="940532553"
Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5])
 by fmsmga002.fm.intel.com with ESMTP; 18 Mar 2016 16:55:53 -0700
Received: from orsmsx153.amr.corp.intel.com (10.22.226.247) by
 ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS)
 id 14.3.248.2; Fri, 18 Mar 2016 16:55:52 -0700
Received: from orsmsx111.amr.corp.intel.com ([169.254.12.9]) by
 ORSMSX153.amr.corp.intel.com ([169.254.12.79]) with mapi id 14.03.0248.002;
 Fri, 18 Mar 2016 16:55:52 -0700
From: "Villeneuve, Donald H" <donald.h.villeneuve@HIDDEN>
To: "bug-libtool@HIDDEN" <bug-libtool@HIDDEN>
Subject: Bug found in libtool make process
Thread-Topic: Bug found in libtool make process
Thread-Index: AdGBcGK1OQIxRtvFR4GGjspT3O5G6g==
Date: Fri, 18 Mar 2016 23:55:51 +0000
Message-ID: <902B52500FBE5E40BD36BB137A02A7164DC8C6@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjI5OTE1ZTEtNDVjMS00ZWE4LTkyMTktYjM5ZjI0Mjk2Yjk4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlhISWlQRG00UEJlOTZlU0d1cEFjYlhFOXRURlRzOGFoY3p5K3RONkpUQmc9In0=
x-ctpclassification: CTP_IC
x-originating-ip: [10.22.254.139]
Content-Type: multipart/alternative;
 boundary="_000_902B52500FBE5E40BD36BB137A02A7164DC8C6ORSMSX111amrcorpi_"
MIME-Version: 1.0
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.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 18 Mar 2016 20:44:39 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
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 (----)

--_000_902B52500FBE5E40BD36BB137A02A7164DC8C6ORSMSX111amrcorpi_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,
We build and use libtool for one of the products we are working on.

In the course of build libtool the following was noticed:


1)      Do as usual a configure  --> everything seems fine

2)      export U=3Dabcxyz_idoNotcare_whatitis

3)      make

The make will fail because in the course of its run, it will use a variable=
 called $U.
This bug was noticed when installing libtool 2.4.2 under
Linux-2.6.32-504.el6.x86_64-x86_64-with-redhat-6.7-Santiago
GNU Make 3.81

The fix is clear: Someone must not use U as a variable name.  In this case,=
 the customer was using the variable U as follows:
    export U=3D~/util
So as a shortcut for their utility directory, which seems to be an admissib=
le use case.

I've not check more recent versions of libtool against this bug.  But as we=
 move away from 2.4.2, it would be not to have to worry about this one.
Thanks.

If you have any further questions, more details can be provided.
Donald


--_000_902B52500FBE5E40BD36BB137A02A7164DC8C6ORSMSX111amrcorpi_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:324629404;
	mso-list-type:hybrid;
	mso-list-template-ids:888158028 67698705 67698713 67698715 67698703 676987=
13 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal">We build and use libtool for one of the products we =
are working on.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the course of build libtool the following was not=
iced:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">1)<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Do as usual a configure&nbsp; <span style=3D"font-f=
amily:Wingdings">
&agrave;</span> everything seems fine<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">2)<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>export U=3Dabcxyz_idoNotcare_whatitis<o:p></o:p></p=
>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">3)<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>make<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The make will fail because in the course of its run,=
 it will use a variable called $U.<o:p></o:p></p>
<p class=3D"MsoNormal">This bug was noticed when installing libtool 2.4.2 u=
nder <o:p>
</o:p></p>
<p class=3D"MsoNormal">Linux-2.6.32-504.el6.x86_64-x86_64-with-redhat-6.7-S=
antiago<o:p></o:p></p>
<p class=3D"MsoNormal">GNU Make 3.81<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The fix is clear: Someone must not use U as a variab=
le name.&nbsp; In this case, the customer was using the variable U as follo=
ws:<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp; export U=3D~/util<o:p></o:p></p>
<p class=3D"MsoNormal">So as a shortcut for their utility directory, which =
seems to be an admissible use case.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ve not check more recent versions of libtool=
 against this bug.&nbsp; But as we move away from 2.4.2, it would be not to=
 have to worry about this one.<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">If you have any further questions, more details can =
be provided.<o:p></o:p></p>
<p class=3D"MsoNormal">Donald<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_902B52500FBE5E40BD36BB137A02A7164DC8C6ORSMSX111amrcorpi_--




Acknowledgement sent to "Villeneuve, Donald H" <donald.h.villeneuve@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#23058; Package libtool. 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.