Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deoAJ-0008NT-V4 for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 19:58:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1deoAJ-000159-1o for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 19:58:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deoAI-000140-4x for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 19:58:14 +0000 Received: from mail-qk0-x22a.google.com ([2607:f8b0:400d:c09::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1deoAA-0005t5-3J for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 19:58:13 +0000 Received: by mail-qk0-x22a.google.com with SMTP id d136so8790792qkg.3 for ; Mon, 07 Aug 2017 12:58:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=q2uEfPq48gmSDWeojRCjNQYOOl80/E9i3WsGOvf0QBk=; b=RyHijxkM7MUVj5K83zv2SgeH04OSqNuhu47kuu1fY0vF8YaP+Dlbcvdf3H8dKL2XVP wfn51voN/9w0ODa+xM4SVrUdGEZ0pftCvCl2AelexJII+VXINQ+IHVTzBPfGO+FEkDal Oq/4RmHRXmRiit0T4fGT18tb4WcSQHSIGIpvdugcYntvaX0Xlfnj4G3IBPYESD74hqTe +7ei8+a9jeRg8o4/TJ/eUTAugWrLjwoqNuK++hAPFVH57MLjty4T8gkn1ZjRTeRaJpxX bGvtvZu9QGAF/7Xb6mVtdZ4htfdwRhmQPrOXPkcp0rKERVLaYrGNJVJAAdXATz7tZh/X 2/Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=q2uEfPq48gmSDWeojRCjNQYOOl80/E9i3WsGOvf0QBk=; b=FROcrXKWfw/gVVdmXxKovtdi73PCN7Sqs9SBAE++yL4hkdZwWa50QdpSeQ3pKlkD/L zi1x7TkLFrwlZ+8PUTFUQ0I1kp9Cyb1MKZNyE98sViiwqtgqHJ1a5acwCJgEMc//mAz+ 8cBcb+1XxAE6GfQsCgoZUXaG0j59tkdUbq0oY7EJ97Q//LU+tJ16Y+3qsgG3NCsLACXX aKpNp3xHpHICcpTKu4UfDaNeUgMTnLaV9yU5XUjm2h90xpO159UjUNFHv89LjQt3zhcY yozIQLEt35jv39wcOs7p+1IjGw3Dyz4cx5ATdZs+ZHSiw1WpRX9A1pVysmSymrw17NO5 E7Aw== X-Gm-Message-State: AHYfb5iGKBDKWWKO19Tw7E83lc0LCTdas1MFhGytxHPL4+UPS37doiI2 Gw26UdSY48W8fX63 X-Received: by 10.55.80.70 with SMTP id e67mr2286711qkb.40.1502135884241; Mon, 07 Aug 2017 12:58:04 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id b201sm5802916qkg.5.2017.08.07.12.58.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 12:58:03 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pgsql: Record full paths of programs sought by "configure". To: Tom Lane Cc: pgsql-committers@postgresql.org, PostgreSQL-development References: <7295.1502133694@sss.pgh.pa.us> <90c39664-ec60-77dc-9f1b-21e8fa7b864c@2ndQuadrant.com> <10269.1502134598@sss.pgh.pa.us> Message-ID: <2a8e30d4-d584-1d74-6efa-100112062333@2ndQuadrant.com> Date: Mon, 7 Aug 2017 15:58:02 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <10269.1502134598@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 08/07/2017 03:36 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 08/07/2017 03:21 PM, Tom Lane wrote: >>> I'm confused. AFAIK, that commit did not change which "prove" would >>> be used --- at least not unless you change PATH between configure and >>> make. It only changed how specifically that program would be named in >>> Makefile.global. Please clarify how that broke anything. >> That's exactly what we do. See >> at >> line 1649. > My goodness, that's ugly. Is it really better than injecting > "PROVE=prove"? (I'd suggest saying that to configure, not make, > so that the configure log bears some resemblance to what you > want done.) > > This is what we had to do BEFORE the change in this commit. Now it's no longer sufficient. It would certainly be better if we could tell configure a path to prove and a path to the perl we need to test IPC::Run against. e.g. PROVE=/usr/bin/prove PROVE_PERL=/usr/bin/perl configure ... The problem in all this is that we're assuming incorrectly that the perl we use to build against is the same as the perl we need to run the build with. On Msys that's emphatically not true. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers