From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 02 06:02:22 2011 Received: (at submit) by debbugs.gnu.org; 2 Oct 2011 10:02:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAIsH-0002AO-VX for submit@debbugs.gnu.org; Sun, 02 Oct 2011 06:02:22 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RAIsG-0002AH-1k for submit@debbugs.gnu.org; Sun, 02 Oct 2011 06:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAIr0-0007xv-6m for submit@debbugs.gnu.org; Sun, 02 Oct 2011 06:01:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAIr0-0007xr-4v for submit@debbugs.gnu.org; Sun, 02 Oct 2011 06:01:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:48266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAIqz-000417-1U for bug-automake@gnu.org; Sun, 02 Oct 2011 06:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAIqx-0007xc-Qd for bug-automake@gnu.org; Sun, 02 Oct 2011 06:01:01 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAIqx-0007xY-K2 for bug-automake@gnu.org; Sun, 02 Oct 2011 06:00:59 -0400 Received: by wwp14 with SMTP id 14so3685866wwp.30 for ; Sun, 02 Oct 2011 03:00:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :message-id; bh=+EUk0rgES1/uk5qmp61tqyEv0T75HR9KotZbyqE6uSk=; b=WDKAbY4DIBCy5Ej/NaKz360itXAN1Yp5LvQThK6nVKg95nelSlaHgKvss15oJiP2UJ IgXuyB5DohwOXivkwMmeY6EkTRmCI4Xx5/+zIPYdqr+JOIE/GOIrVyAlLBFvlKnefMtV IW3nFfxGuVEmBw1GFsPYuftqTXZsFO16Y4AQ8= Received: by 10.227.24.82 with SMTP id u18mr9898301wbb.111.1317549658556; Sun, 02 Oct 2011 03:00:58 -0700 (PDT) Received: from bigio.localnet (host83-101-dynamic.54-82-r.retail.telecomitalia.it. [82.54.101.83]) by mx.google.com with ESMTPS id k26sm17658481wbo.16.2011.10.02.03.00.56 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 02 Oct 2011 03:00:57 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Files in AC_REQUIRE_AUX_FILE aren't automatically distributed Date: Sun, 2 Oct 2011 12:00:48 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_QZDiOuXsQhBQTe1" Message-Id: <201110021200.48988.stefano.lattarini@gmail.com> 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: 140.186.70.17 X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) --Boundary-00=_QZDiOuXsQhBQTe1 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit The automake manual says: AC_REQUIRE_AUX_FILE For each AC_REQUIRE_AUX_FILE([file]), automake will ensure that file exists in the aux directory, and will complain otherwise. It will also automatically distribute the file. But the last sentence is incorrect (see attached test case). Regards, Stefano --Boundary-00=_QZDiOuXsQhBQTe1 Content-Type: application/x-shellscript; name="dist-auxfile.test" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="dist-auxfile.test" #! /bin/sh # Copyright (C) 2001, 2002, 2004, 2006, 2010, 2011 Free Software # Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # Files specified by AC_REQUIRE_AUX_FILE must exist, and they get # distributed by the top-level Makefile.am. . ./defs || Exit 1 set -e cat > configure.in < Makefile.am <<'END' SUBDIRS = subdir test: distdir ls -l $(distdir) $(distdir)/* ;: For debugging. @echo DIST_COMMON = $(DIST_COMMON) ;: Likewise. echo ' ' $(DIST_COMMON) ' ' | grep '[ /]foo.txt ' echo ' ' $(DIST_COMMON) ' ' | grep '[ /]bar.sh ' echo ' ' $(DIST_COMMON) ' ' | grep '[ /]zardoz ' test -f $(distdir)/foo.txt test -f $(distdir)/bar.sh test -f $(distdir)/zardoz .PHONY: test check-local: test END mkdir subdir : > subdir/Makefile.am for dir in .; do rm -rf autom4te*.cache test -d $dir || mkdir $dir echo "AC_CONFIG_AUX_DIR([$dir])" > config-aux-dir.m4 $ACLOCAL $AUTOCONF AUTOMAKE_fails grep "^configure\\.in:4:.* required file.*$dir/foo\\.txt" stderr grep "^configure\\.in:5:.* required file.*$dir/bar\\.sh" stderr grep "^configure\\.in:6:.* required file.*$dir/zardoz" stderr touch foo.txt bar.sh zardoz $AUTOMAKE ./configure $MAKE test $EGREP '(foo\.txt|bar\.sh|zardoz)' subdir/Makefile.in && Exit 1 $MAKE distcheck $MAKE distclean done : --Boundary-00=_QZDiOuXsQhBQTe1-- From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 06 07:40:23 2011 Received: (at submit) by debbugs.gnu.org; 6 Oct 2011 11:40:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBmJK-0004cA-Fj for submit@debbugs.gnu.org; Thu, 06 Oct 2011 07:40:23 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBmJC-0004bf-Gj for submit@debbugs.gnu.org; Thu, 06 Oct 2011 07:40:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBmIx-0008Px-9T for submit@debbugs.gnu.org; Thu, 06 Oct 2011 07:40:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:49778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBmIx-0008Po-7n for submit@debbugs.gnu.org; Thu, 06 Oct 2011 07:39:59 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBmIv-0005zE-FB for bug-automake@gnu.org; Thu, 06 Oct 2011 07:39:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBmIt-0008Pa-IS for bug-automake@gnu.org; Thu, 06 Oct 2011 07:39:57 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:47022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBmIt-0008PW-6L; Thu, 06 Oct 2011 07:39:55 -0400 Received: by wyf22 with SMTP id 22so3198010wyf.0 for ; Thu, 06 Oct 2011 04:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:message-id; bh=fQu6l3G50joWnoSo+bGGU9BwHTR7pmthDKA0LqXkYpY=; b=rq0FBKSvbsvYLvNAzZR/YLzjnyEzh8rRKrZa/8mITZl1XZ68gDJ/ZRdzns8OAtfzSM 7iDEP57k8iqbmnPZa9exlW+XbnPXiK2zjdlfwZUN958auuB9/btu2bORQ4zt2t+FYpRG 3d0g4EQGpA0WceLc70b/BCy6dbLa8+8Jn3ps0= Received: by 10.216.221.210 with SMTP id r60mr1005471wep.76.1317901194206; Thu, 06 Oct 2011 04:39:54 -0700 (PDT) Received: from bigio.localnet (host251-97-dynamic.21-79-r.retail.telecomitalia.it. [79.21.97.251]) by mx.google.com with ESMTPS id l40sm9762969wbm.10.2011.10.06.04.39.51 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 04:39:52 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#9651: Files in AC_REQUIRE_AUX_FILE aren't automatically distributed Date: Thu, 6 Oct 2011 13:39:41 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <201110021200.48988.stefano.lattarini@gmail.com> In-Reply-To: <201110021200.48988.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_+NZjOcTzqd78/Zi" Message-Id: <201110061339.42940.stefano.lattarini@gmail.com> 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: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit Cc: 9651@debbugs.gnu.org, automake-patches@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) --Boundary-00=_+NZjOcTzqd78/Zi Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit On Sunday 02 October 2011, Stefano Lattarini wrote: > The automake manual says: > > AC_REQUIRE_AUX_FILE > For each AC_REQUIRE_AUX_FILE([file]), automake will ensure that file > exists in the aux directory, and will complain otherwise. It will also > automatically distribute the file. > > But the last sentence is incorrect (see attached test case). > Apparently, the bug seems to be present only when the directory of the auxiliary files itself contains a Makefile.am (in particular, when it is `.'). I've committed the attached patch (to maint) to expose the bug. I'm working on a fix (that also tackles bug#9546), but that is still causing few unresolved issues with threaded automake, and will introduce some (very minor) backward-incomatibilities, so I plan to finally commit the fix to master only. Regards, Stefano --Boundary-00=_+NZjOcTzqd78/Zi Content-Type: text/x-patch; charset="utf-8"; name="0001-coverage-expose-automake-bug-9651.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="0001-coverage-expose-automake-bug-9651.patch" =46rom e8082fb643b8ecd5997b9d8ca52204a81d60ea10 Mon Sep 17 00:00:00 2001 Message-Id: =46rom: Stefano Lattarini Date: Thu, 6 Oct 2011 13:26:58 +0200 Subject: [PATCH] coverage: expose automake bug#9651 * tests/dist-auxfile.test: New test, xfailing. * tests/dist-auxfile-2.test: Likewise. * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them. =2D-- ChangeLog | 7 +++ tests/Makefile.am | 4 ++ tests/Makefile.in | 4 ++ tests/dist-auxfile-2.test | 62 +++++++++++++++++++++++++++++ tests/dist-auxfile.test | 96 +++++++++++++++++++++++++++++++++++++++++= ++++ 5 files changed, 173 insertions(+), 0 deletions(-) create mode 100755 tests/dist-auxfile-2.test create mode 100755 tests/dist-auxfile.test diff --git a/ChangeLog b/ChangeLog index 7d22655..b195156 100644 =2D-- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-06 Stefano Lattarini + + coverage: expose automake bug#9651 + * tests/dist-auxfile.test: New test, xfailing. + * tests/dist-auxfile-2.test: Likewise. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Add them. + 2011-10-01 Stefano Lattarini =20 parallel-tests: automake error our on invalid TEST_EXTENSIONS diff --git a/tests/Makefile.am b/tests/Makefile.am index f9b8d6c..bf17aea 100644 =2D-- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -20,6 +20,8 @@ XFAIL_TESTS =3D \ all.test \ auxdir2.test \ cond17.test \ +dist-auxfile.test \ +dist-auxfile-2.test \ gcj6.test \ java-nobase.test \ pr8365-remake-timing.test \ @@ -316,6 +318,8 @@ destdir.test \ dirlist.test \ dirlist2.test \ discover.test \ +dist-auxfile.test \ +dist-auxfile-2.test \ dist-included-parent-dir.test \ distcleancheck.test \ distcom2.test \ diff --git a/tests/Makefile.in b/tests/Makefile.in index adfac58..f66a9c7 100644 =2D-- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -291,6 +291,8 @@ XFAIL_TESTS =3D \ all.test \ auxdir2.test \ cond17.test \ +dist-auxfile.test \ +dist-auxfile-2.test \ gcj6.test \ java-nobase.test \ pr8365-remake-timing.test \ @@ -600,6 +602,8 @@ destdir.test \ dirlist.test \ dirlist2.test \ discover.test \ +dist-auxfile.test \ +dist-auxfile-2.test \ dist-included-parent-dir.test \ distcleancheck.test \ distcom2.test \ diff --git a/tests/dist-auxfile-2.test b/tests/dist-auxfile-2.test new file mode 100755 index 0000000..08daa6c =2D-- /dev/null +++ b/tests/dist-auxfile-2.test @@ -0,0 +1,62 @@ +#! /bin/sh +# Copyright (C) 2011 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Files specified by AC_REQUIRE_AUX_FILE must exist, and if a Makefile +# is present in the build-aux directory, they correctly get automatically +# distributed. +# Related to automake bug#9651. + +am_create_testdir=3Dempty +. ./defs || Exit 1 + +set -e + +cat > configure.in < Makefile.am <<'END' +SUBDIRS =3D sub +test: distdir + ls -l $(distdir) $(distdir)/* ;: For debugging. + test -f $(distdir)/sub/zardoz +.PHONY: test +check-local: test +END + +mkdir sub +: > sub/Makefile.am + +echo dummy > sub/zardoz + +$ACLOCAL +$AUTOCONF +$AUTOMAKE -a +test -f sub/install-sh +# Should work also without `--add-missing'. +$AUTOMAKE + +./configure + +$MAKE test +$MAKE distcheck + +: diff --git a/tests/dist-auxfile.test b/tests/dist-auxfile.test new file mode 100755 index 0000000..2776a25 =2D-- /dev/null +++ b/tests/dist-auxfile.test @@ -0,0 +1,96 @@ +#! /bin/sh +# Copyright (C) 2011 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . + +# Files specified by AC_REQUIRE_AUX_FILE must exist, and they get +# automatically distributed by the top-level Makefile.am. +# Automake bug#9651 reported that this didn't happen when the build-aux +# directory was set to `.' by AC_CONFIG_AUX_DIR. + +am_create_testdir=3Dempty +. ./defs || Exit 1 + +set -e + +i=3D0 +for auxdir in build-aux ''; do + + echo "*** Testing with auxdir '$auxdir' ***" + + i=3D`expr $i + 1` + mkdir T$i.d + cd T$i.d + + unindent > configure.in < Makefile.am + unindent >> Makefile.am <<'END' + SUBDIRS =3D subdir + test: distdir + ls -l $(distdir) $(distdir)/* ;: For debugging. + @echo DIST_COMMON =3D $(DIST_COMMON) ;: Likewise. + echo ' ' $(DIST_COMMON) ' ' | grep '[ /]$(auxdir)foo.txt ' + echo ' ' $(DIST_COMMON) ' ' | grep '[ /]$(auxdir)bar.sh ' + echo ' ' $(DIST_COMMON) ' ' | grep '[ /]$(auxdir)zardoz ' + test -f $(distdir)/$(auxdir)foo.txt + test -f $(distdir)/$(auxdir)bar.sh + test -f $(distdir)/$(auxdir)zardoz + .PHONY: test + check-local: test +END + + mkdir subdir + : > subdir/Makefile.am + =20 + test -z "$auxdir" || mkdir "$auxdir" || Exit 99 + + if test -z "$auxdir"; then + auxdir=3D. + auxdir_rx=3D'\.' + else + auxdir_rx=3D$auxdir + fi + + $ACLOCAL + $AUTOCONF + + AUTOMAKE_fails + grep "^configure\\.in:4:.* required file.*$auxdir_rx/foo\\.txt" stderr + grep "^configure\\.in:5:.* required file.*$auxdir_rx/bar\\.sh" stderr + grep "^configure\\.in:6:.* required file.*$auxdir_rx/zardoz" stderr + + touch $auxdir/foo.txt $auxdir/bar.sh $auxdir/zardoz + cp "$testsrcdir"/../lib/missing "$testsrcdir"/../lib/install-sh $auxdir + $AUTOMAKE + ./configure + $MAKE test + $EGREP '(foo\.txt|bar\.sh|zardoz)' subdir/Makefile.in && Exit 1 + + $MAKE distcheck + + cd .. + +done + +: =2D-=20 1.7.2.3 --Boundary-00=_+NZjOcTzqd78/Zi-- From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 09 05:35:13 2011 Received: (at submit) by debbugs.gnu.org; 9 Oct 2011 09:35:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCpmr-0002EA-MF for submit@debbugs.gnu.org; Sun, 09 Oct 2011 05:35:13 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RCpmk-0002DL-NK for submit@debbugs.gnu.org; Sun, 09 Oct 2011 05:35:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCpmZ-0001vU-L0 for submit@debbugs.gnu.org; Sun, 09 Oct 2011 05:34:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCpmZ-0001vQ-JU for submit@debbugs.gnu.org; Sun, 09 Oct 2011 05:34:55 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCpmY-0003rV-DY for bug-automake@gnu.org; Sun, 09 Oct 2011 05:34:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCpmW-0001vA-NE for bug-automake@gnu.org; Sun, 09 Oct 2011 05:34:54 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:49067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCpmW-0001v4-HW for bug-automake@gnu.org; Sun, 09 Oct 2011 05:34:52 -0400 Received: by wyh15 with SMTP id 15so2037251wyh.0 for ; Sun, 09 Oct 2011 02:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=qDbTkWBih7CAGIn9KIkd9I9Ncpym//lLt7t6HjTTWKc=; b=uU8bkoZfUDJAga7rvXrl32rHAHaRhhJE6EnfE0g2DPQzHEFdXEw1y5FjD9sbE7SIFE J4ffs56S9j8uEA+elHY5cHp2pnaXEox4V/znUW4zLRGY7E9jdOBdEQxf2Cl4wu3UmINm PciZj5iyGQVXVz5C3br6AN4VTaozoEqxYmaJI= Received: by 10.216.133.96 with SMTP id p74mr4713251wei.17.1318151389735; Sun, 09 Oct 2011 02:09:49 -0700 (PDT) Received: from bigio.localnet (host96-100-dynamic.0-79-r.retail.telecomitalia.it. [79.0.100.96]) by mx.google.com with ESMTPS id s30sm25985654wbm.12.2011.10.09.02.09.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 09 Oct 2011 02:09:48 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#9651: Files in AC_REQUIRE_AUX_FILE aren't automatically distributed Date: Sun, 9 Oct 2011 11:09:38 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <201110021200.48988.stefano.lattarini@gmail.com> <201110061339.42940.stefano.lattarini@gmail.com> In-Reply-To: <201110061339.42940.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110091109.39203.stefano.lattarini@gmail.com> 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: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit Cc: 9651@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) On Thursday 06 October 2011, Stefano Lattarini wrote: > On Sunday 02 October 2011, Stefano Lattarini wrote: > > The automake manual says: > > > > AC_REQUIRE_AUX_FILE > > For each AC_REQUIRE_AUX_FILE([file]), automake will ensure that file > > exists in the aux directory, and will complain otherwise. It will also > > automatically distribute the file. > > > > But the last sentence is incorrect (see attached test case). > > > Apparently, the bug seems to be present only when the directory of the > auxiliary files itself contains a Makefile.am (in particular, when it > is `.'). I've committed the attached patch (to maint) to expose the bug. > I'm working on a fix (that also tackles bug#9546), but that is still > causing few unresolved issues with threaded automake, and will introduce > some (very minor) backward-incomatibilities, so I plan to finally commit > the fix to master only. > FYI, this bug is being tackled by the patch series "Reorganize automake internals for distribution tarball creation": Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 09:28:45 2011 Received: (at 9651) by debbugs.gnu.org; 20 Oct 2011 13:28:45 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsfr-0002nn-Qv for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:28:45 -0400 Received: from mail-vx0-f172.google.com ([209.85.220.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsfm-0002nZ-Pg for 9651@debbugs.gnu.org; Thu, 20 Oct 2011 09:28:41 -0400 Received: by vcbfo1 with SMTP id fo1so2433284vcb.3 for <9651@debbugs.gnu.org>; Thu, 20 Oct 2011 06:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=dkFsnWJf6CUlcEcWWmUp1UpkDSqMGE/DYmcsY0oOYEk=; b=PZJ9p+AkGNAaJ9EAER9+HEPFEagljdzAxO51MLwX8FgYcKIHsQEhiijBwRwJelx3DZ JKBcKA6aHPW6XyJqw/p2HFWlIQv4PfQqIlhq9dnZ1THerEuWBTdKszl7lFtopvOJYqHZ Eq7r/coxoFRJiFjKtVPRXpGjEZKirsOriGw8k= Received: by 10.52.28.200 with SMTP id d8mr10829125vdh.56.1319117244636; Thu, 20 Oct 2011 06:27:24 -0700 (PDT) Received: from bigio.localnet (host71-30-dynamic.56-82-r.retail.telecomitalia.it. [82.56.30.71]) by mx.google.com with ESMTPS id ey9sm8992951vdc.19.2011.10.20.06.27.20 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 06:27:21 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#9651: Files in AC_REQUIRE_AUX_FILE aren't automatically distributed Date: Thu, 20 Oct 2011 15:27:11 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <201110021200.48988.stefano.lattarini@gmail.com> <201110061339.42940.stefano.lattarini@gmail.com> <201110091109.39203.stefano.lattarini@gmail.com> In-Reply-To: <201110091109.39203.stefano.lattarini@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110201527.12490.stefano.lattarini@gmail.com> X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 9651 Cc: 9651@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.0 (----) On Sunday 09 October 2011, Stefano Lattarini wrote: > On Thursday 06 October 2011, Stefano Lattarini wrote: > > On Sunday 02 October 2011, Stefano Lattarini wrote: > > > The automake manual says: > > > > > > AC_REQUIRE_AUX_FILE > > > For each AC_REQUIRE_AUX_FILE([file]), automake will ensure that file > > > exists in the aux directory, and will complain otherwise. It will also > > > automatically distribute the file. > > > > > > But the last sentence is incorrect (see attached test case). > > > > > Apparently, the bug seems to be present only when the directory of the > > auxiliary files itself contains a Makefile.am (in particular, when it > > is `.'). I've committed the attached patch (to maint) to expose the bug. > > I'm working on a fix (that also tackles bug#9546), but that is still > > causing few unresolved issues with threaded automake, and will introduce > > some (very minor) backward-incomatibilities, so I plan to finally commit > > the fix to master only. > > > FYI, this bug is being tackled by the patch series "Reorganize automake > internals for distribution tarball creation": > > > I've now merged the `dist-refactor' branch into `test-protocols' (commit `v1.11-1230-g6042b46'), so I'm closing this bug report. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 09:29:16 2011 Received: (at control) by debbugs.gnu.org; 20 Oct 2011 13:29:16 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsgN-0002p0-T8 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:29:16 -0400 Received: from mail-vx0-f172.google.com ([209.85.220.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsg6-0002nZ-1u for control@debbugs.gnu.org; Thu, 20 Oct 2011 09:28:59 -0400 Received: by mail-vx0-f172.google.com with SMTP id fo1so2433284vcb.3 for ; Thu, 20 Oct 2011 06:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=9NaVpm45QSn+9ychoHmjdHzNUaDxuywyWGbW9K/V15c=; b=jwfuFGuamPVASm9JX1OVrDcQJq0DiLFJkHfkh6GZMuMMmhkeXCj0IIdsNVL1Musc3U f3zEilrDtD3v1YPbtMNO1WOQ8G0lqUTARWNACub3NqgWgD6m9Cj0MuVedCyTBaJR+gDg if3w8sMHRYv783cAJMiBAFu8s9X5DRxHB/1cU= Received: by 10.220.193.200 with SMTP id dv8mr770908vcb.251.1319117269476; Thu, 20 Oct 2011 06:27:49 -0700 (PDT) Received: from bigio.localnet (host71-30-dynamic.56-82-r.retail.telecomitalia.it. [82.56.30.71]) by mx.google.com with ESMTPS id ja7sm8999379vdb.16.2011.10.20.06.27.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 06:27:47 -0700 (PDT) From: Stefano Lattarini To: control@debbugs.gnu.org Subject: foo Date: Thu, 20 Oct 2011 15:27:36 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110201527.37416.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) tags 9546 patch tags 9651 patch close 9546 close 9651 thanks From unknown Fri Sep 05 11:01:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 18 Nov 2011 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator