GNU bug report logs - #11060
libtool to_tool_file_cmd left undeclared and uninitialized

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: "David C. Rankin" <drankinatty@HIDDEN>; dated Thu, 22 Mar 2012 00:06:02 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

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


Received: (at 11060) by debbugs.gnu.org; 23 Mar 2012 16:38:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 23 12:38:41 2012
Received: from localhost ([127.0.0.1]:35592 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SB7Vc-0004yg-9q
	for submit <at> debbugs.gnu.org; Fri, 23 Mar 2012 12:38:40 -0400
Received: from pogma.xen.prgmr.com ([68.68.97.8]:57965)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter@HIDDEN>) id 1SB7V3-0004xU-He
	for 11060 <at> debbugs.gnu.org; Fri, 23 Mar 2012 12:38:35 -0400
Message-ID: <4F6C9FA9.1030109@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com 4AD07BF60C
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1332518826; bh=NFVsl/huuZONr0fMa87zZMdvNaD2wE6F8gCKYxY+X0M=;
	h=Date:From:MIME-Version:To:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=yaQ3XRzt/B3/LNueIZ5AOyhwUhQ6pcko3p8hUKBT+kNmgWCpDnZlSMNpIjR8RkJw1
	BkL+9PPf/gKyDk3Klgq6eUbkVz5AJ40HIupG7nseXDTPDwiJDhsg+hcHIiP4eI6a18
	ref+MpfN4t/jX9z7Rt96K1FtIQBYS/s/ot5/LUVk=
Date: Fri, 23 Mar 2012 11:07:05 -0500
From: Peter O'Gorman <peter@HIDDEN>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14
MIME-Version: 1.0
To: "David C. Rankin" <drankinatty@HIDDEN>, 11060 <at> debbugs.gnu.org
Subject: Re: bug#11060: libtool to_tool_file_cmd left undeclared and
	uninitialized
References: <4F6A6517.8010706@HIDDEN> <4F6B481C.5030300@HIDDEN>
	<4F6C9A6F.1050804@HIDDEN>
In-Reply-To: <4F6C9A6F.1050804@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11060
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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/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: <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: -1.9 (-)

close 11060
tags 11060 notabug
thanks

Hi David,

On 03/23/2012 10:44 AM, David C. Rankin wrote:
> On 03/22/2012 10:41 AM, Peter O'Gorman wrote:
>
> Peter,
>
> Attached is the config.log, the failing libtool and the tdeutils
> build.log. I apologize that I couldn't immediately figure out where to
> put the '--debug' to make it appear right after libtool? (Makefile?,
> CFLAGS?) If I haven't given you what you need, just let me know and I'll
> send it. The error is clear:

I think there is another copy of a different version libtool.m4 inculded 
in acinclude.m4, and that's causing the problem

The libtool m4 macros that match the ltmain script do properly set these 
variables as Peter noted yesterday.

To update the included libtool, you will have to edit acinclude.m4 also.

Thanks,
Peter




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

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


Received: (at 11060) by debbugs.gnu.org; 22 Mar 2012 18:26:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 22 14:26:41 2012
Received: from localhost ([127.0.0.1]:33464 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SAmie-0005Q5-BJ
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 14:26:41 -0400
Received: from pogma.xen.prgmr.com ([68.68.97.8]:55068)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter@HIDDEN>) id 1SAmiS-0005Pl-5o
	for 11060 <at> debbugs.gnu.org; Thu, 22 Mar 2012 14:26:38 -0400
Message-ID: <4F6B6799.3000005@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com E5F07BF423
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1332438938; bh=p3MDnSuyYfnOCjCt2KM1J3s284nna9n0IBCgDydl5Q0=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=M/K5g+xGNZUtJfndp5bLPqgYssVUKL82ylDaFp5SrJ/5J2Y5LRv7nAKA3vL/omCo5
	cnU9CBySkdq87YA7Ooas9Q1BJ07HgbojLY+EluDAUJh5A6q2lKG0FhfdK/0bTsB1eN
	S74ukGcSNgxoF1MQE6cUF3B/PrpH0Cs6IA+C/vUo=
Date: Thu, 22 Mar 2012 12:55:37 -0500
From: Peter O'Gorman <peter@HIDDEN>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14
MIME-Version: 1.0
To: Peter Rosin <peda@HIDDEN>
Subject: Re: bug#11060: libtool to_tool_file_cmd left undeclared and
	uninitialized
References: <4F6A6517.8010706@HIDDEN> <4F6B481C.5030300@HIDDEN>
	<4F6B4FDC.9080702@HIDDEN>
In-Reply-To: <4F6B4FDC.9080702@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11060
Cc: 11060 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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/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: <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: -1.9 (-)

On 03/22/2012 11:14 AM, Peter Rosin wrote:

>>       esac
>>       ;;
>> +  * ) # unhandled hosts (and "normal" native builds)
>> +    lt_cv_to_tool_file_cmd=func_convert_file_noop
>> +    ;;
>>   esac
>>   ])
>>   to_tool_file_cmd=$lt_cv_to_tool_file_cmd
>
> That's not correct, above the outer case, there's
> [#assume ordinary cross tools, or native build.
> lt_cv_to_tool_file_cmd=func_convert_file_noop

Indeed, I totally missed that!

>
> My guess is a version mismatch between libtool.m4 and ltmain.{m4}sh,
> or something such.

Yes, seems more likely.

Peter




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

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


Received: (at submit) by debbugs.gnu.org; 22 Mar 2012 16:45:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 22 12:45:40 2012
Received: from localhost ([127.0.0.1]:33396 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SAl8t-0002we-Mx
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:45:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49901)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peda@HIDDEN>) id 1SAl8X-0002w4-MR
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:45:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peda@HIDDEN>) id 1SAkef-00088T-92
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:14:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:46610)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peda@HIDDEN>) id 1SAkef-00088N-5z
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:14:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41083)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peda@HIDDEN>) id 1SAked-0001Vz-Cw
	for bug-libtool@HIDDEN; Thu, 22 Mar 2012 12:14:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peda@HIDDEN>) id 1SAkeW-00087V-C0
	for bug-libtool@HIDDEN; Thu, 22 Mar 2012 12:14:22 -0400
Received: from mail.lysator.liu.se ([130.236.254.3]:51112)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peda@HIDDEN>) id 1SAkeW-00087G-5f
	for bug-libtool@HIDDEN; Thu, 22 Mar 2012 12:14:16 -0400
Received: from mail.lysator.liu.se (localhost [127.0.0.1])
	by mail.lysator.liu.se (Postfix) with ESMTP id 8A4AA40012
	for <bug-libtool@HIDDEN>; Thu, 22 Mar 2012 17:14:13 +0100 (CET)
Received: from [192.168.0.150] (h57n3fls301o1095.telia.com [81.230.178.57])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.lysator.liu.se (Postfix) with ESMTPSA id 6A6E240004
	for <bug-libtool@HIDDEN>; Thu, 22 Mar 2012 17:14:13 +0100 (CET)
Message-ID: <4F6B4FDC.9080702@HIDDEN>
Date: Thu, 22 Mar 2012 17:14:20 +0100
From: Peter Rosin <peda@HIDDEN>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
	rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: Re: bug#11060: libtool to_tool_file_cmd left undeclared and
	uninitialized
References: <4F6A6517.8010706@HIDDEN> <4F6B481C.5030300@HIDDEN>
In-Reply-To: <4F6B481C.5030300@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: ClamAV using ClamSMTP
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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/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: <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.1 (------)

Peter O'Gorman skrev 2012-03-22 16:41:
> Hi David,
> 
> On 03/21/2012 06:32 PM, David C. Rankin wrote:
>> Guys,
>>
>>    I have a libtool problem that occurs in the trinity build of tdeutils
>> (kdeutils) which includes libtool (2.2.6b Debian-2.2.6b-2ubuntu1). I have
>> libtool 2.4.2 installed on my system. The 'libtool' executable created by
>> ./configure fails to declare or initialize 'to_tool_file_cmd'. This results in a
>> build failure for every file when make is run. (the call in the libtool file is):
>>
>> $to_tool_file_cmd $1  (or "" $1 when uninitialized)
> 
> It looks like this isn't getting set to the default in libtool.m4, but it's strange that our test suite didn't notice (and that this is the first report of it).
> 
> Could you please send me a failing build log, and perhaps run a failing libtool command with an added --debug flag (right after the 'libtool') and send the output of that also.
> 
> Then we can come up with a test that fails, right now it seems the fix is something like:
> 
> diff --git a/m4/libtool.m4 b/m4/libtool.m4
> index 75bfdb4..45a988f 100644
> --- a/m4/libtool.m4
> +++ b/m4/libtool.m4
> @@ -7862,6 +7862,9 @@ case $host in
>          ;;
>      esac
>      ;;
> +  * ) # unhandled hosts (and "normal" native builds)
> +    lt_cv_to_tool_file_cmd=func_convert_file_noop
> +    ;;
>  esac
>  ])
>  to_tool_file_cmd=$lt_cv_to_tool_file_cmd

That's not correct, above the outer case, there's
[#assume ordinary cross tools, or native build.
lt_cv_to_tool_file_cmd=func_convert_file_noop

My guess is a version mismatch between libtool.m4 and ltmain.{m4}sh,
or something such.

Cheers,
Peter




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

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


Received: (at 11060) by debbugs.gnu.org; 22 Mar 2012 16:12:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 22 12:12:19 2012
Received: from localhost ([127.0.0.1]:33359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SAkcc-00029x-Rc
	for submit <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:12:19 -0400
Received: from pogma.xen.prgmr.com ([68.68.97.8]:47597)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter@HIDDEN>) id 1SAkcQ-00029c-Mn
	for 11060 <at> debbugs.gnu.org; Thu, 22 Mar 2012 12:12:08 -0400
Message-ID: <4F6B481C.5030300@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com 260A7BF423
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1332430877; bh=WTlgMMlAtrHyLuhCEAt9VCjasAEw4xJmK8ArvFVisbg=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=koCNXCRegChqA+uXVPRX0ujIs1VjLDb82pAUMtUogl/Mdelj6yzrZTgvfgbAZve66
	ivEEmjsqqpAiazy0fts1phKThnsKJzyyTfhxGW9bY0mXLc+7wpQIUH5ppMBy3s3i3q
	Jq8f3LO8DsyQN9xPbnC4xRlF5YOy+2U3fqqX+A4o=
Date: Thu, 22 Mar 2012 10:41:16 -0500
From: Peter O'Gorman <peter@HIDDEN>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14
MIME-Version: 1.0
To: "David C. Rankin" <drankinatty@HIDDEN>
Subject: Re: bug#11060: libtool to_tool_file_cmd left undeclared and
	uninitialized
References: <4F6A6517.8010706@HIDDEN>
In-Reply-To: <4F6A6517.8010706@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -1.9 (-)
X-Debbugs-Envelope-To: 11060
Cc: 11060 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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/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: <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: -1.9 (-)

Hi David,

On 03/21/2012 06:32 PM, David C. Rankin wrote:
> Guys,
>
>    I have a libtool problem that occurs in the trinity build of tdeutils
> (kdeutils) which includes libtool (2.2.6b Debian-2.2.6b-2ubuntu1). I have
> libtool 2.4.2 installed on my system. The 'libtool' executable created by
> ./configure fails to declare or initialize 'to_tool_file_cmd'. This results in a
> build failure for every file when make is run. (the call in the libtool file is):
>
> $to_tool_file_cmd $1  (or "" $1 when uninitialized)

It looks like this isn't getting set to the default in libtool.m4, but 
it's strange that our test suite didn't notice (and that this is the 
first report of it).

Could you please send me a failing build log, and perhaps run a failing 
libtool command with an added --debug flag (right after the 'libtool') 
and send the output of that also.

Then we can come up with a test that fails, right now it seems the fix 
is something like:

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 75bfdb4..45a988f 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -7862,6 +7862,9 @@ case $host in
          ;;
      esac
      ;;
+  * ) # unhandled hosts (and "normal" native builds)
+    lt_cv_to_tool_file_cmd=func_convert_file_noop
+    ;;
  esac
  ])
  to_tool_file_cmd=$lt_cv_to_tool_file_cmd


Thanks,
Peter




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

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


Received: (at submit) by debbugs.gnu.org; 22 Mar 2012 00:05:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 21 20:05:40 2012
Received: from localhost ([127.0.0.1]:60271 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SAVX9-0007jg-TK
	for submit <at> debbugs.gnu.org; Wed, 21 Mar 2012 20:05:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40717)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drankinatty@HIDDEN>) id 1SAVV9-0007ga-W7
	for submit <at> debbugs.gnu.org; Wed, 21 Mar 2012 20:03:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drankinatty@HIDDEN>) id 1SAV1O-0008JN-AE
	for submit <at> debbugs.gnu.org; Wed, 21 Mar 2012 19:32:51 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,
	SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY autolearn=ham version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:41552)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drankinatty@HIDDEN>) id 1SAV1O-0008JH-71
	for submit <at> debbugs.gnu.org; Wed, 21 Mar 2012 19:32:50 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36315)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drankinatty@HIDDEN>) id 1SAV1M-0006sQ-4W
	for bug-libtool@HIDDEN; Wed, 21 Mar 2012 19:32:49 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drankinatty@HIDDEN>) id 1SAV1K-0008IR-51
	for bug-libtool@HIDDEN; Wed, 21 Mar 2012 19:32:47 -0400
Received: from txofep02.suddenlink.net ([208.180.40.72]:45343)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drankinatty@HIDDEN>) id 1SAV1J-0008IB-UG
	for bug-libtool@HIDDEN; Wed, 21 Mar 2012 19:32:46 -0400
Received: from [192.168.6.102] (really [66.76.63.120])
	by txofep02.suddenlink.net
	(InterMail vM.8.04.00.01 201-2329-100-103-20120206) with ESMTP
	id <20120321233240.FBFK3902.txofep02.suddenlink.net@[192.168.6.102]>
	for <bug-libtool@HIDDEN>; Wed, 21 Mar 2012 18:32:40 -0500
Message-ID: <4F6A6517.8010706@HIDDEN>
Date: Wed, 21 Mar 2012 18:32:39 -0500
From: "David C. Rankin" <drankinatty@HIDDEN>
Organization: Rankin Law Firm, PLLC
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:11.0) Gecko/20120312 Thunderbird/11.0
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: libtool to_tool_file_cmd left undeclared and uninitialized
X-Enigmail-Version: 1.4
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-Cloudmark-Analysis: v=1.1 cv=VETwTmBfWKShyz/eOAHyMEE4cAMhOTnUYWRKBlUO0yI=
	c=1 sm=0 a=R7TMJ8Ku0E4A:10 a=hCY1T4XElIwA:10 a=3164NE3r-yIA:10
	a=N659UExz7-8A:10 a=SPMV1DFyAAAA:8 a=GbbC89gy7QeI-zyGLPEA:9
	a=pILNOxqGKmIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.5 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 21 Mar 2012 20:05:39 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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/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: <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.9 (------)

Guys,

  I have a libtool problem that occurs in the trinity build of tdeutils
(kdeutils) which includes libtool (2.2.6b Debian-2.2.6b-2ubuntu1). I have
libtool 2.4.2 installed on my system. The 'libtool' executable created by
./configure fails to declare or initialize 'to_tool_file_cmd'. This results in a
build failure for every file when make is run. (the call in the libtool file is):

$to_tool_file_cmd $1  (or "" $1 when uninitialized)

  I have included a link to the trinity desktop bug report below that provides
more details. What I need to know is "What's the best way to fix this?" I have a
work-around that explicitly sets to_tool_file_cmd to its default
‘func_convert_file_noop’ (post-configure using sed), but I need to know is this
a bug in libtool that allows the variable to remain uninitialized?"

  Running 'libtool --force' or 'autoreconfig --force' does not correct the
issue. I would appreciate any thoughts you would have.

Trinity bug report with additional details is here:

http://bugs.pearsoncomputing.net/bugzilla/show_bug.cgi?id=924

  The basic build script that leads to this failure is the following:

  cd ${srcdir}/${pkgname#*-}
  cp /usr/share/aclocal/libtool.m4 ./admin
  cp /usr/share/libtool/config/ltmain.sh ./admin

  make -f admin/Makefile.common

  ./configure \
    --prefix=${TDEDIR} \
    --with-qt-dir=${QTDIR} \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --enable-debug=full \
    --enable-closure

  make

  In order for libtool to work, I have to include the following after
./configure to fix the libtool executable created:

sed -i '/#! \/bin\/sh/s|$|\n\nto_tool_file_cmd=func_convert_file_noop\n|' libtool

  What say the experts?

-- 
David C. Rankin, J.D.,P.E.




Acknowledgement sent to "David C. Rankin" <drankinatty@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#11060; 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.