Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deoQs-00012D-4O for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 20:15:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1deoQr-00041A-LZ for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 20:15:21 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1deoQq-0003yK-Qk for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 20:15:20 +0000 Received: from mail-qt0-x22d.google.com ([2607:f8b0:400d:c0d::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1deoQj-0003bN-GK for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 20:15:19 +0000 Received: by mail-qt0-x22d.google.com with SMTP id v29so9117062qtv.3 for ; Mon, 07 Aug 2017 13:15:13 -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=eaxX8ovunkDv5ZczIUwpmAdvnasPW0dMStGT53cLfKs=; b=ssSYZnlp9SHx/x0AaEU+OeGjW2FfHHs3CYHwN09evbgLTDoiXHcLqfJ1IuXqsaFsLB nA36TYVIVBMijnjfmdHbsmJ3ZYhbb6HFSQNa9UgR61GV7m6jkqiOR8vEIX93lxMQjBpF CDhR/XffNpJ+Kr8X91hq6F6CRiOVquw39mxL3RSHNHUSD5KYPwUlIG6IQEdcSUhQQuDy SSnwxdTl+W4RGAjje6ZqxUmGxQfIsc0V4/0ENqwcL+3iwOS9IBpBLRX98BQU0d2EFuHN qezy3tJJl7LDI5Cwj7JxcRkAmzZ6JgzPzQRf22MCsCzfLAP8kFgMRWZPnWlEEHQSHU6T diMg== 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=eaxX8ovunkDv5ZczIUwpmAdvnasPW0dMStGT53cLfKs=; b=p+U63RFOYwAaTocqntfcYk2e4YEaTtZwgTh/8vZGgbaCJHn7iu5c2DanKG36jmzqic 0b7yDLcP7xV5cHWcPYQWceEc1wAfKFf+zjL+BE1B/j1n/v5VbG7KpZl3LqG5VNnF+bl7 8sEHYTmENKbmcmGnWObfqglexX9lCitA5FEC3YGDERmbpi+iPSg5OdWJOZLCGBc6gdk7 G6QxCm2jM0BqbfUNk60is+k16TaXenwx8pmbrqqZJFGJjwzWupYUt4ZL9XrobPB0EoH9 sjghhvWDaF5nOTWRdxzbQNoznfJDLogcII4QWWo7dK7agn6Y4u/nvqw67RJlBAKV0jeh qFcw== X-Gm-Message-State: AHYfb5i4EZtG2Z/koPjMqCpCKxzeqTzr4bEaqqMH3ljuuU5Xl2S9xn3e lNi4r7n85j+x/Y3TYM6bHg== X-Received: by 10.237.36.107 with SMTP id s40mr2698300qtc.137.1502136912249; Mon, 07 Aug 2017 13:15:12 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id k97sm6031382qkh.29.2017.08.07.13.15.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 13:15:11 -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> <2a8e30d4-d584-1d74-6efa-100112062333@2ndQuadrant.com> <11702.1502136420@sss.pgh.pa.us> Message-ID: <51fca142-5ead-7f57-1798-2e02972b27c1@2ndQuadrant.com> Date: Mon, 7 Aug 2017 16:15:11 -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: <11702.1502136420@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 04:07 PM, Tom Lane wrote: > Andrew Dunstan writes: >> On 08/07/2017 03:36 PM, Tom Lane wrote: >>> 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. > Sorry, I was imprecise. What I'm suggesting is that you drop the > runtime PATH-foolery and instead put this in configure's environment: > > PROVE=$perlpathdir/prove > > Otherwise you're basically lying to configure about what you're going > to use, and that's always going to break eventually. Hmm, you're saying this should work now? OK, I'll try it when I get a minute to spare. > >> 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. > Hm, yeah, the IPC::Run test would need to deal with this as well. > A PROVE_PERL environment variable is one way. Or maybe simpler, > just skip the probe for IPC::Run if PROVE has been specified > externally; assume the user knows what he's doing in that case. WFM > Are there any other gotchas in the build sequence? > Not that I can think of. > Do we have/need any explicit references to the test version of "perl", > or is "prove" a sufficient API? > > Probably sufficient. 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