Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1demtB-0003h7-FI for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 18:36:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1demtA-0004CJ-QB for pgsql-committers@arkaria.postgresql.org; Mon, 07 Aug 2017 18:36:28 +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 1demt9-0004A1-Ui for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 18:36:27 +0000 Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1demt2-00042o-1f for pgsql-committers@postgresql.org; Mon, 07 Aug 2017 18:36:27 +0000 Received: by mail-qt0-x22a.google.com with SMTP id t37so7514624qtg.5 for ; Mon, 07 Aug 2017 11:36:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=CAW/JjKqa4dVZ1mgraHUNAGBuWWT2/2VUtbwf6kbiYI=; b=yuChWIxdf51x2muiQTD/HV0zkOK6gG9oLxV4kTPbwTortIHZG8u+0U57e0kHPUtO9X TPvcSa3Jb7AllnGAOkhCKWH6EUzCcd+25K88J+zZiuwcCC4z7CK5BHHij0yqIvBJDeua IUqbCkm9QLQwu/lIsbT5mYxmWF8pcQ7eavjWh66ucpC9jfi3GI+7zC92ylS/61+b7yve ZxvjsOqv/lv/GEC+C/qrvwMWv9YWat00jEuLl1xDkKkVbpPcGxHT8RgoBp3sciwq/kYy Z2EeUCffB73Vyb71VEY2XRLNQEcTIjehhk8Bz6J60z/joOIoYZvgKmsjViobLWOBDH7N 1tjA== 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:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=CAW/JjKqa4dVZ1mgraHUNAGBuWWT2/2VUtbwf6kbiYI=; b=ELC8Q5CVbWsVHCyclZwxnrsWRxwTSD4RUmhhKkJBlPrluUtSuJQUuYp7hUGO8YVxfE mSaJTho0zWqkdmnh3YAfFnzZwrBEQ1/Xi9idq8F+WQazcvsm9Q90n41c00IVa/ARw8oD yKhi46kQIb6QCYbtFwshAig4UVZXz5pABS45Wopg48/H/JF0UqBQ+GuuuZBYZXpJHOy1 Tj/ee+6tbFH21jUk1aXQLxFEVMYE1WF63rNhHAGl5D2mAkBlexAcRNRc/71CQ1jWYj8w ZNB0LaOBFMV6iGr3rUYCHm5b7PETKe2VrecHzTpW+zV208rjAaKTqGmD68Rnt5/vkDUw pOig== X-Gm-Message-State: AHYfb5gyZ/NrkF2geCJzOcMt2o/mdkJPl+fmY49gqzCjsLNDNdwKSSYH QQLidq9INlFCu/Zx X-Received: by 10.200.56.90 with SMTP id r26mr2049788qtb.174.1502130978030; Mon, 07 Aug 2017 11:36:18 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id s64sm5684835qke.90.2017.08.07.11.36.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Aug 2017 11:36:17 -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 , pgsql-committers@postgresql.org, PostgreSQL-development References: Message-ID: Date: Mon, 7 Aug 2017 14:36:17 -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: 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 07/31/2017 01:02 PM, Tom Lane wrote: > Record full paths of programs sought by "configure". > > Previously we had a mix of uses of AC_CHECK_PROG[S] and AC_PATH_PROG[S]. > The only difference between those macros is that the latter emits the > full path to the program it finds, eg "/usr/bin/prove", whereas the > former emits just "prove". Let's standardize on always emitting the > full path; this is better for documentation of the build, and it might > prevent some types of failures if later build steps are done with > a different PATH setting. > > I did not touch the AC_CHECK_PROG[S] calls in ax_pthread.m4 and > ax_prog_perl_modules.m4. There seems no need to make those diverge from > upstream, since we do not record the programs sought by the former, while > the latter's call to AC_CHECK_PROG(PERL,...) will never be reached. > > Discussion: https://postgr.es/m/25937.1501433410@sss.pgh.pa.us The problem with this commit, as jacana is demonstrating, is that on Msys it finds the wrong prove. configure needs to run against the perl we build against, i.e. a native Windows perl, but prove needs to run with the perl from the MSys DTK that understands MSys virtualized paths. I have a hack that will allow the buildfarm to overcome the difficulty, (essentially it passes 'PROVE=prove' to make) but that's fairly ugly and certainly non-intuitive for someone running an MSys build and TAP tests without the buildfarm client. 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