From unknown Tue Aug 19 01:59:04 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11401 <11401@debbugs.gnu.org> To: bug#11401 <11401@debbugs.gnu.org> Subject: Status: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR Reply-To: bug#11401 <11401@debbugs.gnu.org> Date: Tue, 19 Aug 2025 08:59:04 +0000 retitle 11401 automake-1.12 (incorrectly?) complains about missing AM_PROG_= AR reassign 11401 automake submitter 11401 Mike Frysinger severity 11401 minor tag 11401 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 01:27:01 2012 Received: (at submit) by debbugs.gnu.org; 4 May 2012 05:27:01 +0000 Received: from localhost ([127.0.0.1]:35527 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQB2i-00043c-Qx for submit@debbugs.gnu.org; Fri, 04 May 2012 01:27:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59845) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQB2f-00043O-T0 for submit@debbugs.gnu.org; Fri, 04 May 2012 01:26:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQB0v-0005vX-8E for submit@debbugs.gnu.org; Fri, 04 May 2012 01:25:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40871) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQB0v-0005v6-4y for submit@debbugs.gnu.org; Fri, 04 May 2012 01:25:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQB0t-00034W-D8 for bug-automake@gnu.org; Fri, 04 May 2012 01:25:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQB0r-0005r5-A2 for bug-automake@gnu.org; Fri, 04 May 2012 01:25:06 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:58779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQB0r-0005nU-31 for bug-automake@gnu.org; Fri, 04 May 2012 01:25:05 -0400 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id BDA851B4017 for ; Fri, 4 May 2012 05:25:02 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: bug-automake@gnu.org Subject: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR Date: Fri, 4 May 2012 01:25:57 -0400 User-Agent: KMail/1.13.7 (Linux/3.3.4; KDE/4.6.5; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart17831743.n1poNeYstJ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201205040125.58336.vapier@gentoo.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit 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: -6.1 (------) --nextPart17831743.n1poNeYstJ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit consider this simple code base: $ cat configure.ac AC_PREREQ([2.63]) AC_INIT([foo], [0]) AM_INIT_AUTOMAKE([1.11 -Wall foreign]) AC_PROG_CC LT_INIT AC_OUTPUT(Makefile) $ cat Makefile.am lib_LTLIBRARIES = libfoo.la libfoo_la_SOURCES = foo.c $ touch foo.c with automake-1.11.5, everything works great: $ autoreconf -f -i libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. however, upgrade to automake-1.12, and it starts spitting this: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libfoo.la': linking libtool libraries using a non-POSIX /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' Makefile.am:1: while processing Libtool library 'libfoo.la' what gives ? -mike --nextPart17831743.n1poNeYstJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPo2hmAAoJEEFjO5/oN/WBjpYQAKLMwZb6w6GkuR8cgKkq1m9O WSJf+OfUNPp/wq+3iiUqCzq9zLUMVsGthEpS5WSuXouR+Ov98Q6gvyE6vEv87eSh MDESs50Z8JX3TuAASylpzrOYDCf6qkoWOT2o4xwcvypPkqqXZWrbfgmRUkwA7z8e jXhbCWQcKfCf1uJ+ZicxXxe9RyWTihARoMKKEI7LvkQU5WXcCfi7AtMP7fR0zrGp GQhmYbJMlLEYPYetwoTmNujy+msGK+4s9zgDtRhcEUCwW0psSxcrrMyjkZkmZ4kQ U5ult1VI7UtiVMqkGk9YoKriPcvAMfZ3PGrGaiaInggXbx6qvesaq7bnvOe5D0Bl SQeN+TKP4JgnNRBltLPLQR2TH4JXUCDUO8PBgw2aB+mRMtIjOjzyQD3cy5H+5AbU +sIYkDE5XlVUbO4MEMBmmWQu6Vlw4ZlEkkJgT1Ws1rpULUcYEjIhU8LTkWyejI3I EhUtPJQDFNOGZT+Dsx80kpvPpKsswnNIEDduoRtxNqTk6FBNAXQgAIE5Xiip2tB+ nrhRS4fRjyPtjjHeTVKMZLuychAEh/6JFJSlD98l6HhmbbnUcM2jcQYrcvwMyRYy jMIFCnL/eZuBxYnr0yZ6pqBIWbO1VNnzPoM3NL8kzU+kkJckj8lqscGxDcL20or6 dRnTQVT75HF2Rs5AP8Ve =4vV5 -----END PGP SIGNATURE----- --nextPart17831743.n1poNeYstJ-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 03:21:43 2012 Received: (at 11401) by debbugs.gnu.org; 4 May 2012 07:21:44 +0000 Received: from localhost ([127.0.0.1]:35594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQCpj-0006fh-3E for submit@debbugs.gnu.org; Fri, 04 May 2012 03:21:43 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:50745) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQCpf-0006fS-2x for 11401@debbugs.gnu.org; Fri, 04 May 2012 03:21:41 -0400 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 4303B40031; Fri, 4 May 2012 09:19:54 +0200 (CEST) Received: from [192.168.0.64] (90-227-119-137-no95.business.telia.com [90.227.119.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id CD8DB40030; Fri, 4 May 2012 09:19:52 +0200 (CEST) Message-ID: <4FA3832A.9000808@lysator.liu.se> Date: Fri, 04 May 2012 09:20:10 +0200 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Mike Frysinger Subject: Re: bug#11401: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR References: <201205040125.58336.vapier@gentoo.org> In-Reply-To: <201205040125.58336.vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11401 Cc: 11401@debbugs.gnu.org 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: -1.9 (-) Hi Mike! On 2012-05-04 07:25, Mike Frysinger wrote: > consider this simple code base: > $ cat configure.ac > AC_PREREQ([2.63]) > AC_INIT([foo], [0]) > AM_INIT_AUTOMAKE([1.11 -Wall foreign]) > AC_PROG_CC > LT_INIT > AC_OUTPUT(Makefile) > > $ cat Makefile.am > lib_LTLIBRARIES = libfoo.la > libfoo_la_SOURCES = foo.c > > $ touch foo.c > > with automake-1.11.5, everything works great: > $ autoreconf -f -i > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > > however, upgrade to automake-1.12, and it starts spitting this: > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and > libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libfoo.la': linking libtool libraries using a non-POSIX > /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' > Makefile.am:1: while processing Libtool library 'libfoo.la' > > what gives ? If you don't want *all* warnings, don't ask for *all* warnings :-) It's in NEWS, from 1.12: - The warnings in the category 'extra-portability' are now enabled by '-Wall'. In previous versions, one has to use '-Wextra-portability' to enable them. which should be read in light of this from 1.11.2: - New macro AM_PROG_AR that looks for an archiver and wraps it in the new 'ar-lib' auxiliary script if the selected archiver is Microsoft lib. This new macro is required for LIBRARIES and LTLIBRARIES when automake is run with -Wextra-portability and -Werror. You can get rid of the warning with the following (but I have not actually tested with your example): AM_INIT_AUTOMAKE([1.11 -Wall -Wno-extra-portability foreign]) Cheers, Peter From debbugs-submit-bounces@debbugs.gnu.org Fri May 04 15:20:41 2012 Received: (at 11401) by debbugs.gnu.org; 4 May 2012 19:20:41 +0000 Received: from localhost ([127.0.0.1]:36365 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQO3V-0001Hu-DQ for submit@debbugs.gnu.org; Fri, 04 May 2012 15:20:41 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:58376 ident=user4708) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SQO3R-0001Hk-Ew for 11401@debbugs.gnu.org; Fri, 04 May 2012 15:20:39 -0400 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 4D2641B4046; Fri, 4 May 2012 19:18:50 +0000 (UTC) From: Mike Frysinger Organization: wh0rd.org To: Peter Rosin Subject: Re: bug#11401: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR Date: Fri, 4 May 2012 15:19:49 -0400 User-Agent: KMail/1.13.7 (Linux/3.3.4; KDE/4.6.5; x86_64; ; ) References: <201205040125.58336.vapier@gentoo.org> <4FA3832A.9000808@lysator.liu.se> In-Reply-To: <4FA3832A.9000808@lysator.liu.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1656414.6DTxzk0aB3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201205041519.50068.vapier@gentoo.org> X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 11401 Cc: 11401@debbugs.gnu.org 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: -6.9 (------) --nextPart1656414.6DTxzk0aB3 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Friday 04 May 2012 03:20:10 Peter Rosin wrote: > On 2012-05-04 07:25, Mike Frysinger wrote: > > consider this simple code base: > > $ cat configure.ac > > AC_PREREQ([2.63]) > > AC_INIT([foo], [0]) > > AM_INIT_AUTOMAKE([1.11 -Wall foreign]) > > AC_PROG_CC > > LT_INIT > > AC_OUTPUT(Makefile) > >=20 > > $ cat Makefile.am > > lib_LTLIBRARIES =3D libfoo.la > > libfoo_la_SOURCES =3D foo.c > >=20 > > $ touch foo.c > >=20 > > with automake-1.11.5, everything works great: > > $ autoreconf -f -i > > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac > > and > > libtoolize: rerunning libtoolize, to keep the correct libtool macros > > in-tree. > > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > >=20 > > however, upgrade to automake-1.12, and it starts spitting this: > > libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac > > and > > libtoolize: rerunning libtoolize, to keep the correct libtool macros > > in-tree. > > libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. > > /usr/share/automake-1.12/am/ltlibrary.am: warning: 'libfoo.la': linking > > libtool libraries using a non-POSIX > > /usr/share/automake-1.12/am/ltlibrary.am: archiver requires 'AM_PROG_AR' > > in 'configure.ac' > > Makefile.am:1: while processing Libtool library 'libfoo.la' > >=20 > > what gives ? >=20 > If you don't want *all* warnings, don't ask for *all* warnings :-) not my code base ;) > It's in NEWS, from 1.12: >=20 > - The warnings in the category 'extra-portability' are now enabled by > '-Wall'. In previous versions, one has to use '-Wextra-portability' > to enable them. ok, so the fact that it's warning via -Wall is new to 1.12, but the underly= ing=20 issue (warning at all) is not > which should be read in light of this from 1.11.2: >=20 > - New macro AM_PROG_AR that looks for an archiver and wraps it in the n= ew > 'ar-lib' auxiliary script if the selected archiver is Microsoft lib. > This new macro is required for LIBRARIES and LTLIBRARIES when automake > is run with -Wextra-portability and -Werror. imo, projects utilizing libtool shouldn't need to know this at all. the wh= ole=20 point is to hide these esoteric details behind a layer and focus on the bit= s=20 that projects actually care about -- what sources to put into libraries,=20 etc... so is the answer to update libtool to call AM_PROG_AR when it's=20 available ? =2Dmike --nextPart1656414.6DTxzk0aB3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJPpCvWAAoJEEFjO5/oN/WBip0P/2U6IT8xKRySWKFaqWmnKomz Hc4Y91Db4KISbUkbvmd09kBuQXV294pvCSD9JpDG8nU2qyMYHBdB8O4TjwAb35yu NYTuvZjs7HyYccB7lNkJPVNB2ybZ8q54l3XKIKlSVxVkav2y/ZI2auZlllCHfFeh X0PjqG5hRHb1a44wYX/pzao55sIvugvY0LQ0264LkA67qjW6kLjp0U0JyDZMZ3PZ MPBzhzvE/JRPVf1mL0FFAL5bkqD5C+mDsE9XSa7XQUiTf8mNCWco19OKhCynErBM Jd2vuODDbFA5p4wa72PAVcXY3YPEBQMUm7lw4c3juHic1bcEV2LcpqtIqSG8/6q0 to109Paj9lOW6Q29fbaKiFH8/BF+uK72nGNeo0jAGZWwxguzpKnA5RY5bRWyXSug 51GP5VGuI3iF96psv36K/aUm4MSg4DhfHwblX+pJdU0RjyDXk4Pq7iuN+w2pH1AK 72GZywlSFPpDRkkpPusp/1vNM22MwkSeZ+/gsguJ9+dDVUTnxgK4wLMknKrXvqqb YvbboDHtPeWjQUZyquT+xGhyzzwUlV+bRXVoYY5lEsXU+w2gmEKCyJlu+RSSwJHQ lVGymFsBRdE3/zvjqGoepSRQ68Oau6w6z3DFUeZ1fv9YsI9USZuJ6qq4UNgPLzBU Ssl3UcuzPHGGgGgG6E7N =2Pox -----END PGP SIGNATURE----- --nextPart1656414.6DTxzk0aB3-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 11 07:38:11 2012 Received: (at 11401) by debbugs.gnu.org; 11 May 2012 11:38:11 +0000 Received: from localhost ([127.0.0.1]:48289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSoAk-0004TL-RX for submit@debbugs.gnu.org; Fri, 11 May 2012 07:38:11 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:47245) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SSoAh-0004T3-VB for 11401@debbugs.gnu.org; Fri, 11 May 2012 07:38:09 -0400 Received: by bkty8 with SMTP id y8so2125662bkt.3 for <11401@debbugs.gnu.org>; Fri, 11 May 2012 04:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=0yTWG06XfMlCg/S6K1Sf359MQ/e63NwOHAkEZHbdZKc=; b=zp6C55vUkj3YgYzJqttFljVgiHAh3b/4GGEo4ENBPzFpq6BEUvHPoXAKpHOMNOdbwZ zIGU635wx4RnzCFh9tfH9GIFKH9DGSCEN6mxugwe6HR9Nn2nfocVYsNTIUggU+tyg+49 7334GSXWVrHRs/8LCg3OocvVIRJIYQb2wucqJdsMHUw42PwBwxiW4/kO4rYynho95urH 0HnY7Tw73ATusrGTZo+1bYlOLMSWtIWssPFJaEi4J6OLhguTUNayck5nnJrUPML4fQ/c Yxll52X8HnSZJ4r8CciOzcXpjAeC8xwMmtg8dAOElotaBMBJ8mb5hQWBiXW0EbiZoT+U y/+w== Received: by 10.204.9.216 with SMTP id m24mr4611662bkm.67.1336736277551; Fri, 11 May 2012 04:37:57 -0700 (PDT) Received: from [87.2.92.135] (host135-92-dynamic.2-87-r.retail.telecomitalia.it. [87.2.92.135]) by mx.google.com with ESMTPS id n19sm17962867bkv.14.2012.05.11.04.37.56 (version=SSLv3 cipher=OTHER); Fri, 11 May 2012 04:37:56 -0700 (PDT) Message-ID: <4FACFA13.6010905@gmail.com> Date: Fri, 11 May 2012 13:37:55 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: Mike Frysinger Subject: Re: bug#11401: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR References: <201205040125.58336.vapier@gentoo.org> <4FA3832A.9000808@lysator.liu.se> <201205041519.50068.vapier@gentoo.org> In-Reply-To: <201205041519.50068.vapier@gentoo.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11401 Cc: Peter Rosin , 11401@debbugs.gnu.org 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: -2.6 (--) On 05/04/2012 09:19 PM, Mike Frysinger wrote: > On Friday 04 May 2012 03:20:10 Peter Rosin wrote: >> On 2012-05-04 07:25, Mike Frysinger wrote: >>> >>> $ cat configure.ac >>> AC_PREREQ([2.63]) >>> AC_INIT([foo], [0]) >>> AM_INIT_AUTOMAKE([1.11 -Wall foreign]) >>> AC_PROG_CC >>> LT_INIT >>> AC_OUTPUT(Makefile) >>> >>> $ cat Makefile.am >>> lib_LTLIBRARIES = libfoo.la >>> libfoo_la_SOURCES = foo.c >>> >>> with automake-1.11.5, everything works great, but with automake 1.12: >>> >>> $ autoreconf -f -i >>>> ... >>> ltlibrary.am: warning: 'libfoo.la': linking libtool libraries using a non-POSIX >>> ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' >>> Makefile.am:1: while processing Libtool library 'libfoo.la' >>> >>> what gives ? >> >> If you don't want *all* warnings, don't ask for *all* warnings :-) > > not my code base ;) > >> It's in NEWS, from 1.12: >> >> - The warnings in the category 'extra-portability' are now enabled by >> '-Wall'. In previous versions, one has to use '-Wextra-portability' >> to enable them. > > ok, so the fact that it's warning via -Wall is new to 1.12, but the underlying > issue (warning at all) is not > Exactly. >> which should be read in light of this from 1.11.2: >> >> - New macro AM_PROG_AR that looks for an archiver and wraps it in the new >> 'ar-lib' auxiliary script if the selected archiver is Microsoft lib. >> This new macro is required for LIBRARIES and LTLIBRARIES when automake >> is run with -Wextra-portability and -Werror. > > imo, projects utilizing libtool shouldn't need to know this at all. the whole > point is to hide these esoteric details behind a layer and focus on the bits > that projects actually care about -- what sources to put into libraries, > etc... so is the answer to update libtool to call AM_PROG_AR when it's > available ? > It seems there might be consensus on this idea: If it will turn out that is actually the case, I will close this bug report (the discussion will likely continue on the bug-libtool list). For now, let's wait and see how things evolve. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 22 11:54:40 2012 Received: (at 11401) by debbugs.gnu.org; 22 Jul 2012 15:54:40 +0000 Received: from localhost ([127.0.0.1]:57798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsyUR-0003C5-WA for submit@debbugs.gnu.org; Sun, 22 Jul 2012 11:54:40 -0400 Received: from mail-bk0-f44.google.com ([209.85.214.44]:63211) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SsyUQ-0003Bv-0n; Sun, 22 Jul 2012 11:54:38 -0400 Received: by bkty7 with SMTP id y7so4014421bkt.3 for ; Sun, 22 Jul 2012 08:48:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:mime-version:to:subject:content-type :content-transfer-encoding; bh=/4U1hPMmh2xLNxfHXdo6KH+q0rQw5b3JXVVGWZ4qdaE=; b=o/sWxY2hZWWChV49+cByrvAe80g7o0jd3NyE217N1+YPUnJmByiCLrIXGpMMLY2Img timjofPSA2YME5au98qWw26Le6uTCTy3XX9PXjfMUA1+CaoBLHB5NzdN27oqvpuLDKZR 3pOzABetNGKWf0j9Vl+xCVP61FDT08c0lV/i0XaEg74V6SW6vdqiwJvHKsoOki6cBCCE MM8s2OjbkwdAS/RgT5S3ht+y2eRY5blu8COkTWMYpa/EbaW4zNdojjxa2qDLXULB/B31 uhCEdMfclic5FadJe6P3S2snKul1ZBh5Y9YyhLC+WMl7Y+lYnVXx5dLEMnuLE3hY4lyW 85DA== Received: by 10.204.133.196 with SMTP id g4mr6241304bkt.89.1342972088199; Sun, 22 Jul 2012 08:48:08 -0700 (PDT) Received: from [192.168.178.21] (host105-96-dynamic.4-87-r.retail.telecomitalia.it. [87.4.96.105]) by mx.google.com with ESMTPS id 14sm5249961bkq.12.2012.07.22.08.48.06 (version=SSLv3 cipher=OTHER); Sun, 22 Jul 2012 08:48:07 -0700 (PDT) Message-ID: <500C20B5.8020903@gmail.com> Date: Sun, 22 Jul 2012 17:48:05 +0200 From: Stefano Lattarini MIME-Version: 1.0 To: 11401@debbugs.gnu.org Subject: moreinfo Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 11401 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: -2.6 (--) severity 11401 minor tags 11401 + moreinfo thanks I'm tagging this bug with "more info required", because we're still waiting to see how things will evolve on the Libtool side. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 21 05:48:14 2012 Received: (at 11401) by debbugs.gnu.org; 21 Nov 2012 10:48:14 +0000 Received: from localhost ([127.0.0.1]:58164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tb7qn-0001tw-Jh for submit@debbugs.gnu.org; Wed, 21 Nov 2012 05:48:13 -0500 Received: from mail-la0-f44.google.com ([209.85.215.44]:64318) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tb7ql-0001tj-1l for 11401@debbugs.gnu.org; Wed, 21 Nov 2012 05:48:12 -0500 Received: by mail-la0-f44.google.com with SMTP id d3so5734884lah.3 for <11401@debbugs.gnu.org>; Wed, 21 Nov 2012 02:46:55 -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=qcQbTbKE1XQzne8ANJmfOCMV4/wGXKAejudsJA1bdpk=; b=khk9C2JriO/apDnByOXHuHyVkAmXAjkoQFliz4isQQYIEfFHrP2ZkJs4QCyhaclF6V ya971uGJwYOPUBeqr/AljKXI3g+EoAjM07hc3aKvpj7eqZFYzEIxaGhT+J2hPmGPtBvd mTMqJVRAxVSFTxrE0w5X2BuwHhMMKsOReIJGVVETSxkUuVTMEAwBQhnx0sCNaHOJ7GOY JdtCTs1IWImFndSfelGfT9XZYVG+Zw57SVfjkTcFP/QtP/alETGRGMASCbGm73cN4lQj oZKhYRZFZbsC7MrkevtQTAxnr9myP5daj/GICC3vP2PuXEczrUbdelNAYcUEPeSoc3Un fnHg== Received: by 10.152.110.42 with SMTP id hx10mr17432887lab.0.1353494815506; Wed, 21 Nov 2012 02:46:55 -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 p5sm62749lbh.2.2012.11.21.02.46.53 (version=SSLv3 cipher=OTHER); Wed, 21 Nov 2012 02:46:54 -0800 (PST) Message-ID: <50ACB11A.3080201@gmail.com> Date: Wed, 21 Nov 2012 11:46:50 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: Mike Frysinger Subject: Automake, Libtool and AM_PROG_AR (was: Re: bug#11401: automake-1.12 (incorrectly?) complains about missing AM_PROG_AR) References: <201205040125.58336.vapier@gentoo.org> <4FA3832A.9000808@lysator.liu.se> <201205041519.50068.vapier@gentoo.org> <4FACFA13.6010905@gmail.com> In-Reply-To: <4FACFA13.6010905@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 11401 Cc: Libtool List , Peter Rosin , 11401@debbugs.gnu.org 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 (/) References: On 05/11/2012 01:37 PM, Stefano Lattarini wrote: > On 05/04/2012 09:19 PM, Mike Frysinger wrote: >> On Friday 04 May 2012 03:20:10 Peter Rosin wrote: >>> On 2012-05-04 07:25, Mike Frysinger wrote: >>>> >>>> $ cat configure.ac >>>> AC_PREREQ([2.63]) >>>> AC_INIT([foo], [0]) >>>> AM_INIT_AUTOMAKE([1.11 -Wall foreign]) >>>> AC_PROG_CC >>>> LT_INIT >>>> AC_OUTPUT(Makefile) >>>> >>>> $ cat Makefile.am >>>> lib_LTLIBRARIES = libfoo.la >>>> libfoo_la_SOURCES = foo.c >>>> >>>> with automake-1.11.5, everything works great, but with automake 1.12: >>>> >>>> $ autoreconf -f -i >>>>> ... >>>> ltlibrary.am: warning: 'libfoo.la': linking libtool libraries using a non-POSIX >>>> ltlibrary.am: archiver requires 'AM_PROG_AR' in 'configure.ac' >>>> Makefile.am:1: while processing Libtool library 'libfoo.la' >>>> >>>> what gives ? >>> >>> If you don't want *all* warnings, don't ask for *all* warnings :-) >> >> not my code base ;) >> >>> It's in NEWS, from 1.12: >>> >>> - The warnings in the category 'extra-portability' are now enabled by >>> '-Wall'. In previous versions, one has to use '-Wextra-portability' >>> to enable them. >> >> ok, so the fact that it's warning via -Wall is new to 1.12, but the underlying >> issue (warning at all) is not >> > Exactly. > >>> which should be read in light of this from 1.11.2: >>> >>> - New macro AM_PROG_AR that looks for an archiver and wraps it in the new >>> 'ar-lib' auxiliary script if the selected archiver is Microsoft lib. >>> This new macro is required for LIBRARIES and LTLIBRARIES when automake >>> is run with -Wextra-portability and -Werror. >> >> imo, projects utilizing libtool shouldn't need to know this at all. the whole >> point is to hide these esoteric details behind a layer and focus on the bits >> that projects actually care about -- what sources to put into libraries, >> etc... so is the answer to update libtool to call AM_PROG_AR when it's >> available ? >> > It seems there might be consensus on this idea: > > > > If it will turn out that is actually the case, I will close this bug report > (the discussion will likely continue on the bug-libtool list). For now, let's > wait and see how things evolve. > Any news on this? Since it doesn't seem a big deal anyway, unless I hear something new in a few days, I'll go ahead and close the bug report, leaving the matter in the hands of the libtoolers. Regards, Stefano From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 26 07:39:49 2012 Received: (at 11401-done) by debbugs.gnu.org; 26 Nov 2012 12:39:49 +0000 Received: from localhost ([127.0.0.1]:39366 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcxyW-0001Xk-9P for submit@debbugs.gnu.org; Mon, 26 Nov 2012 07:39:49 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:57097) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TcxyU-0001Xc-G4 for 11401-done@debbugs.gnu.org; Mon, 26 Nov 2012 07:39:47 -0500 Received: by mail-lb0-f172.google.com with SMTP id y2so9473047lbk.3 for <11401-done@debbugs.gnu.org>; Mon, 26 Nov 2012 04:38:02 -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=vlOAIsCYy0XLJvBapZrSCpmwYw52/33CDaEl6bbzXsE=; b=U3MguqI2d9nYCPyeM/9UJ1vAGzr3fxqAPBKZaQLmaHidKfvUbM8Jkx4iVKmeqZpx3I /h5AYg9LIX62aVVO3Ecp1JA3Lcpc6R5vdKciYk1waVc42sc7Qxm7UQEFhkBXhyR7Y3cu S39jVuDQ/cypSb+1BKnJPPLjNyinccg7AYlFujynFlvU8xrAz2hQFh21SOwoUd5/viIr 3w7/CKNlb/kyMSJ0F+UmU0xLOgFVQmY60AoGA2mgV45UDvaHhTzYqsWSE14RSvMJzScj BHginM4iV1HjXk0g8Py0SmcUObgzvjLDOqPj7QJeikKo7b0rzFzB4xmcdhTx2d1h+Mcz S9Og== Received: by 10.112.8.67 with SMTP id p3mr1419116lba.103.1353933482738; Mon, 26 Nov 2012 04:38:02 -0800 (PST) Received: from [192.168.178.21] (host54-50-dynamic.58-82-r.retail.telecomitalia.it. [82.58.50.54]) by mx.google.com with ESMTPS id jc2sm5341147lab.16.2012.11.26.04.38.00 (version=SSLv3 cipher=OTHER); Mon, 26 Nov 2012 04:38:01 -0800 (PST) Message-ID: <50B362A6.3000903@gmail.com> Date: Mon, 26 Nov 2012 13:37:58 +0100 From: Stefano Lattarini MIME-Version: 1.0 To: Mike Frysinger Subject: Re: Automake, Libtool and AM_PROG_AR References: <201205040125.58336.vapier@gentoo.org> <4FA3832A.9000808@lysator.liu.se> <201205041519.50068.vapier@gentoo.org> <4FACFA13.6010905@gmail.com> <50ACB11A.3080201@gmail.com> In-Reply-To: <50ACB11A.3080201@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 11401-done Cc: Libtool List , Peter Rosin , 11401-done@debbugs.gnu.org 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/21/2012 11:46 AM, Stefano Lattarini wrote: > References: > > > > Any news on this? Since it doesn't seem a big deal anyway, unless I hear > something new in a few days, I'll go ahead and close the bug report, leaving > the matter in the hands of the libtoolers. > I've closed this report now. Regards, Stefano From unknown Tue Aug 19 01:59:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 25 Dec 2012 12:24:02 +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