Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id C88C81337B67 for ; Wed, 13 Apr 2011 14:21:00 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 39545-10 for ; Wed, 13 Apr 2011 17:20:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id D27BC1337B68 for ; Wed, 13 Apr 2011 14:20:52 -0300 (ADT) 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 p3DHKpe4008223; Wed, 13 Apr 2011 13:20:51 -0400 (EDT) To: Tim Wallace cc: pgsql-bugs@postgresql.org Subject: Re: Make fails if env var U set In-reply-to: <4DA5B28D.8090009@ll.mit.edu> References: <4DA5B28D.8090009@ll.mit.edu> Comments: In-reply-to Tim Wallace message dated "Wed, 13 Apr 2011 10:26:21 -0400" Date: Wed, 13 Apr 2011 13:20:51 -0400 Message-ID: <8222.1302715251@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/77 X-Sequence-Number: 29996 Tim Wallace writes: > Version: 9.0.3 > after successful configure, make fails if you have the env var "U" set. > It fails almost immediately in the src/port directory with a > nonsensical error message involving the contents of the "U" var. Unset > U and everything built fine. So far as I can find, there is no reference to a symbol "U" in any of our makefiles. However, there is this bit in the configure script: ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs I have no idea what that's trying to do, but maybe it gets confused if U has an existing definition. Suggest you file a bug against autoconf. regards, tom lane