From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 08:44:14 2011 Received: (at submit) by debbugs.gnu.org; 20 Oct 2011 12:44:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGryo-0001lI-96 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 08:44:14 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGryl-0001l5-Pl for submit@debbugs.gnu.org; Thu, 20 Oct 2011 08:44:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGrxZ-0001pL-Bj for submit@debbugs.gnu.org; Thu, 20 Oct 2011 08:42:58 -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.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:45271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGrxZ-0001pH-AG for submit@debbugs.gnu.org; Thu, 20 Oct 2011 08:42:57 -0400 Received: from eggs.gnu.org ([140.186.70.92]:38761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGrxY-00074X-7R for bug-automake@gnu.org; Thu, 20 Oct 2011 08:42:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGrxU-0001p5-A6 for bug-automake@gnu.org; Thu, 20 Oct 2011 08:42:56 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:36128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGrxT-0001ot-Ri for bug-automake@gnu.org; Thu, 20 Oct 2011 08:42:52 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 2F7F04001E for ; Thu, 20 Oct 2011 14:42:50 +0200 (CEST) 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 1516B4000F for ; Thu, 20 Oct 2011 14:42:49 +0200 (CEST) Message-ID: <4EA0174D.2060304@lysator.liu.se> Date: Thu, 20 Oct 2011 14:42:53 +0200 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: bug-automake@gnu.org Subject: libtool is not found by the automake testsuite 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: 140.186.70.17 X-Spam-Score: -4.9 (----) 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.0 (-----) Hi! When I do a simple ./configure, make, make check, Automake will not run tests related to Libtool, because there is no Libtool installed in the prefix this Automake is destined for (i.e. /usr/local/). Is it really expected that users should have to install Libtool in the prefix before the Automake testsuite will run the Libtool tests? >From looking at the code, I suspect gettext is also suffering. I do understand that there is a desire to keep undesired macros out of the way, but the price seems a bit high... Cheers, Peter From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 20 09:21:29 2011 Received: (at submit) by debbugs.gnu.org; 20 Oct 2011 13:21:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsYq-0002db-RW for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:21:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RGsYo-0002dN-82 for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGsXa-0000wX-FF for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:20:12 -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]:43556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXa-0000wF-1B for submit@debbugs.gnu.org; Thu, 20 Oct 2011 09:20:10 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXY-0006k7-GH for bug-automake@gnu.org; Thu, 20 Oct 2011 09:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGsXR-0000q7-Qm for bug-automake@gnu.org; Thu, 20 Oct 2011 09:20:08 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:42584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGsXR-0000q1-Fv for bug-automake@gnu.org; Thu, 20 Oct 2011 09:20:01 -0400 Received: by bkbzu5 with SMTP id zu5so4052952bkb.0 for ; Thu, 20 Oct 2011 06:20:00 -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=eDyy3TdMUbTO6g9E5mV8Wa0OVJvh+25SD3Arjn7uEI8=; b=Kw8rJoxRrxK9PTJPnpyNj1NZvzZ0kX1Gjn7jqOZCTcamZ+dp+/v/OzdfJc4nsIcUXW qrvgEi8OmBlTtkMGevXZe0qx9z92aJzoUFkGEYibRmADCyypXKGa8yYPjo2rYCOPO4p7 fMMWmod2BgTIasWgj7qqDQvHXz7x14UszpnTQ= Received: by 10.204.156.150 with SMTP id x22mr8125104bkw.86.1319116800487; Thu, 20 Oct 2011 06:20:00 -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 r12sm9791541bkw.5.2011.10.20.06.19.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 20 Oct 2011 06:19:59 -0700 (PDT) From: Stefano Lattarini To: bug-automake@gnu.org Subject: Re: bug#9807: libtool is not found by the automake testsuite Date: Thu, 20 Oct 2011 15:19:47 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <4EA0174D.2060304@lysator.liu.se> In-Reply-To: <4EA0174D.2060304@lysator.liu.se> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201110201519.48049.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.1 (-----) X-Debbugs-Envelope-To: submit Cc: Peter Rosin , 9807@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: -5.1 (-----) On Thursday 20 October 2011, Peter Rosin wrote: > Hi! > Hi Peter, thanks for the report. > When I do a simple ./configure, make, make check, Automake will > not run tests related to Libtool, because there is no Libtool > installed in the prefix this Automake is destined for (i.e. > /usr/local/). > > Is it really expected that users should have to install Libtool > in the prefix before the Automake testsuite will run the Libtool > tests? > > From looking at the code, I suspect gettext is also suffering. > And it gets worse: as another unwanted side effect, "make distcheck" won't run the libtool and gettext tests, ever. Not pretty. > I do understand that there is a desire to keep undesired macros > out of the way, but the price seems a bit high... > I agree, and improving the situation is on my TODO list for the testsuite-work branch. Here is the planned roadmap: 1. Add a new `libtool-macros' requirement, for tests that don't need libool/libtoolize, but only the libtool-provided autoconf macros. Adjust `$required' of the involved tests accordingly. 2. Make the `libtool-macros' and `gettext' requirements not trigger any search for `libtool.m4' and `gettext.m4' files, but rather rely on the ACLOCAL_PATH variable (this introduces possibility of spurious failures, that we'll fix in a later step). 3. Look for the libtool/gettext macros at configure time. The default location will still be the the prefix this Automake is destined for; but then we should also: - take a look at /usr/local and /usr uncondionally (useful e.g. if someone is installing automake in his home directory, which is hardly a good reason to skip the libtool and gettext tests); - honour the recently-introduced ACLOCAL_PATH (and continue to honour the `dirlist' file in acdir, if any); - offer configure option(s) to override the automatic checks (the user is always right!). These points might be implemented in seprate steps, of course. 4. In tests requiring `libtool-macros' and `gettext', extend the ACLOCAL_PATH variable appropriately. This should fix any regreession introduced by the step (2). This is the "tentative" roadmap. As usual, suggestions are weclome -- as well as patches ;-) Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 06 10:57:55 2011 Received: (at 9807) by debbugs.gnu.org; 6 Nov 2011 15:57:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN56Y-00070B-VR for submit@debbugs.gnu.org; Sun, 06 Nov 2011 10:57:55 -0500 Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN56W-000703-A4 for 9807@debbugs.gnu.org; Sun, 06 Nov 2011 10:57:54 -0500 Received: by faas12 with SMTP id s12so4305452faa.3 for <9807@debbugs.gnu.org>; Sun, 06 Nov 2011 07:55:04 -0800 (PST) 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=IEJJHccdHSuWekCQNKPp0CaIv13rlN2JutwG+r1+Gq4=; b=xnZVQTyqD3DjSPEDOawEAs+s0+qm2WTDE1vFpQJycpbOIaPx/WQ+52yf9J9FHPuJ1P 39F5PZKGFCeTxFWQyw4cHSn+UxBuzQJveFYnVmIiqWaQJFSuWJM+hAxwwHulVyGiGZOn adyc0vdFFwbgAj5ToawA55ymz7THs9RVDCEN0= Received: by 10.223.17.80 with SMTP id r16mr19636864faa.37.1320594903265; Sun, 06 Nov 2011 07:55:03 -0800 (PST) Received: from bigio.localnet (host89-95-dynamic.10-79-r.retail.telecomitalia.it. [79.10.95.89]) by mx.google.com with ESMTPS id y10sm24038170fal.10.2011.11.06.07.55.02 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Nov 2011 07:55:02 -0800 (PST) From: Stefano Lattarini To: Jim Meyering Subject: custom libtool installation and automake testsuite failures (was: Re: [PATCH] tests: avoid false positive due to change in --help formatting) Date: Sun, 6 Nov 2011 16:54:53 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <87d3d8xlhn.fsf@rho.meyering.net> <201111051031.09251.stefano.lattarini@gmail.com> <87hb2hs919.fsf@rho.meyering.net> In-Reply-To: <87hb2hs919.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111061654.54336.stefano.lattarini@gmail.com> X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9807 Cc: 9807@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: -3.8 (---) Hi Jim. On Sunday 06 November 2011, Jim Meyering wrote: > Stefano Lattarini wrote: > > On Friday 04 November 2011, Stefano Lattarini wrote: > >> On Friday 04 November 2011, Stefano Lattarini wrote: > >> > > >> > [SNIP] > >> > > >> > Attached is a patch in this spirit; I'll push in a few hours if there is > >> > no objection. > >> > > > Pushed now. > > Thanks. > > With that, I would have had no test failures on master, but now I > have 20+. The cause is that in the mean time I've installed a private > copy of libtool-2.4.2, while parts of the test seem to expect the > version installed as /usr/bin/libtool: 2.4: > > libtool: Version mismatch error. This is libtool 2.4.2, but the > libtool: definition of this LT_INIT comes from libtool 2.4. > libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 > libtool: and run autoconf again. > make: *** [libd.lo] Error 63 > Hmmm... my guess is that the automake testsuite is finding and using the system-wide versions of the libtool macros, instead of the ones of your custom libtool installation; see also automake bug#9807: (which I'm CC'ing, for reference). This sucks, and will hopefully be fixed in the first automake release after 1.11.2 (either 1.12 or 1.11.3). Just to verify this hunch of mine is correct, can you tell me how you've configured automake, where you have installed your private libtool version, and post the logs of the failing test(s)? > Should I expect those tests to pass in this case? > For the moment, I *think* (hope?) that you can work around the problem as follows: $ cd ~/src/automake # Directory of your automake checkout. $ mkdir _inst $ ./configure --prefix=`pwd`/_inst $ make install $ cat > _inst/share/aclocal/dirlist <) id 1RN5MZ-0007P6-A1 for submit@debbugs.gnu.org; Sun, 06 Nov 2011 11:14:27 -0500 Received: from mx.meyering.net ([88.168.87.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN5MW-0007Oy-MV for 9807@debbugs.gnu.org; Sun, 06 Nov 2011 11:14:25 -0500 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 1CBA960079; Sun, 6 Nov 2011 17:11:37 +0100 (CET) From: Jim Meyering To: Stefano Lattarini Subject: Re: custom libtool installation and automake testsuite failures In-Reply-To: <201111061654.54336.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Sun, 6 Nov 2011 16:54:53 +0100") References: <87d3d8xlhn.fsf@rho.meyering.net> <201111051031.09251.stefano.lattarini@gmail.com> <87hb2hs919.fsf@rho.meyering.net> <201111061654.54336.stefano.lattarini@gmail.com> Date: Sun, 06 Nov 2011 17:11:37 +0100 Message-ID: <8762ixqlhi.fsf@rho.meyering.net> Lines: 45 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9807 Cc: 9807@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: -2.7 (--) Stefano Lattarini wrote: ... > Just to verify this hunch of mine is correct, can you tell me how > you've configured automake, where you have installed your private > libtool version, and post the logs of the failing test(s)? > >> Should I expect those tests to pass in this case? >> > For the moment, I *think* (hope?) that you can work around the > problem as follows: > > $ cd ~/src/automake # Directory of your automake checkout. > $ mkdir _inst > $ ./configure --prefix=`pwd`/_inst > $ make install > $ cat > _inst/share/aclocal/dirlist < # Directory of your libtool macros from your custom libtool > # installation. > /opt/libtool-2.4.2/share/aclocal > # Directory of your system-wide third-party aclocal macros. > /usr/share/aclocal > END > > Let me know how this works out. Thanks for the hint. I install my own versions of m4, autoconf, automake, libtool, etc., using --prefix=/p, and I put /p/bin earlier in PATH than /usr/bin, etc. Because of that, I've always had to initialize /p/share/aclocal/dirlist to contain /usr/share/aclocal. Until today, I did it like this, so that uses of macros not installed in my private hierarchy would still be found: mkdir --verbose -p $(aclocal --print-ac-dir) echo /usr/share/aclocal >> $(aclocal --print-ac-dir)/dirlist Now I see that I must explicitly list /p/share/aclocal, too, presumably before any other directory name, so I've done this: mkdir --verbose -p $(aclocal --print-ac-dir) printf '%s/share/aclocal\n' /p /usr >> $(aclocal --print-ac-dir)/dirlist With that, all of the tests on automake.master pass once again. Thanks! From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 06 11:46:00 2011 Received: (at 9807) by debbugs.gnu.org; 6 Nov 2011 16:46:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN5r5-0000MF-S9 for submit@debbugs.gnu.org; Sun, 06 Nov 2011 11:46:00 -0500 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN5r3-0000M8-Bj for 9807@debbugs.gnu.org; Sun, 06 Nov 2011 11:45:58 -0500 Received: by wwe5 with SMTP id 5so5521998wwe.15 for <9807@debbugs.gnu.org>; Sun, 06 Nov 2011 08:43:10 -0800 (PST) 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=9VDzQ1iix/RoueNA1fum6h+j9cilYLTGwHO6T7mirDY=; b=QTKa8UgKbJTQuahqRxlInYiruJoBBrdi2dGyTjoNpoIMHgft8AAQa2c03hIA7OTEAa MF/9hQYKB61O7s9OdTeYN/gHcUZGn4QdOAOvnehIAaAlSRd2siksC/2z9Kdqi7F/LW3F if36ugpyTzj9Lkjvm1P+QOvHs5EyLJ36KnqBc= Received: by 10.227.202.149 with SMTP id fe21mr25848281wbb.15.1320597789879; Sun, 06 Nov 2011 08:43:09 -0800 (PST) Received: from bigio.localnet (host89-95-dynamic.10-79-r.retail.telecomitalia.it. [79.10.95.89]) by mx.google.com with ESMTPS id ff6sm24416792wbb.10.2011.11.06.08.43.08 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 Nov 2011 08:43:09 -0800 (PST) From: Stefano Lattarini To: Jim Meyering Subject: Re: custom libtool installation and automake testsuite failures Date: Sun, 6 Nov 2011 17:42:59 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <87d3d8xlhn.fsf@rho.meyering.net> <201111061654.54336.stefano.lattarini@gmail.com> <8762ixqlhi.fsf@rho.meyering.net> In-Reply-To: <8762ixqlhi.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111061742.59987.stefano.lattarini@gmail.com> X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 9807 Cc: 9807@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: -3.8 (---) On Sunday 06 November 2011, Jim Meyering wrote: > I install my own versions of m4, autoconf, automake, libtool, etc., > using --prefix=/p, and I put /p/bin earlier in PATH than /usr/bin, etc. > > Because of that, I've always had to initialize > /p/share/aclocal/dirlist to contain /usr/share/aclocal. > Until today, I did it like this, so that uses of macros not > installed in my private hierarchy would still be found: > > mkdir --verbose -p $(aclocal --print-ac-dir) > echo /usr/share/aclocal >> $(aclocal --print-ac-dir)/dirlist > > Now I see that I must explicitly list /p/share/aclocal, too, > presumably before any other directory name, > That's weird; if I'm not mistaken, m4 files from ${acdir} should take precedence over those from directories listed in ${acdir}/dirlist ... > so I've done this: > > mkdir --verbose -p $(aclocal --print-ac-dir) > printf '%s/share/aclocal\n' /p /usr >> $(aclocal --print-ac-dir)/dirlist > I don't understand why this should be needed ... > With that, all of the tests on automake.master pass once again. > ... and I'm baffled by the fact it indeed works. Could you please try running a libtool-requiring test passing `--verbose' to the aclocal invocation there, to see what happens? Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 06 11:57:24 2011 Received: (at 9807) by debbugs.gnu.org; 6 Nov 2011 16:57:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN627-0000bT-Vo for submit@debbugs.gnu.org; Sun, 06 Nov 2011 11:57:24 -0500 Received: from mx.meyering.net ([88.168.87.75]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RN624-0000bJ-Cw for 9807@debbugs.gnu.org; Sun, 06 Nov 2011 11:57:22 -0500 Received: from rho.meyering.net (localhost.localdomain [127.0.0.1]) by rho.meyering.net (Acme Bit-Twister) with ESMTP id 926AE6006A; Sun, 6 Nov 2011 17:54:32 +0100 (CET) From: Jim Meyering To: Stefano Lattarini Subject: Re: custom libtool installation and automake testsuite failures In-Reply-To: <201111061742.59987.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Sun, 6 Nov 2011 17:42:59 +0100") References: <87d3d8xlhn.fsf@rho.meyering.net> <201111061654.54336.stefano.lattarini@gmail.com> <8762ixqlhi.fsf@rho.meyering.net> <201111061742.59987.stefano.lattarini@gmail.com> Date: Sun, 06 Nov 2011 17:54:32 +0100 Message-ID: <87y5vtp4xj.fsf@rho.meyering.net> Lines: 51 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: 9807 Cc: 9807@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: -2.7 (--) --=-=-= Content-Type: text/plain Stefano Lattarini wrote: > On Sunday 06 November 2011, Jim Meyering wrote: >> I install my own versions of m4, autoconf, automake, libtool, etc., >> using --prefix=/p, and I put /p/bin earlier in PATH than /usr/bin, etc. >> >> Because of that, I've always had to initialize >> /p/share/aclocal/dirlist to contain /usr/share/aclocal. >> Until today, I did it like this, so that uses of macros not >> installed in my private hierarchy would still be found: >> >> mkdir --verbose -p $(aclocal --print-ac-dir) >> echo /usr/share/aclocal >> $(aclocal --print-ac-dir)/dirlist >> >> Now I see that I must explicitly list /p/share/aclocal, too, >> presumably before any other directory name, >> > That's weird; if I'm not mistaken, m4 files from ${acdir} should take > precedence over those from directories listed in ${acdir}/dirlist ... > >> so I've done this: >> >> mkdir --verbose -p $(aclocal --print-ac-dir) >> printf '%s/share/aclocal\n' /p /usr >> $(aclocal --print-ac-dir)/dirlist >> > I don't understand why this should be needed ... > >> With that, all of the tests on automake.master pass once again. >> > ... and I'm baffled by the fact it indeed works. > > Could you please try running a libtool-requiring test passing `--verbose' > to the aclocal invocation there, to see what happens? For the record, with /p/bin early in my path and self-built/installed autoconf, automake, libtool-2.4.2 (with prefix=/p), with this, all automake tests pass: $ cat /p/share/aclocal/dirlist /p/share/aclocal /usr/share/aclocal If I change that to omit /p/share/aclocal, $ cat /p/share/aclocal/dirlist /usr/share/aclocal Then 29 automake tests fail: --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=test-suite.log.xz Content-Transfer-Encoding: base64 /Td6WFoAAATm1rRGAgAhARYAAAB0L+Wj5Ao6MHpdAB7uMgoQ6nC0252En82VXDas/rGjNU86iBZW 9TZajj16eh4hg1WTnhOhjDMGGG/OxOUIvElsF0HbtJN7u6agyvU07iBhdqEXCDaG8Z3zhYk3CkOa VbgJeBQOfJdsRH5c5A8GFooVuC/aj1Y7HlnExUGJ5+wDhoPIKiRVUTrDLgNP5nImfec29Serw1V6 0+xZee87KDpN2VVo5m0PK4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fzb5xjexsq1K eYiYj5w76Vq/jDXqRKxLPBi7VXTbl6NSmAtJ6kp7JDH+r5u/sRLWhnUg9P4j43dGcfSSvM6bHDqs BM9+T8SO6Q/NL1kPzFucdUtLQjxjzWXkP7cJPQFtjg7ATnAvPqhUMsMFOVAk72Ruzxp5VmgRoLaZ QUXFGvb9G662uRurWQj3akPevsvQguF3d+aQENIKB3P5x/CC55iCv5pcEs33IjqzZ1fs5Mhq9yfI IReY2liW2lNUWRArG2MAAAAAtS704iRyHFkAAZZhu5QQAJi0k9axxGf7AgAAAAAEWVo= --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 14 08:10:32 2011 Received: (at 9807) by debbugs.gnu.org; 14 Dec 2011 13:10:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaobQ-0003vp-2u for submit@debbugs.gnu.org; Wed, 14 Dec 2011 08:10:32 -0500 Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaobM-0003vh-Rf for 9807@debbugs.gnu.org; Wed, 14 Dec 2011 08:10:30 -0500 Received: by faas1 with SMTP id s1so1114523faa.3 for <9807@debbugs.gnu.org>; Wed, 14 Dec 2011 05:09:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=rkpxo56lv5XzbFuHNko1PTEgrmiwY2JpGotbDboTvY4=; b=BhYZKjfxvC0tScAWvVJW2KlJrdxrKRlQ1tkgmFKjONTBrfVamBGMHH1O41e7IKfGLd 5CripbYetVIb5tpdpMhJ4Dwtq0KsqO18+OxAf4Q1ktKMQeGdAus0n/vivpIXo62nnPc6 bYjhNtaZ2hLeFer+qi0XQGonv7bSMo2tQNC6Y= Received: by 10.180.102.4 with SMTP id fk4mr4503126wib.15.1323867988928; Wed, 14 Dec 2011 05:06:28 -0800 (PST) Received: from localhost.localdomain (host130-31-dynamic.56-82-r.retail.telecomitalia.it. [82.56.31.130]) by mx.google.com with ESMTPS id ca18sm3344873wib.13.2011.12.14.05.06.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Dec 2011 05:06:28 -0800 (PST) From: Stefano Lattarini To: automake-patches@gnu.org Subject: [PATCH] {maint} tests: better handling of gettext and libtool requirements Date: Wed, 14 Dec 2011 14:06:15 +0100 Message-Id: X-Mailer: git-send-email 1.7.2.3 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9807 Cc: 9807@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: -3.9 (---) This change fixes automake bug#9807. Before this change, the automake testsuite only looked for the `.m4' files containing libtool and gettext macros definitions in the directory `${prefix}/share/aclocal' (and in the directories specified by the `dirlist' file in there, if any), where ${prefix} was the configure-time automake installation prefix (defaulting to `/usr/local'). This approach had various shortcomings and disadvantages. Let's briefly describe the three major ones. First, on most GNU/Linux systems, a libtool or gettext installed from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as its ${prefix}; so, trying to run the automake testsuite with a simple "./configure && make && make check" would have failed to execute the libtool and gettext tests on most GNU/Linux distros. It's true that it was quite easy to work around this issue, by creating a proper `/usr/local/share/aclocal/dirlist' file with an entry pointing to `/usr/share/aclocal' (a workaround in fact used by most automake developers); but the typical user wasn't aware of the necessity of this trick, so the libtool and gettext tests was usually skipped on testsuite runs "in the wild", thus needlessly reducing coverage. Second, the older testsuite behaviour made more difficult for the developers to run the testsuite with non-default libtool or gettext. For example, assume the developer is working on a system that has a default libtool version 1.5 installed in the /usr/local hierarchy; to improve coverage, the developer installs also a more modern libtool version, say 2.4, in its home directory, let's say in ~/libtool-2.4; he then tries to run the automake testsuite with this more modern libtool by doing an (apparently) simple: $ PATH=$HOME/libtool-2.4:$PATH make check But the automake testsuite would still look for libtool macros in /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so the wrong version of the macros would be picked up, and the tests would either fail spuriously or (which would be worse) pass without truly covering the libtool version the developers was thinking to be testing with. Worse again, the automake testsuite would *unconditionally* look for libtool macros in /usr/local/share/aclocal, so even something like: $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal $ PATH=$HOME/libtool-2.4:$PATH make check wouldn't work. Third and last, during a "make distcheck", automake is configured with a ${prefix} pointing to a proper subdirectory of the build directory (usually `pwd`/_inst), which gets created on-the-fly; in this case, with the old approach, the automake testsuite never found the libtool and gettext macro files, ans so the libtool and gettext tests was *always* skipped in a "make distcheck". * tests/libtool-macros.test: New helper test, looking (with the help of the `libtoolize' script) for libtool macro files required by most libtool tests, and making them easily accessible. * tests/gettext-macros.test: New helper test, looking (with the help of the `libtoolize' script) for libtool macro files required by most libtool tests, and making them easily accessible. * tests/defs.in: Update to make it rely on the results and setups of `libtool-macros.test' and `gettext-macros.test'. * tests/Makefile.am: Declare dependency of all the logs of libtool tests from `libtool-macros.log', and all the logs of gettext tests from `gettext-macros.log'. --- ChangeLog | 71 +++++++++++++++++++++++++++++++++++++++ tests/Makefile.am | 62 ++++++++++++++++++++++++++++++++++ tests/Makefile.in | 62 ++++++++++++++++++++++++++++++++++ tests/defs.in | 43 +----------------------- tests/gettext-macros.test | 80 +++++++++++++++++++++++++++++++++++++++++++++ tests/libtool-macros.test | 62 ++++++++++++++++++++++++++++++++++ 6 files changed, 339 insertions(+), 41 deletions(-) create mode 100755 tests/gettext-macros.test create mode 100755 tests/libtool-macros.test diff --git a/ChangeLog b/ChangeLog index 826a4f7..6527e31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,74 @@ +2011-12-14 Stefano Lattarini + + tests: better handling of gettext and libtool requirements + + This change fixes automake bug#9807. + + Before this change, the automake testsuite only looked for the + `.m4' files containing libtool and gettext macros definitions in + the directory `${prefix}/share/aclocal' (and in the directories + specified by the `dirlist' file in there, if any), where ${prefix} + was the configure-time automake installation prefix (defaulting + to `/usr/local'). + + This approach had various shortcomings and disadvantages. Let's + briefly describe the three major ones. + + First, on most GNU/Linux systems, a libtool or gettext installed + from distro-provided packages (e.g., by dpkg on Debian/Ubuntu, or + by rmp on RedHat/Fedora) would have `/usr', not `/usr/local', as + its ${prefix}; so, trying to run the automake testsuite with a + simple "./configure && make && make check" would have failed to + execute the libtool and gettext tests on most GNU/Linux distros. + It's true that it was quite easy to work around this issue, by + creating a proper `/usr/local/share/aclocal/dirlist' file with + an entry pointing to `/usr/share/aclocal' (a workaround in fact + used by most automake developers); but the typical user wasn't + aware of the necessity of this trick, so the libtool and gettext + tests was usually skipped on testsuite runs "in the wild", thus + needlessly reducing coverage. + + Second, the older testsuite behaviour made more difficult for + the developers to run the testsuite with non-default libtool or + gettext. For example, assume the developer is working on a system + that has a default libtool version 1.5 installed in the /usr/local + hierarchy; to improve coverage, the developer installs also a more + modern libtool version, say 2.4, in its home directory, let's say + in ~/libtool-2.4; he then tries to run the automake testsuite with + this more modern libtool by doing an (apparently) simple: + $ PATH=$HOME/libtool-2.4:$PATH make check + But the automake testsuite would still look for libtool macros in + /usr/local/share/aclocal, not in ~/libtool-2.4/share/aclocal, so + the wrong version of the macros would be picked up, and the tests + would either fail spuriously or (which would be worse) pass without + truly covering the libtool version the developers was thinking to + be testing with. + Worse again, the automake testsuite would *unconditionally* look + for libtool macros in /usr/local/share/aclocal, so even something + like: + $ export ACLOCAL_PATH=$HOME/libtool-2.4/share/aclocal + $ PATH=$HOME/libtool-2.4:$PATH make check + wouldn't work. + + Third and last, during a "make distcheck", automake is configured + with a ${prefix} pointing to a proper subdirectory of the build + directory (usually `pwd`/_inst), which gets created on-the-fly; + in this case, with the old approach, the automake testsuite never + found the libtool and gettext macro files, ans so the libtool and + gettext tests was *always* skipped in a "make distcheck". + + * tests/libtool-macros.test: New helper test, looking (with the + help of the `libtoolize' script) for libtool macro files required + by most libtool tests, and making them easily accessible. + * tests/gettext-macros.test: New helper test, looking (with the + help of the `libtoolize' script) for libtool macro files required + by most libtool tests, and making them easily accessible. + * tests/defs.in: Update to make it rely on the results and setups + of `libtool-macros.test' and `gettext-macros.test'. + * tests/Makefile.am: Declare dependency of all the logs of libtool + tests from `libtool-macros.log', and all the logs of gettext tests + from `gettext-macros.log'. + 2011-12-10 Stefano Lattarini release: don't run "make distcheck" automatically diff --git a/tests/Makefile.am b/tests/Makefile.am index 831906b..d6a15f7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -924,6 +924,68 @@ yflags.test \ yflags2.test \ $(parallel_tests) +# FIXME: make these automatically computed once we are merged into +# FIXME: the `testsuite-work' branch. +depcomp4.log: libtool-macros.log +depcomp7.log: libtool-macros.log +depcomp8b.log: libtool-macros.log +fort5.log: libtool-macros.log +instdir-ltlib.log: libtool-macros.log +instfail-libtool.log: libtool-macros.log +ldadd.log: libtool-macros.log +ldflags.log: libtool-macros.log +libobj13.log: libtool-macros.log +libtoo10.log: libtool-macros.log +libtoo11.log: libtool-macros.log +libtool.log: libtool-macros.log +libtool2.log: libtool-macros.log +libtool3.log: libtool-macros.log +libtool5.log: libtool-macros.log +libtool6.log: libtool-macros.log +libtool7.log: libtool-macros.log +libtool8.log: libtool-macros.log +libtool9.log: libtool-macros.log +listval.log: libtool-macros.log +ltcond.log: libtool-macros.log +ltcond2.log: libtool-macros.log +ltconv.log: libtool-macros.log +ltdeps.log: libtool-macros.log +ltinit.log: libtool-macros.log +ltinstloc.log: libtool-macros.log +ltlibobjs.log: libtool-macros.log +ltlibsrc.log: libtool-macros.log +ltorder.log: libtool-macros.log +nobase-libtool.log: libtool-macros.log +pr211.log: libtool-macros.log +pr300-ltlib.log: libtool-macros.log +pr307.log: libtool-macros.log +pr401b.log: libtool-macros.log +pr72.log: libtool-macros.log +reqd2.log: libtool-macros.log +silent3.log: libtool-macros.log +silent4.log: libtool-macros.log +silent9.log: libtool-macros.log +stdlib2.log: libtool-macros.log +strip3.log: libtool-macros.log +subobj9.log: libtool-macros.log +suffix10.log: libtool-macros.log +suffix2.log: libtool-macros.log +suffix5.log: libtool-macros.log +suffix8.log: libtool-macros.log +vala.log: libtool-macros.log +vala1.log: libtool-macros.log +vala2.log: libtool-macros.log +vala3.log: libtool-macros.log +vala4.log: libtool-macros.log +vala5.log: libtool-macros.log + +# FIXME: make these automatically computed once we are merged into +# FIXME: the `testsuite-work' branch. +gettext.log: gettext-macros.log +gettext2.log: gettext-macros.log +gettext3.log: gettext-macros.log +subcond.log: gettext-macros.log + EXTRA_DIST = ChangeLog-old gen-parallel-tests $(TESTS) distcheck-missing-m4.log distcheck-outdated-m4.log: distcheck-hook-m4.am diff --git a/tests/Makefile.in b/tests/Makefile.in index 3ad0146..adbd77e 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -1547,6 +1547,68 @@ $(parallel_tests): $(parallel_tests:-p.test=.test) Makefile.am < $(srcdir)/$$input >$@ chmod a+rx $@ +# FIXME: make these automatically computed once we are merged into +# FIXME: the `testsuite-work' branch. +depcomp4.log: libtool-macros.log +depcomp7.log: libtool-macros.log +depcomp8b.log: libtool-macros.log +fort5.log: libtool-macros.log +instdir-ltlib.log: libtool-macros.log +instfail-libtool.log: libtool-macros.log +ldadd.log: libtool-macros.log +ldflags.log: libtool-macros.log +libobj13.log: libtool-macros.log +libtoo10.log: libtool-macros.log +libtoo11.log: libtool-macros.log +libtool.log: libtool-macros.log +libtool2.log: libtool-macros.log +libtool3.log: libtool-macros.log +libtool5.log: libtool-macros.log +libtool6.log: libtool-macros.log +libtool7.log: libtool-macros.log +libtool8.log: libtool-macros.log +libtool9.log: libtool-macros.log +listval.log: libtool-macros.log +ltcond.log: libtool-macros.log +ltcond2.log: libtool-macros.log +ltconv.log: libtool-macros.log +ltdeps.log: libtool-macros.log +ltinit.log: libtool-macros.log +ltinstloc.log: libtool-macros.log +ltlibobjs.log: libtool-macros.log +ltlibsrc.log: libtool-macros.log +ltorder.log: libtool-macros.log +nobase-libtool.log: libtool-macros.log +pr211.log: libtool-macros.log +pr300-ltlib.log: libtool-macros.log +pr307.log: libtool-macros.log +pr401b.log: libtool-macros.log +pr72.log: libtool-macros.log +reqd2.log: libtool-macros.log +silent3.log: libtool-macros.log +silent4.log: libtool-macros.log +silent9.log: libtool-macros.log +stdlib2.log: libtool-macros.log +strip3.log: libtool-macros.log +subobj9.log: libtool-macros.log +suffix10.log: libtool-macros.log +suffix2.log: libtool-macros.log +suffix5.log: libtool-macros.log +suffix8.log: libtool-macros.log +vala.log: libtool-macros.log +vala1.log: libtool-macros.log +vala2.log: libtool-macros.log +vala3.log: libtool-macros.log +vala4.log: libtool-macros.log +vala5.log: libtool-macros.log + +# FIXME: make these automatically computed once we are merged into +# FIXME: the `testsuite-work' branch. +gettext.log: gettext-macros.log +gettext2.log: gettext-macros.log +gettext3.log: gettext-macros.log +subcond.log: gettext-macros.log + distcheck-missing-m4.log distcheck-outdated-m4.log: distcheck-hook-m4.am clean-local: clean-local-check diff --git a/tests/defs.in b/tests/defs.in index f24d2ad..a938675 100644 --- a/tests/defs.in +++ b/tests/defs.in @@ -443,47 +443,8 @@ unset VERBOSE echo "=== Running test $0" # We might need extra macros, e.g., from Libtool or Gettext. -# Find them on the system. -# Use `-I $srcdir/../m4' in addition to `--acdir=$srcdir/../m4', because the -# other `-I' directories added for libtool and gettext might contain -# files from an old version of Automake that we don't want to use. -# Use `-Wno-syntax' because we do not want our test suite to fail because -# some third-party .m4 file is underquoted. -case $required in - *libtool* | *gettext* ) - aclocaldir='@prefix@/share/aclocal' - extra_includes="" - if test -f $aclocaldir/dirlist; then - extra_includes=` - <$aclocaldir/dirlist \ - sed 's/#.*//;s/[ ][ ]*$//g' \ - | while read dir; do test ! -d "$dir" || echo "-I $dir"; done` - else :; fi - - libtool_found=no - gettext_found=no - for d in $extra_includes $aclocaldir ; do - test "x$d" != x-I || continue - if test -f "$d/libtool.m4"; then - libtool_found=yes - fi - if test -f "$d/gettext.m4"; then - gettext_found=yes - fi - done - case $required in - *libtool* ) test $libtool_found = yes || Exit 77 ;; - *gettext* ) test $gettext_found = yes || Exit 77 ;; - esac - # Libtool cannot cope with spaces in the build tree. Our testsuite setup - # cannot cope with spaces in the source tree name for Libtool and gettext - # tests. - case $srcdir,`pwd` in - *\ * | *\ *) Exit 77 ;; - esac - ACLOCAL="$ACLOCAL -Wno-syntax -I $srcdir/../m4 $extra_includes -I $aclocaldir" - ;; -esac +case " $required " in *\ libtool*) . ../libtool-macros.dir/get.sh;; esac +case " $required " in *\ gettext*) . ../gettext-macros.dir/get.sh;; esac testaclocaldir='@abs_top_srcdir@/m4' diff --git a/tests/gettext-macros.test b/tests/gettext-macros.test new file mode 100755 index 0000000..7fe1274 --- /dev/null +++ b/tests/gettext-macros.test @@ -0,0 +1,80 @@ +#! /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 . + +# Try to find the gettext `.m4' files and make them easily accessed +# to the test cases requiring them. +# See also automake bug#9807. + +. ./defs || Exit 1 + +echo "# Automatically generated by $me." > get.sh +echo : >> get.sh + +# The `gettextize' and `autopoint' scripts will look into Makefile.am. +echo ACLOCAL_AMFLAGS = -I m4 > Makefile.am + +# Required by autopoint. +echo 'AM_GNU_GETTEXT' > configure.in +# Likewise; and older version specified here *won't* work! +echo 'AM_GNU_GETTEXT_VERSION([0.10.35])' >> configure.in + +# Prefer autopoint to gettextize, since the more modern versions of the +# latter might unconditionally require user interaction to complete; +# yes, this means confirmation from /dev/tty (!) -- see: +# +# Since this "forced interaction" behaviour of gettextize wasn't present +# before the introduction of autopoint, we should be able to safely +# fall back to calling gettextize non-interactively if autopoint is not +# present. +if autopoint --version; then + am_gettextize_command=autopoint +else + am_gettextize_command=gettextize +fi + +if $am_gettextize_command --force && test -f m4/gettext.m4; then + unindent >> get.sh <> get.sh + fi +fi + +. ./get.sh + +$ACLOCAL --force -I m4 || cat >> get.sh <<'END' +# We need to use `-Wno-syntax', since we do not want our test suite +# to fail merely because some third-party `.m4' file is underquoted. +ACLOCAL="$ACLOCAL -Wno-syntax" +END + +# The file gettextize or autopoint might have copied in the `m4' +# subdirectory of the test directory are going to be needed by +# other tests, so we must not remove the test directory. +keep_testdirs=yes + +: diff --git a/tests/libtool-macros.test b/tests/libtool-macros.test new file mode 100755 index 0000000..31e5019 --- /dev/null +++ b/tests/libtool-macros.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 . + +# Try to find the libtool `.m4' files and make them easily accessed +# to the test cases requiring them. +# See also automake bug#9807. + +. ./defs || Exit 1 + +echo "# Automatically generated by $me." > get.sh +echo : >> get.sh + +# The `libtoolize' script will look into Makefile.am. +echo ACLOCAL_AMFLAGS = -I m4 > Makefile.am + +if libtoolize --copy --install && test -f m4/libtool.m4; then + unindent >> get.sh <> configure.in + # See below for an explanation about the use the of `-Wno-syntax'. + if $ACLOCAL -Wno-syntax -I m4 --install && test -f m4/libtool.m4; then + : # Libtool macros already accessible by default. + else + echo "skip_ \"couldn't find or get libtool macros\"" >> get.sh + fi +fi + +. ./get.sh + +$ACLOCAL --force -I m4 || cat >> get.sh <<'END' +# We need to use `-Wno-syntax', since we do not want our test suite +# to fail merely because some third-party `.m4' file is underquoted. +ACLOCAL="$ACLOCAL -Wno-syntax" +END + +# The file libtoolize might have just copied in the `m4' subdirectory of +# the test directory are going to be needed by other tests, so we must +# not remove the test directory. +keep_testdirs=yes + +: -- 1.7.2.3 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 07:09:17 2011 Received: (at control) by debbugs.gnu.org; 22 Dec 2011 12:09:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdhSW-0005NW-5b for submit@debbugs.gnu.org; Thu, 22 Dec 2011 07:09:17 -0500 Received: from mail-we0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdhST-0005NO-6z for control@debbugs.gnu.org; Thu, 22 Dec 2011 07:09:13 -0500 Received: by werb14 with SMTP id b14so3439123wer.3 for ; Thu, 22 Dec 2011 04:07:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=5QrBFYTHvxI8JzI4w7qzluviWxBNPPPeqcpOWZsOzt0=; b=a4w+VUriQBZvGjKISQdP2Qi64OJXOg+Ku25vJQ71pEKBcU0kk6axZz00YrGZwmM4MS acoMTr4Re/9wvbafcFcYXMNseISCFWqhbJpdijPxpIyMsRJBUjM+yNeGYE4nLgw63ABY BQRw6huztpJJgiGNeue/Fx2inX15mGFMw0eko= Received: by 10.216.131.76 with SMTP id l54mr5749451wei.34.1324555623152; Thu, 22 Dec 2011 04:07:03 -0800 (PST) Received: from [82.60.36.27] (host27-36-dynamic.60-82-r.retail.telecomitalia.it. [82.60.36.27]) by mx.google.com with ESMTPS id fw16sm9462457wbb.13.2011.12.22.04.07.00 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 04:07:00 -0800 (PST) Message-ID: <4EF31D62.9060407@gmail.com> Date: Thu, 22 Dec 2011 13:06:58 +0100 From: Stefano Lattarini User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: control@debbugs.gnu.org Subject: foo X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 9807 + patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 22 12:50:19 2011 Received: (at 9807-done) by debbugs.gnu.org; 22 Dec 2011 17:50:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdmmY-00079p-FM for submit@debbugs.gnu.org; Thu, 22 Dec 2011 12:50:18 -0500 Received: from mail-wi0-f172.google.com ([209.85.212.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdmmS-00079d-Hc for 9807-done@debbugs.gnu.org; Thu, 22 Dec 2011 12:50:14 -0500 Received: by wibhj6 with SMTP id hj6so2833731wib.3 for <9807-done@debbugs.gnu.org>; Thu, 22 Dec 2011 09:48:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=wXvmgpAFT9M8pIU9ClBdt7IqXRtPNtRxPmKFJg67NnA=; b=PsMZ3TDbwXTIxsu5Jl/kIkaS7r80HFCB9bEAnUeC4BCnLHgTLbWZvKFBlIM6S1wjVD MalZjK3HZDFG3MBVdp/0l+De8vji6F5px4TJqm20zkZ/c7bGqnVCNNegeTVX5K5rxWLL D3PEj20yYPYj8ZwHd1l0ysglFopuir72m1BTY= Received: by 10.181.12.43 with SMTP id en11mr25546360wid.6.1324576081044; Thu, 22 Dec 2011 09:48:01 -0800 (PST) Received: from [82.60.36.27] (host27-36-dynamic.60-82-r.retail.telecomitalia.it. [82.60.36.27]) by mx.google.com with ESMTPS id 1sm24362215wiz.11.2011.12.22.09.48.00 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 09:48:00 -0800 (PST) Message-ID: <4EF36D4C.6000405@gmail.com> Date: Thu, 22 Dec 2011 18:47:56 +0100 From: Stefano Lattarini User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: automake-patches@gnu.org Subject: Re: bug#9807: [PATCH] {maint} tests: better handling of gettext and libtool requirements References: <4EA0174D.2060304@lysator.liu.se> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9807-done Cc: 9807-done@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: -3.9 (---) On 12/14/2011 02:06 PM, Stefano Lattarini wrote: > This change fixes automake bug#9807. > I've squashed in the fixlet below, tested the patch on NetBSD 5.1 for good measure (the libtool tests that were by default being skipped there started to run and pass, yay!), and pushed to maint. I'm thus closing this bug report. Thanks, Stefano -*-*-*- diff --git a/ChangeLog b/ChangeLog index 4d951a0..77afab4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -68,6 +68,7 @@ * tests/Makefile.am: Declare dependency of all the logs of libtool tests from `libtool-macros.log', and all the logs of gettext tests from `gettext-macros.log'. + (TESTS): Add the new tests. 2011-12-22 Stefano Lattarini diff --git a/tests/Makefile.am b/tests/Makefile.am index 266db46..b2a61ec 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -924,6 +924,8 @@ yaccvpath.test \ yacc-dist-nobuild-subdir.test \ yflags.test \ yflags2.test \ +libtool-macros.test \ +gettext-macros.test \ $(parallel_tests) # FIXME: make these automatically computed once we are merged into From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 24 04:43:26 2011 Received: (at 9807) by debbugs.gnu.org; 24 Dec 2011 09:43:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReO8T-0003p5-9m for submit@debbugs.gnu.org; Sat, 24 Dec 2011 04:43:25 -0500 Received: from mail-ee0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ReO8R-0003oy-4K for 9807@debbugs.gnu.org; Sat, 24 Dec 2011 04:43:24 -0500 Received: by eekc14 with SMTP id c14so9884578eek.3 for <9807@debbugs.gnu.org>; Sat, 24 Dec 2011 01:41:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=u7J7q0rbWEpVPIvxs5ObSV61XAzeavGBobrVqEzfoLM=; b=uuWnpv2gE7cU4eo/HqPKNXEYHPnIMXT+rufFfWu+tGxEQerRVvYX4aLIwSKtvbEF2U woZioR5n6E6HuzxGJ8Qt+r1j0UH9OgkZ8tx3zWHlmAukdxDwVCQMoA9MgMASrnGoEk/g Uk+Y1QAEZi1r/c7sbTGxNDQRTKgQbbNVi044Y= Received: by 10.14.123.20 with SMTP id u20mr7220692eeh.101.1324719662078; Sat, 24 Dec 2011 01:41:02 -0800 (PST) Received: from [87.21.62.52] (host52-62-dynamic.21-87-r.retail.telecomitalia.it. [87.21.62.52]) by mx.google.com with ESMTPS id u53sm12498619eeu.6.2011.12.24.01.41.01 (version=SSLv3 cipher=OTHER); Sat, 24 Dec 2011 01:41:01 -0800 (PST) Message-ID: <4EF59E2B.8070700@gmail.com> Date: Sat, 24 Dec 2011 10:40:59 +0100 From: Stefano Lattarini User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: 9807@debbugs.gnu.org Subject: Re: bug#9807: [PATCH] {maint} tests: better handling of gettext and libtool requirements References: <4EA0174D.2060304@lysator.liu.se> <4EF36D4C.6000405@gmail.com> In-Reply-To: <4EF36D4C.6000405@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: 9807 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 (---) On 12/22/2011 06:47 PM, Stefano Lattarini wrote: > On 12/14/2011 02:06 PM, Stefano Lattarini wrote: >> This change fixes automake bug#9807. >> > I've squashed in the fixlet below, tested the patch on NetBSD 5.1 for good > measure (the libtool tests that were by default being skipped there started > to run and pass, yay!), and pushed to maint. > > I'm thus closing this bug report. > > Thanks, > Stefano > The applied patch wasn't 100% correct unfortunately, and was causing some gettext tests to be skipped without a good reason. I've fixed that problem with the follow-up commits `v1.11-582-g763f3ec' and `v1.11-583-ge1fad75': Regards, Stefano From unknown Mon Jun 16 23:35: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: Sat, 21 Jan 2012 12:24:03 +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