From unknown Sat Sep 13 10:22:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12860: avoiding =?UTF-8?Q?=E2=80=98check-recursive=E2=80=99?= Resent-From: Thien-Thi Nguyen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 11 Nov 2012 07:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12860 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 12860@debbugs.gnu.org X-Debbugs-Original-To: bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.135261867520892 (code B ref -1); Sun, 11 Nov 2012 07:25:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Nov 2012 07:24:35 +0000 Received: from localhost ([127.0.0.1]:60713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXRuD-0005Qt-4N for submit@debbugs.gnu.org; Sun, 11 Nov 2012 02:24:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46793) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXRuA-0005Ql-Hl for submit@debbugs.gnu.org; Sun, 11 Nov 2012 02:24:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXRtq-0005Nm-DK for submit@debbugs.gnu.org; Sun, 11 Nov 2012 02:24:13 -0500 Received: from lists.gnu.org ([208.118.235.17]:35138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXRtq-0005Nf-AK for submit@debbugs.gnu.org; Sun, 11 Nov 2012 02:24:10 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXRtn-0002AP-7a for bug-automake@gnu.org; Sun, 11 Nov 2012 02:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXRtk-0005ER-4s for bug-automake@gnu.org; Sun, 11 Nov 2012 02:24:07 -0500 Received: from smtp209.alice.it ([82.57.200.105]:59153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXRtj-00052n-QC for bug-automake@gnu.org; Sun, 11 Nov 2012 02:24:04 -0500 Received: from zigzag.favinet (95.236.25.216) by smtp209.alice.it (8.6.058.01) id 509136A001A23F95 for bug-automake@gnu.org; Sun, 11 Nov 2012 08:23:58 +0100 Received: from ttn by zigzag.favinet with local (Exim 4.72) (envelope-from ) id 1TXRuS-00019h-KF for bug-automake@gnu.org; Sun, 11 Nov 2012 08:24:48 +0100 From: Thien-Thi Nguyen User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) Date: Sun, 11 Nov 2012 08:24:37 +0100 Message-ID: <87mwyoppoq.fsf@zigzag.favinet> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" 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: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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.5 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In GNU Serveez, there are many subdirectories, but only one (test/) that supports "make check" (w/ var =E2=80=98TESTS=E2=80=99 et al). Thus, t= op-level invocation of "make check" needlessly recurses, a grating annoyance. I'd thought to arrange for top-level "make check" to simply redirect into test/ by using =E2=80=98check-local=E2=80=99, but that failed. Please= see: http://git.savannah.gnu.org/cgit/serveez.git/commit?id=3Df504730d3f for details and the suboptimal workaround. Am i missing something? =2D-=20 Thien-Thi Nguyen ..................................... GPG key: 4C807502 . NB: ttn at glug dot org is not me . . (and has not been since 2007 or so) . . ACCEPT NO SUBSTITUTES . ........... please send technical questions to mailing lists ........... --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAlCfUrgACgkQZwMiJEyAdQKaaACfWaXZfiXKRGkWRv9CanuNlVj2 hlUAoItz3CdmqM+ZAeCQXNAZAwhxCx2r =wCWv -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Sep 13 10:22:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12860: avoiding =?UTF-8?Q?=E2=80=98check-recursive=E2=80=99?= Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 11 Nov 2012 09:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12860 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Thien-Thi Nguyen Cc: 12860@debbugs.gnu.org Received: via spool by 12860-submit@debbugs.gnu.org id=B12860.135262514030345 (code B ref 12860); Sun, 11 Nov 2012 09:13:02 +0000 Received: (at 12860) by debbugs.gnu.org; 11 Nov 2012 09:12:20 +0000 Received: from localhost ([127.0.0.1]:60878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXTaW-0007tO-48 for submit@debbugs.gnu.org; Sun, 11 Nov 2012 04:12:20 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]:48424) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXTaT-0007tG-RM for 12860@debbugs.gnu.org; Sun, 11 Nov 2012 04:12:18 -0500 Received: by mail-ee0-f44.google.com with SMTP id b47so59138eek.3 for <12860@debbugs.gnu.org>; Sun, 11 Nov 2012 01:11:59 -0800 (PST) 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=EWJVH1d39T7k0PQM/pymyPYiP0sCmF2jlEsfQw2a/jQ=; b=vkNdhJ8NiNlcV6m7IKO+CaSBLzMLXle/CntOvLFRM/5jQKLQv8rPLFAdU0Qapkf9Yr 2c+XoTIsuJZF/lGn6ufWmea79rBM4bduvJ/TNtnx2qxnTBv2EdKSIIMlQfCsa4M6wd6M 8oRkkj7tXJL1QdtuE4K3GkuchPjTDBJVwse+kgaeO/RhyK6QxX5LQW+06MZePGHmfHT2 +HNL9Z06LvOQWDeBze6kdpC3ClljR88fvwpIkXr5G9JlDuBV+MJGqrDI5ouD4G9knUZR xrwSX7tw6bbxld6dDzFFqSzi/3mHu2OFpSHdcMevfbIXxEo28tGrdf2dWcQT1Fl8+XR2 oOig== Received: by 10.14.173.137 with SMTP id v9mr52451202eel.41.1352625119357; Sun, 11 Nov 2012 01:11:59 -0800 (PST) Received: from [192.168.178.21] (host247-100-dynamic.8-87-r.retail.telecomitalia.it. [87.8.100.247]) by mx.google.com with ESMTPS id c6sm8518728eep.17.2012.11.11.01.11.58 (version=SSLv3 cipher=OTHER); Sun, 11 Nov 2012 01:11:58 -0800 (PST) Message-ID: <509F6BD7.2020105@gmail.com> Date: Sun, 11 Nov 2012 10:11:51 +0100 From: Stefano Lattarini MIME-Version: 1.0 References: <87mwyoppoq.fsf@zigzag.favinet> In-Reply-To: <87mwyoppoq.fsf@zigzag.favinet> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: 0.1 (/) severity 12860 wishlist tags 12860 wontfix close 12860 Hi Thien-Thi. On 11/11/2012 08:24 AM, Thien-Thi Nguyen wrote: > In GNU Serveez, there are many subdirectories, but only one (test/) > that supports "make check" (w/ var ‘TESTS’ et al). Thus, top-level > invocation of "make check" needlessly recurses, a grating annoyance. > > I'd thought to arrange for top-level "make check" to simply redirect > into test/ by using ‘check-local’, but that failed. Please see: > > http://git.savannah.gnu.org/cgit/serveez.git/commit?id=f504730d3f > > for details and the suboptimal workaround. Am i missing something? > If you want to avoid recursion, you should use a non-recursive Makefile. GNU packages like Coreutils, Bison and Automake itself already use such a setup in their build system, with no problem that I know of. The current behaviour of the '*-recursive' targets is deeply entrenched in the Automake implementation and design, and I have no plans to change it. I'm thus closing this report as "Won't Fix", sorry. Best Regards, Stefano From unknown Sat Sep 13 10:22:23 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12860: avoiding =?UTF-8?Q?=E2=80=98check-recursive=E2=80=99?= Resent-From: Stefano Lattarini Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 11 Nov 2012 22:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12860 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Thien-Thi Nguyen Cc: 12860@debbugs.gnu.org Received: via spool by 12860-submit@debbugs.gnu.org id=B12860.135267333117950 (code B ref 12860); Sun, 11 Nov 2012 22:36:01 +0000 Received: (at 12860) by debbugs.gnu.org; 11 Nov 2012 22:35:31 +0000 Received: from localhost ([127.0.0.1]:33837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXg7m-0004fS-GX for submit@debbugs.gnu.org; Sun, 11 Nov 2012 17:35:31 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]:57138) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXg7j-0004fF-Us for 12860@debbugs.gnu.org; Sun, 11 Nov 2012 17:35:29 -0500 Received: by mail-we0-f172.google.com with SMTP id u46so2525834wey.3 for <12860@debbugs.gnu.org>; Sun, 11 Nov 2012 14:35:06 -0800 (PST) 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=cSUEsZucp6lXd8K0VZLHsAew8Z8m8D9rwvMnzybQKi8=; b=Hu/wIMyoOomk17i0Ju+ajG8oWQya52kGzBu2TXx/rlJtOTgiOM55QC3xWiwTVKFx95 +QABpUXlZ1U9p/2w6RW/7ovPygN4jAwWhPe144vlwfB3UcE5FWi3x856BilDEuRcW4jT ZTsovaFtGXxK86sGyoaxSnXa9Yeq5uGgbgimO43ZEmA/IClHGfJPeuu+wHwdmaYGH7zU RUQfBbl1DB0fjpcZPPMYOxP5yhTBE8VGe9/2qkWEP0EtNRHn92J1zvgOYVsJJ8KGR/bb ekfFM0fvsfwiF5GwH3jfb7iy2YGxyvI1BeyfoBre6140mlE0n0YxWGQZg80BnBY82pJY pZWQ== Received: by 10.180.7.194 with SMTP id l2mr12169400wia.0.1352673306051; Sun, 11 Nov 2012 14:35:06 -0800 (PST) Received: from [192.168.178.21] (host247-100-dynamic.8-87-r.retail.telecomitalia.it. [87.8.100.247]) by mx.google.com with ESMTPS id ea9sm805025wib.11.2012.11.11.14.35.04 (version=SSLv3 cipher=OTHER); Sun, 11 Nov 2012 14:35:05 -0800 (PST) Message-ID: <50A02816.6090401@gmail.com> Date: Sun, 11 Nov 2012 23:35:02 +0100 From: Stefano Lattarini MIME-Version: 1.0 References: <87mwyoppoq.fsf@zigzag.favinet> <509F6BD7.2020105@gmail.com> <87ip9corn1.fsf@zigzag.favinet> In-Reply-To: <87ip9corn1.fsf@zigzag.favinet> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: 0.1 (/) On 11/11/2012 08:40 PM, Thien-Thi Nguyen wrote: > () Stefano Lattarini > () Sun, 11 Nov 2012 10:11:51 +0100 > > If you want to avoid recursion, you should use a non-recursive > Makefile. GNU packages like Coreutils, Bison and Automake itself > already use such a setup in their build system, with no problem that > I know of. > > I want to avoid recursion for "make check" only. For everything else, > recursion is desirable and appreciated. Is there any way to do that? > Nope, sorry. > If not, perhaps the documentation about foo-local targets "supplanting" > Automake-generated foo targets should mention that such supplanting has > limits, one of which is that it cannot be used to avoid recursion. > Actually, "foo-local" is expected to *extend*, not supplant, "foo"; and that is a good design IMHO: otherwise you might have to re-implement the recursion yourself every time you define a "foo-local" target in a non-leaf Makefile. Is there some wording in the manual that didn't make clear this to you? If yes, we might indeed want to fix such misleading wording > That way, at least, we can make progress to avoid this question > re-arising. > Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 14 09:49:58 2012 Received: (at control) by debbugs.gnu.org; 14 Nov 2012 14:49:58 +0000 Received: from localhost ([127.0.0.1]:41442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYeHt-0004EO-R2 for submit@debbugs.gnu.org; Wed, 14 Nov 2012 09:49:58 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:52343) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYeHr-0004EE-6F for control@debbugs.gnu.org; Wed, 14 Nov 2012 09:49:55 -0500 Received: by mail-lb0-f172.google.com with SMTP id y2so500656lbk.3 for ; Wed, 14 Nov 2012 06:49:18 -0800 (PST) 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=3tvWKjRFXrqqwSrIArtdw4kqssIPf85f1zibj0Ane0M=; b=AY7/bOGAFqp2l7vqQ8K2lgTbsHbmS0jn5+N25zhK2DYuuMWN//BSeReYSVh7JFIsTY 4HK51cxD8qAIfkJihBzNu3YLQjP5uUgIytm6OVzp0T4ljDt2HsgsN8IA5Sa36S7EhxVR EE3LuMA/i963MlNVYS1IkiFuhDPLo9gfmIlYW568eVchzXShlLAJPwD1qfcPf0Q9wGRt LlD43qPS+iOXxR32aoAXA2/j2NQ5HtAbOIkrZLZaXEaH40CSNU55a6zB3lHHJ2b8IiHw f/OVAL9EYIWB+snnk7aPhizJxKZPeozBmXgXaPlUcJhFT7yNTclUPot932jTJ3hgM1fX OnDg== Received: by 10.112.87.97 with SMTP id w1mr10760076lbz.77.1352904558453; Wed, 14 Nov 2012 06:49:18 -0800 (PST) Received: from [192.168.178.21] (host247-100-dynamic.8-87-r.retail.telecomitalia.it. [87.8.100.247]) by mx.google.com with ESMTPS id g5sm5131042lbk.7.2012.11.14.06.49.15 (version=SSLv3 cipher=OTHER); Wed, 14 Nov 2012 06:49:16 -0800 (PST) Message-ID: <50A3AF68.2070501@gmail.com> Date: Wed, 14 Nov 2012 15:49:12 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: GNU bug tracker automated control server Subject: x Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 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: 0.1 (/) severity 12860 wishlist tags 12860 wontfix close 12860