GNU logs - #12513, boring messages


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#12513: Should aclocal warn when picking up system-wide installed macros?
Resent-From: Stefano Lattarini <stefano.lattarini@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-automake@HIDDEN
Resent-Date: Tue, 25 Sep 2012 07:24:01 +0000
Resent-Message-ID: <handler.12513.B.134855780312789 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 12513
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Peter Johansson <trojkan@HIDDEN>
Cc: 12513 <at> debbugs.gnu.org
X-Debbugs-Original-Cc: bug-automake@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.134855780312789
          (code B ref -1); Tue, 25 Sep 2012 07:24:01 +0000
Received: (at submit) by debbugs.gnu.org; 25 Sep 2012 07:23:23 +0000
Received: from localhost ([127.0.0.1]:54290 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TGPUI-0003KD-Ge
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:23:23 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39325)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPUG-0003K7-D4
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:23:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPSK-0002Tw-N0
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:21:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI, T_DKIM_INVALID,
	URIBL_BLACK autolearn=ham version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:41074)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPSK-0002Tm-JS
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:21:20 -0400
Received: from eggs.gnu.org ([208.118.235.92]:58777)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPSB-0007tZ-2g
	for bug-automake@HIDDEN; Tue, 25 Sep 2012 03:21:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPS6-0002SD-Uu
	for bug-automake@HIDDEN; Tue, 25 Sep 2012 03:21:11 -0400
Received: from mail-bk0-f41.google.com ([209.85.214.41]:37983)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <stefano.lattarini@HIDDEN>)
	id 1TGPS6-0002S0-JB; Tue, 25 Sep 2012 03:21:06 -0400
Received: by bkcjm1 with SMTP id jm1so33668bkc.0
	for <multiple recipients>; Tue, 25 Sep 2012 00:21:05 -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=bM1yUNU2AovIwA2dB1PhD3KL2TF/f0xvwlm/XjSyh5s=;
	b=oZt3doPUTUHDRgvutcHgfA1lZ5r2fCqTNQpyfLZ6RSUUwYjRIDJ1i+vBrpoKJqEmsc
	ZAcXi0kl+rG9nNyhweeH6LXldlGiYjHaxB6IkGHi3pIHqdK1Dd1ans3rQb5s3rL9O38W
	C1UPMRIq8VWQWy++a/IgeOIWCVWH0M+okQG8cSdqSt6Ur7LQLyBVZY9cK1WImEhKF7Zn
	OXEOakfmXSvFzrZrNA35CTT8ratDfOYfeJA0R1i84vb0U+QOSnlwp+XLviisiJCmSNC1
	H2OBo5pz1/KAMZSKo8nW2UcyEbgX0FG4sDVaVoDRq5c28UzmlCLHJE4hkTl74bXhlmhJ
	bIMg==
Received: by 10.204.130.152 with SMTP id t24mr50639bks.138.1348557665333;
	Tue, 25 Sep 2012 00:21:05 -0700 (PDT)
Received: from [192.168.178.21]
	(host194-94-dynamic.2-87-r.retail.telecomitalia.it. [87.2.94.194])
	by mx.google.com with ESMTPS id hy11sm2635571bkc.5.2012.09.25.00.21.03
	(version=SSLv3 cipher=OTHER); Tue, 25 Sep 2012 00:21:04 -0700 (PDT)
Message-ID: <50615B55.7060000@HIDDEN>
Date: Tue, 25 Sep 2012 09:20:53 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
References: <5060F608.4000908@HIDDEN>
In-Reply-To: <5060F608.4000908@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: -4.4 (----)
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: -4.4 (----)

Severity: wishlist

On 09/25/2012 02:08 AM, Peter Johansson wrote:
> Hi,
>
Hi Peter.  I'm moving this discussion to bug-automake so that we
won't forget about the issue.

> I just helped a co-developer who experienced a mysterious
> 
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal --force
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: adding subdirectory c++ to autoreconf
> autoreconf: Entering directory `c++'
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /opt/local/bin/autoconf --force
> configure.ac:43: error: possibly undefined macro: AC_MSG_FAILURE
>       If this token and others are legitimate, please use m4_pattern_allow.
>       See the Autoconf documentation.
> autoreconf: /opt/local/bin/autoconf failed with exit status: 1
> 
> 
> Line 43 in c++/configure.ac contained
> 
> YAT_CHECK_YAT([0.9.1], [], [AC_MSG_FAILURE([no yat found])])
> 
> which is a macro defined in c++/m4/yat.m4. After some investigation I
> realized the problem is that aclocal doesn't find 'yat.m4' and adding
> 
>     ACLOCAL_AMFLAGS = -I m4
> 
> in c++/Makefile.am solved the problem as expected. The annoying thing
> is that I did not see this problem because my aclocal finds yat.m4
> under /usr/local. I'm not sure what I'm asking for here, but it would
> be nice if I could have aclocal complain somehow in this scenario. Is
> it possible to tell aclocal to only pick up local files that it can
> m4_include into aclocal.m4? Only time I really wanna pick up installed
> m4 files is when I issue 'aclocal --install -I m4', or am I misusing
> aclocal?
>
I believe your request makes lot of sense.  We could add a new warning
'-Wglobal-macros' (say) that reports any picked-up m4 file that cannot
be 'm4_include'd into aclocal.m4.  And that warning could become active
by default in Automake 1.14 (assuming there will be a simple way to
disable it from 'autoreconf').  Of course, such a warning should be
disabled whenever the '--install' is used.

Also, having a way to turn that warning (and that warning only) into a
fatal error would allow us to enhance the 'distcheck' target to verify
that no non-distributed third-party m4 file is required to re-bootstrap
the package.

Not sure when I'll have time and will to pursue this though; in the
meantime, as usual, feedback and patches welcome.

And BTW, to save us from potentially wasted effort: can anyone think
of real-word use cases that would be hampered or broken by the proposal
above?

Regards,
  Stefano






Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Stefano Lattarini <stefano.lattarini@HIDDEN>
Subject: bug#12513: Acknowledgement (Should aclocal warn when picking up
 system-wide installed macros?)
Message-ID: <handler.12513.B.134855780312789.ack <at> debbugs.gnu.org>
References: <50615B55.7060000@HIDDEN>
X-Gnu-PR-Message: ack 12513
X-Gnu-PR-Package: automake
Reply-To: 12513 <at> debbugs.gnu.org
Date: Tue, 25 Sep 2012 07:24:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

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-automake@HIDDEN

If you wish to submit further information on this problem, please
send it to 12513 <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
12513: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12513
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


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


Received: (at control) by debbugs.gnu.org; 25 Sep 2012 07:25:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 25 03:25:58 2012
Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TGPWo-0003O5-G4
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:25:58 -0400
Received: from mail-bk0-f44.google.com ([209.85.214.44]:33613)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPWm-0003Nx-6G
	for control <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:25:56 -0400
Received: by bkty12 with SMTP id y12so3437282bkt.3
	for <control <at> debbugs.gnu.org>; Tue, 25 Sep 2012 00:23:57 -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:subject:content-type
	:content-transfer-encoding;
	bh=yM/UoLuNhM0SnXvDtU8sNkp35aytnP2nhCPPEdaPRhI=;
	b=m5lvX9bNfp65RkacVZvq+8A11yeNxl9VblYaONeZ2DT1JbfbUme646+F/TuSk04Mvl
	GCBos/8sPHN/2BdcUYv0Y7yggOnuR90d2zm5INnwNnGpl8XCV5+kUDGFvVx7EsqhCwGZ
	aTdK5MVRH6Q5rG1So9zr6GoyBH6c3DiEbn2R2SfQDiOEETXurfSEhi+wPm2Dc7VMknKt
	YbnXNn3Jg47w1e6wOg2sh0tjFZ6aPOdYYRxuWD2t5Vlogje7vlwDd9PExLo1S4Lspd1Q
	UpLWwLBjIgPsB2EQVPwHucAe45AC+CgD7cF3VlGJGJKNPf8y9BD+EASsLf8kV8ubGpIf
	NQ5Q==
Received: by 10.204.154.85 with SMTP id n21mr5346426bkw.48.1348557836934;
	Tue, 25 Sep 2012 00:23:56 -0700 (PDT)
Received: from [192.168.178.21]
	(host194-94-dynamic.2-87-r.retail.telecomitalia.it. [87.2.94.194])
	by mx.google.com with ESMTPS id he16sm4516052bkc.7.2012.09.25.00.23.55
	(version=SSLv3 cipher=OTHER); Tue, 25 Sep 2012 00:23:55 -0700 (PDT)
Message-ID: <50615C08.3010709@HIDDEN>
Date: Tue, 25 Sep 2012 09:23:52 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: control <at> debbugs.gnu.org
Subject: x
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: control
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: -2.6 (--)

tags 12513 + moreinfo
submitter 12513 Peter Johansson <trojkan@HIDDEN>
thanks




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


Received: (at control) by debbugs.gnu.org; 25 Sep 2012 07:25:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 25 03:25:58 2012
Received: from localhost ([127.0.0.1]:54295 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TGPWo-0003O5-G4
	for submit <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:25:58 -0400
Received: from mail-bk0-f44.google.com ([209.85.214.44]:33613)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <stefano.lattarini@HIDDEN>) id 1TGPWm-0003Nx-6G
	for control <at> debbugs.gnu.org; Tue, 25 Sep 2012 03:25:56 -0400
Received: by bkty12 with SMTP id y12so3437282bkt.3
	for <control <at> debbugs.gnu.org>; Tue, 25 Sep 2012 00:23:57 -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:subject:content-type
	:content-transfer-encoding;
	bh=yM/UoLuNhM0SnXvDtU8sNkp35aytnP2nhCPPEdaPRhI=;
	b=m5lvX9bNfp65RkacVZvq+8A11yeNxl9VblYaONeZ2DT1JbfbUme646+F/TuSk04Mvl
	GCBos/8sPHN/2BdcUYv0Y7yggOnuR90d2zm5INnwNnGpl8XCV5+kUDGFvVx7EsqhCwGZ
	aTdK5MVRH6Q5rG1So9zr6GoyBH6c3DiEbn2R2SfQDiOEETXurfSEhi+wPm2Dc7VMknKt
	YbnXNn3Jg47w1e6wOg2sh0tjFZ6aPOdYYRxuWD2t5Vlogje7vlwDd9PExLo1S4Lspd1Q
	UpLWwLBjIgPsB2EQVPwHucAe45AC+CgD7cF3VlGJGJKNPf8y9BD+EASsLf8kV8ubGpIf
	NQ5Q==
Received: by 10.204.154.85 with SMTP id n21mr5346426bkw.48.1348557836934;
	Tue, 25 Sep 2012 00:23:56 -0700 (PDT)
Received: from [192.168.178.21]
	(host194-94-dynamic.2-87-r.retail.telecomitalia.it. [87.2.94.194])
	by mx.google.com with ESMTPS id he16sm4516052bkc.7.2012.09.25.00.23.55
	(version=SSLv3 cipher=OTHER); Tue, 25 Sep 2012 00:23:55 -0700 (PDT)
Message-ID: <50615C08.3010709@HIDDEN>
Date: Tue, 25 Sep 2012 09:23:52 +0200
From: Stefano Lattarini <stefano.lattarini@HIDDEN>
MIME-Version: 1.0
To: control <at> debbugs.gnu.org
Subject: x
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: control
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: -2.6 (--)

tags 12513 + moreinfo
submitter 12513 Peter Johansson <trojkan@HIDDEN>
thanks





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.