GNU bug report logs - #12219
Could the --add-missing option be supported in AM_INIT_AUTOMAKE? (was: Re: How to automatically get missing files when changing configure.ac?)

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; Severity: wishlist; Reported by: Stefano Lattarini <stefano.lattarini@HIDDEN>; dated Fri, 17 Aug 2012 11:13:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 17 Aug 2012 15:58:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 17 11:58:03 2012
Received: from localhost ([127.0.0.1]:35617 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T2Ovx-0005K8-3z
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 11:58:02 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40867)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <jjohnstn@HIDDEN>) id 1T2OlI-000557-1o
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 11:47:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jjohnstn@HIDDEN>) id 1T2Ocd-00066T-9B
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 11:38:04 -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]:54486)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jjohnstn@HIDDEN>) id 1T2Ocd-00066O-5r
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 11:38:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50701)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jjohnstn@HIDDEN>) id 1T2Occ-0006E8-7L
	for bug-automake@HIDDEN; Fri, 17 Aug 2012 11:38:03 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jjohnstn@HIDDEN>) id 1T2Ocb-00065k-9C
	for bug-automake@HIDDEN; Fri, 17 Aug 2012 11:38:02 -0400
Received: from mx1.redhat.com ([209.132.183.28]:1373)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jjohnstn@HIDDEN>)
	id 1T2OcY-00065C-T1; Fri, 17 Aug 2012 11:37:59 -0400
Received: from int-mx02.intmail.prod.int.phx2.redhat.com
	(int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12])
	by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q7HFbuC7024781
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Fri, 17 Aug 2012 11:37:56 -0400
Received: from [10.3.238.99] (vpn-238-99.phx2.redhat.com [10.3.238.99])
	by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
	id q7HFbtGs013109; Fri, 17 Aug 2012 11:37:56 -0400
Message-ID: <502E6553.1070907@HIDDEN>
Date: Fri, 17 Aug 2012 11:37:55 -0400
From: Jeff Johnston <jjohnstn@HIDDEN>
User-Agent: Mozilla/5.0 (X11; Linux x86_64;
	rv:10.0.4) Gecko/20120422 Thunderbird/10.0.4
MIME-Version: 1.0
To: Stefano Lattarini <stefano.lattarini@HIDDEN>
Subject: Re: Could the --add-missing option be supported in AM_INIT_AUTOMAKE?
References: <502D7C91.8050908@HIDDEN> <502E24F7.7060305@HIDDEN>
In-Reply-To: <502E24F7.7060305@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12
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: 208.118.235.17
X-Spam-Score: -6.9 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 17 Aug 2012 11:57:59 -0400
Cc: bug-automake@HIDDEN, automake@HIDDEN
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 (------)

On 08/17/2012 07:03 AM, Stefano Lattarini wrote:
> Severity: wishlist
>
> [CC:ing bug-automake so that I won't forget about this issue]
>
> On 08/17/2012 01:04 AM, Jeff Johnston wrote:
>> If a configure.ac file is edited and the following added:
>>
>> LT_INIT
>> AC_PROG_LIBTOOL
>>
> I think you shouldn't add both, BTW; AC_PROG_LIBTOOL is the
> obsolescent name for LT_INIT AFAIK.

Ok, the lines above were part of a bug report for the Eclipse CDT 
autotools plug-in and I just copied
it over.

>> The make can fail when it tries to do an automake and ltmain.sh
>> is missing.
>>
> Note that even "automake --add-missing" wouldn't help you here,
> because the ltmain.sh is provided by Libtool, not Automake, and
> installed by 'libtoolize', not by 'automake'.

The end-user ended up using autoreconf -i.  In that case, would it
make sense for maintainer mode to run autoreconf -i?

> Still, for other, similar use cases (e.g., adding AC_PROG_CC_C_O
> or AM_PROG_AR to configure.ac) your request sounds valid.
>
>> How does one set up automake to use the --add-missing parameter
>> automatically?
>>
> Currently, one can't.
>
>> It's not recognized as an option to use with AM_INIT_AUTOMAKE,
>>
> Well, automake could be enhanced to recognize a "add-missing" option
> in AM_INIT_AUTOMAKE too.  This would seem a good idea, but I need to
> think about it more carefully, in case there is some a subtle reason
> for the current beaviour, and against the proposed enhancement.
>
>> and the generated call to AUTOMAKE in the Makefile does not use
>> an option variable that can be set.
>>
>> Should this be used by default in the Makefile when maintainer
>> mode is enabled?
>>
> I don't understand this question, sorry.  What do you refer to
> with "this" here?
>
I meant the --add-missing option when calling automake.
>> -- Jeff J.
>>
> Thanks,
>    Stefano





Information forwarded to bug-automake@HIDDEN:
bug#12219; Package automake. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 17 Aug 2012 11:12:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 17 07:12:29 2012
Received: from localhost ([127.0.0.1]:34872 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1T2KTd-0006Vq-6L
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 07:12:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49987)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1T2KTb-0006Vj-7h
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 07:12:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1T2KKw-0001Up-Ci
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 07:03:32 -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,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:35674)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1T2KKw-0001Uk-9g
	for submit <at> debbugs.gnu.org; Fri, 17 Aug 2012 07:03:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50914)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1T2KKu-0001Pk-0J
	for bug-automake@HIDDEN; Fri, 17 Aug 2012 07:03:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1T2KKs-0001TI-WA
	for bug-automake@HIDDEN; Fri, 17 Aug 2012 07:03:27 -0400
Received: from mail-bk0-f41.google.com ([209.85.214.41]:34276)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>)
	id 1T2KKq-0001Sq-5m; Fri, 17 Aug 2012 07:03:24 -0400
Received: by bkcjc3 with SMTP id jc3so1265683bkc.0
	for <multiple recipients>; Fri, 17 Aug 2012 04:03:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=message-id:date:from:mime-version:to:cc:subject:references
	:in-reply-to:content-type:content-transfer-encoding;
	bh=hPEi53CIN2OT3NcObJ/TynQc6midAuEDs1WatkecYeA=;
	b=FeZzRJgpWcuW6JQ0ShraKqp1CluLtKXGfWFN/kvGXYevLVyC9AhkkuifV8dzfoXnT5
	UE9pcbnZCMXAknJ3q0SPr6iuAU8ICvLddL8nwYK4vf0PlXA/YnwfKH/N1YkxLE6te12g
	Imp8znZtTKXdAP02VCKh3oe+YzwhSD4Xj+5QkjZGnHKzb4/d3n6RC7pW/b9AuO96Akyb
	YsiBytGvq3QAOrmNjfDT4IHfYyEa2q5EoRn3mANpKynuj0ZyVH2psxcezGMqEIuE/As9
	XMc1SbqdGiNomVwubb3P0D+RTani5OsBWRp1Soulz0IwnEFnhEeP/XKJwceG7lQBSAWk
	S5zA==
Received: by 10.204.145.76 with SMTP id c12mr1725739bkv.70.1345201403098;
	Fri, 17 Aug 2012 04:03:23 -0700 (PDT)
Received: from [192.168.178.21]
	(host170-94-dynamic.7-79-r.retail.telecomitalia.it. [79.7.94.170])
	by mx.google.com with ESMTPS id n5sm3469024bkv.14.2012.08.17.04.03.21
	(version=SSLv3 cipher=OTHER); Fri, 17 Aug 2012 04:03:22 -0700 (PDT)
Message-ID: <502E24F7.7060305@HIDDEN>
Date: Fri, 17 Aug 2012 13:03:19 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: Jeff Johnston <jjohnstn@HIDDEN>
Subject: Could the --add-missing option be supported in AM_INIT_AUTOMAKE?
	(was: Re: How to automatically get missing files when changing
	configure.ac?)
References: <502D7C91.8050908@HIDDEN>
In-Reply-To: <502D7C91.8050908@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
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: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
Cc: bug-automake@HIDDEN, automake@HIDDEN
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 (------)

Severity: wishlist

[CC:ing bug-automake so that I won't forget about this issue]

On 08/17/2012 01:04 AM, Jeff Johnston wrote:
> If a configure.ac file is edited and the following added:
> 
> LT_INIT
> AC_PROG_LIBTOOL
>
I think you shouldn't add both, BTW; AC_PROG_LIBTOOL is the
obsolescent name for LT_INIT AFAIK.

> The make can fail when it tries to do an automake and ltmain.sh
> is missing.
>
Note that even "automake --add-missing" wouldn't help you here,
because the ltmain.sh is provided by Libtool, not Automake, and
installed by 'libtoolize', not by 'automake'.

Still, for other, similar use cases (e.g., adding AC_PROG_CC_C_O
or AM_PROG_AR to configure.ac) your request sounds valid.

> How does one set up automake to use the --add-missing parameter
> automatically?
>
Currently, one can't.

> It's not recognized as an option to use with AM_INIT_AUTOMAKE,
>
Well, automake could be enhanced to recognize a "add-missing" option
in AM_INIT_AUTOMAKE too.  This would seem a good idea, but I need to
think about it more carefully, in case there is some a subtle reason
for the current beaviour, and against the proposed enhancement.

> and the generated call to AUTOMAKE in the Makefile does not use
> an option variable that can be set.
>
> Should this be used by default in the Makefile when maintainer
> mode is enabled?
>
I don't understand this question, sorry.  What do you refer to
with "this" here?

> -- Jeff J.
>

Thanks,
  Stefano




Acknowledgement sent to Stefano Lattarini <stefano.lattarini@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#12219; 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.