From unknown Sat Jun 14 04:59:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8493: autoconf fails if env var U set Resent-From: Eric Blake Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 13 Apr 2011 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8493 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Tim Wallace Cc: tgl@sss.pgh.pa.us, 8493@debbugs.gnu.org, bug-autoconf@gnu.org X-Debbugs-Original-Cc: tgl@sss.pgh.pa.us, bug-automake@gnu.org, bug-autoconf@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.130271673717681 (code B ref -1); Wed, 13 Apr 2011 17:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2011 17:45:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA48H-0004b7-35 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA47w-0004aZ-F4 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA47p-0004Zr-TY for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47p-0004Zl-Ro for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47o-00024p-Uc for bug-automake@gnu.org; Wed, 13 Apr 2011 13:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA47n-0004Z0-UM for bug-automake@gnu.org; Wed, 13 Apr 2011 13:45:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47l-0004YE-98; Wed, 13 Apr 2011 13:45:05 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3DHj3XR014488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Apr 2011 13:45:03 -0400 Received: from [10.3.113.17] ([10.3.113.17]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3DHj1R4001015; Wed, 13 Apr 2011 13:45:02 -0400 Message-ID: <4DA5E11D.2010909@redhat.com> Date: Wed, 13 Apr 2011 11:45:01 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110318 Red Hat/3.1.9-3.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.9 MIME-Version: 1.0 References: <4DA5DDD6.8040407@ll.mit.edu> In-Reply-To: <4DA5DDD6.8040407@ll.mit.edu> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3715CC3894F9901E6340ED46" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 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: 140.186.70.17 X-Spam-Score: -7.9 (-------) 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: -7.9 (-------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3715CC3894F9901E6340ED46 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/13/2011 11:31 AM, Tim Wallace wrote: > This is a bug discovered when trying to build postgresql 9.0.3 on Redha= t > Enterprise Linux 5. If env var U is set, it fails, as pointed out by > the Postgres maintainer. I guess it's autoconf 2.59, and I'm guessing > you're past that now, so possibly it has already been fixed. Baffling > bug, though. It stems from the old days of ansi2knr, where automake would set $U when translating source files into knr versions; but is relatively unused these days. > for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue > # 1. Remove the extension, and $U if already installed. > ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' > ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` > # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR > # will be set to the directory where LIBOBJS objects are built. > ac_libobjs=3D"$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" > ac_ltlibobjs=3D"$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' The issue still exists in autoconf 2.68 (and autoconf.git); but the rules are not using $U in the configure script (read those lines closely, and you'll note that what is really happening is that they are generating a literal '$U' for inclusion in the AC_SUBST of LIBOBJS and LTLIBOBJS). So the real problem may be that automake is not prepared for the case when $U is defined at make time, rather than on autoconf for passing literal $U into the makefile in the first place during AC_LIBOBJ. Or maybe we do need to consider patching lib/autoconf/general.m4 to make _AC_LIBOBJS_NORMALIZE only output $U into the makefile conditional on whether ansi2knr is in use, rather than its current usage of doing it for every package that used AC_LIBOBJ. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig3715CC3894F9901E6340ED46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNpeEdAAoJEKeha0olJ0Nq8TEH/jCHyDRsaj4CUysKuIet0D5+ zdGig5JSQxtOCL8ZZGySqs7meb5B/LKG6kFvFmQFQQG/wyZpkFI0Vf9WLBOC6n/V v0AUadl/bF+W4emnGBxEu8BSyGF3B04kLmmE7pWkS83GMR0rbFzu6UvtyJ23P+Y4 H2AFZsfGEY2G9qA+fGSI9jH1XtwLNzo8I7UboCPvVdSoANu0DWRs3NLP7QsW89n2 gz9RzRDX5iOvfmsPuVpEOIDOZW26CRnAPmvy4u3Hmccalf/XL+XMKVKmHwPFmgVu 53hQNoa8KJUMqOnW/BguUrXC0JcXMwuLahrVqxZQy5V+mbKVI/19PvtBQEFy3Zg= =Vwiz -----END PGP SIGNATURE----- --------------enig3715CC3894F9901E6340ED46-- From unknown Sat Jun 14 04:59:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8493: autoconf fails if env var U set Resent-From: Tom Lane Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 13 Apr 2011 18:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8493 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Eric Blake Cc: bug-automake@gnu.org, Tim Wallace , bug-autoconf@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.130271820919899 (code B ref -1); Wed, 13 Apr 2011 18:11:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2011 18:10:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA4Vw-0005Aq-LT for submit@debbugs.gnu.org; Wed, 13 Apr 2011 14:10:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA4Ox-000505-Vm for submit@debbugs.gnu.org; Wed, 13 Apr 2011 14:02:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA4Or-0008OD-UM for submit@debbugs.gnu.org; Wed, 13 Apr 2011 14:02:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:58918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA4Or-0008O9-Sm for submit@debbugs.gnu.org; Wed, 13 Apr 2011 14:02:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA4Or-0003lu-3P for bug-automake@gnu.org; Wed, 13 Apr 2011 14:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA4Oq-0008No-5B for bug-automake@gnu.org; Wed, 13 Apr 2011 14:02:45 -0400 Received: from sss.pgh.pa.us ([66.207.139.130]:1443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA4Op-0008Md-VJ; Wed, 13 Apr 2011 14:02:44 -0400 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3DI2a1Q009212; Wed, 13 Apr 2011 14:02:36 -0400 (EDT) In-reply-to: <4DA5E11D.2010909@redhat.com> References: <4DA5DDD6.8040407@ll.mit.edu> <4DA5E11D.2010909@redhat.com> Comments: In-reply-to Eric Blake message dated "Wed, 13 Apr 2011 11:45:01 -0600" Date: Wed, 13 Apr 2011 14:02:36 -0400 Message-ID: <9211.1302717756@sss.pgh.pa.us> From: Tom Lane X-detected-operating-system: by eggs.gnu.org: HP-UX B.10.20 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.9 (-----) X-Mailman-Approved-At: Wed, 13 Apr 2011 14:10:03 -0400 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.9 (-----) Eric Blake writes: > On 04/13/2011 11:31 AM, Tim Wallace wrote: >> This is a bug discovered when trying to build postgresql 9.0.3 on Redhat >> Enterprise Linux 5. If env var U is set, it fails, as pointed out by >> the Postgres maintainer. > The issue still exists in autoconf 2.68 (and autoconf.git); but the > rules are not using $U in the configure script (read those lines > closely, and you'll note that what is really happening is that they are > generating a literal '$U' for inclusion in the AC_SUBST of LIBOBJS and > LTLIBOBJS). So the real problem may be that automake is not prepared > for the case when $U is defined at make time, rather than on autoconf > for passing literal $U into the makefile in the first place during > AC_LIBOBJ. It may be relevant here that Postgres doesn't use automake, just bare autoconf. So the appearance of $U in the emitted value of LIBOBJS seems completely useless for us. It would be nice if there were a way to turn that off. If the intended use is only for ansi2knr, I'd even argue that it should be off by default ... how many people care about ansi2knr anymore? regards, tom lane From unknown Sat Jun 14 04:59:05 2025 X-Loop: help-debbugs@gnu.org Subject: bug#8493: autoconf fails if env var U set Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 13 Apr 2011 22:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8493 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Tom Lane Cc: bug-autoconf@gnu.org, Tim Wallace , bug-automake@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13027326969711 (code B ref -1); Wed, 13 Apr 2011 22:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2011 22:11:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA8Hg-0002Wa-Jx for submit@debbugs.gnu.org; Wed, 13 Apr 2011 18:11:36 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA8He-0002WG-Cr for submit@debbugs.gnu.org; Wed, 13 Apr 2011 18:11:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA8HY-0004MA-9h for submit@debbugs.gnu.org; Wed, 13 Apr 2011 18:11:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:41797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA8HY-0004LW-6j for submit@debbugs.gnu.org; Wed, 13 Apr 2011 18:11:28 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA8HX-0004WX-8W for bug-automake@gnu.org; Wed, 13 Apr 2011 18:11:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA8HW-0004DF-KO for bug-automake@gnu.org; Wed, 13 Apr 2011 18:11:27 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:59595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA8HV-0004Cn-1u; Wed, 13 Apr 2011 18:11:25 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id AFA7C39E80B1; Wed, 13 Apr 2011 15:11:23 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ns+jQfIuvdAm; Wed, 13 Apr 2011 15:11:23 -0700 (PDT) Received: from [131.179.64.200] (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 48EE239E8083; Wed, 13 Apr 2011 15:11:23 -0700 (PDT) Message-ID: <4DA61F8B.7040303@cs.ucla.edu> Date: Wed, 13 Apr 2011 15:11:23 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 References: <4DA5DDD6.8040407@ll.mit.edu> <4DA5E11D.2010909@redhat.com> <9211.1302717756@sss.pgh.pa.us> In-Reply-To: <9211.1302717756@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.9 (----) On 04/13/2011 11:02 AM, Tom Lane wrote: > If the intended use is only for ansi2knr, I'd even argue that it > should be off by default ... how many people care about ansi2knr > anymore? Nobody. It would be fine to remove the ansi2knr stuff from Autoconf. From unknown Sat Jun 14 04:59:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Eric Blake Subject: bug#8493: closed (Re: autoconf fails if env var U set) Message-ID: References: <201111011719.08737.stefano.lattarini@gmail.com> <4DA5E11D.2010909@redhat.com> X-Gnu-PR-Message: they-closed 8493 X-Gnu-PR-Package: automake Reply-To: 8493@debbugs.gnu.org Date: Tue, 01 Nov 2011 16:22:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1320164522-9746-1" This is a multi-part message in MIME format... ------------=_1320164522-9746-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #8493: autoconf fails if env var U set which was filed against the automake package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 8493@debbugs.gnu.org. --=20 8493: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8493 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1320164522-9746-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 8493-done) by debbugs.gnu.org; 1 Nov 2011 16:21:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLH5s-0002Wh-CS for submit@debbugs.gnu.org; Tue, 01 Nov 2011 12:21:44 -0400 Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RLH5p-0002Wa-SF for 8493-done@debbugs.gnu.org; Tue, 01 Nov 2011 12:21:43 -0400 Received: by eyg24 with SMTP id 24so6782784eyg.3 for <8493-done@debbugs.gnu.org>; Tue, 01 Nov 2011 09:19:22 -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=Hk1kF3bI1wr6l0t+ap183h3x6uPk+3uX8UwE0EDtfNQ=; b=HzuwGO9Y/CoAy7fVmNCB7paSxaDL3M+SUOEUolDZ8oUjzi1oMLRd/cF9Nl9c8p2UWe 2YBwnoNKKHpFkJetuXkUGZP2NvdWRxebXW8bwl1yQRfyjZhjIk4ZKcI6rHlcUOj11RhU 2vwvG9P3QB+wL+bwgwoCn6VP7LiF1J0B08MAs= Received: by 10.216.72.145 with SMTP id t17mr4787666wed.88.1320164362780; Tue, 01 Nov 2011 09:19:22 -0700 (PDT) Received: from bigio.localnet (host195-102-dynamic.2-87-r.retail.telecomitalia.it. [87.2.102.195]) by mx.google.com with ESMTPS id fy13sm39175284wbb.18.2011.11.01.09.19.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Nov 2011 09:19:21 -0700 (PDT) From: Stefano Lattarini To: bug-autoconf@gnu.org Subject: Re: autoconf fails if env var U set Date: Tue, 1 Nov 2011 17:19:08 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.30-2-686; KDE/4.6.5; i686; ; ) References: <4DA5DDD6.8040407@ll.mit.edu> <9211.1302717756@sss.pgh.pa.us> <4DA61F8B.7040303@cs.ucla.edu> In-Reply-To: <4DA61F8B.7040303@cs.ucla.edu> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111011719.08737.stefano.lattarini@gmail.com> X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 8493-done Cc: Tom Lane , Tim Wallace , Paul Eggert , 8493-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: -4.0 (----) [Me going through oldish backlogs ...] On Thursday 14 April 2011, Paul Eggert wrote: > On 04/13/2011 11:02 AM, Tom Lane wrote: > > If the intended use is only for ansi2knr, I'd even argue that it > > should be off by default ... how many people care about ansi2knr > > anymore? > > Nobody. It would be fine to remove the ansi2knr stuff from Autoconf. > > I agree. For what is worth, support for the ansi2knr stuff has been deprecated in the automake `maint' branch, and removed altogether in the `master' branch, so I'm closing this bug report (for what concerns automake). Regards, Stefano ------------=_1320164522-9746-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Apr 2011 17:45:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA48H-0004b7-35 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:37 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QA47w-0004aZ-F4 for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA47p-0004Zr-TY for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:43534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47p-0004Zl-Ro for submit@debbugs.gnu.org; Wed, 13 Apr 2011 13:45:09 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49104) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47o-00024p-Uc for bug-automake@gnu.org; Wed, 13 Apr 2011 13:45:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QA47n-0004Z0-UM for bug-automake@gnu.org; Wed, 13 Apr 2011 13:45:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QA47l-0004YE-98; Wed, 13 Apr 2011 13:45:05 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3DHj3XR014488 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 13 Apr 2011 13:45:03 -0400 Received: from [10.3.113.17] ([10.3.113.17]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3DHj1R4001015; Wed, 13 Apr 2011 13:45:02 -0400 Message-ID: <4DA5E11D.2010909@redhat.com> Date: Wed, 13 Apr 2011 11:45:01 -0600 From: Eric Blake Organization: Red Hat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110318 Red Hat/3.1.9-3.el6_0 Mnenhy/0.8.3 Thunderbird/3.1.9 MIME-Version: 1.0 To: Tim Wallace Subject: Re: autoconf fails if env var U set References: <4DA5DDD6.8040407@ll.mit.edu> In-Reply-To: <4DA5DDD6.8040407@ll.mit.edu> X-Enigmail-Version: 1.1.2 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3715CC3894F9901E6340ED46" X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 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: 140.186.70.17 X-Spam-Score: -7.9 (-------) X-Debbugs-Envelope-To: submit Cc: tgl@sss.pgh.pa.us, bug-automake@gnu.org, bug-autoconf@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: -7.9 (-------) This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3715CC3894F9901E6340ED46 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/13/2011 11:31 AM, Tim Wallace wrote: > This is a bug discovered when trying to build postgresql 9.0.3 on Redha= t > Enterprise Linux 5. If env var U is set, it fails, as pointed out by > the Postgres maintainer. I guess it's autoconf 2.59, and I'm guessing > you're past that now, so possibly it has already been fixed. Baffling > bug, though. It stems from the old days of ansi2knr, where automake would set $U when translating source files into knr versions; but is relatively unused these days. > for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue > # 1. Remove the extension, and $U if already installed. > ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' > ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` > # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR > # will be set to the directory where LIBOBJS objects are built. > ac_libobjs=3D"$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" > ac_ltlibobjs=3D"$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' The issue still exists in autoconf 2.68 (and autoconf.git); but the rules are not using $U in the configure script (read those lines closely, and you'll note that what is really happening is that they are generating a literal '$U' for inclusion in the AC_SUBST of LIBOBJS and LTLIBOBJS). So the real problem may be that automake is not prepared for the case when $U is defined at make time, rather than on autoconf for passing literal $U into the makefile in the first place during AC_LIBOBJ. Or maybe we do need to consider patching lib/autoconf/general.m4 to make _AC_LIBOBJS_NORMALIZE only output $U into the makefile conditional on whether ansi2knr is in use, rather than its current usage of doing it for every package that used AC_LIBOBJ. --=20 Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig3715CC3894F9901E6340ED46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNpeEdAAoJEKeha0olJ0Nq8TEH/jCHyDRsaj4CUysKuIet0D5+ zdGig5JSQxtOCL8ZZGySqs7meb5B/LKG6kFvFmQFQQG/wyZpkFI0Vf9WLBOC6n/V v0AUadl/bF+W4emnGBxEu8BSyGF3B04kLmmE7pWkS83GMR0rbFzu6UvtyJ23P+Y4 H2AFZsfGEY2G9qA+fGSI9jH1XtwLNzo8I7UboCPvVdSoANu0DWRs3NLP7QsW89n2 gz9RzRDX5iOvfmsPuVpEOIDOZW26CRnAPmvy4u3Hmccalf/XL+XMKVKmHwPFmgVu 53hQNoa8KJUMqOnW/BguUrXC0JcXMwuLahrVqxZQy5V+mbKVI/19PvtBQEFy3Zg= =Vwiz -----END PGP SIGNATURE----- --------------enig3715CC3894F9901E6340ED46-- ------------=_1320164522-9746-1--