Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mob3d-0005hW-3A for pgsql-committers@arkaria.postgresql.org; Sun, 21 Nov 2021 00:50:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mob3c-0000A5-0e for pgsql-committers@arkaria.postgresql.org; Sun, 21 Nov 2021 00:50:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mob3b-00009d-Ps for pgsql-committers@lists.postgresql.org; Sun, 21 Nov 2021 00:50:11 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mob3V-0000Mk-Im for pgsql-committers@lists.postgresql.org; Sun, 21 Nov 2021 00:50:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1AL0o25K3371086; Sat, 20 Nov 2021 19:50:02 -0500 From: Tom Lane To: Noah Misch cc: Andrew Dunstan , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Require version 0.98 of Test::More for TAP tests In-reply-to: <20211121003630.GA1362012@rfd.leadboat.com> References: <3369543.1637454364@sss.pgh.pa.us> <3369927.1637454743@sss.pgh.pa.us> <20211121003630.GA1362012@rfd.leadboat.com> Comments: In-reply-to Noah Misch message dated "Sat, 20 Nov 2021 16:36:30 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3371084.1637455802.1@sss.pgh.pa.us> Date: Sat, 20 Nov 2021 19:50:02 -0500 Message-ID: <3371085.1637455802@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Noah Misch writes: > Yep. wrasse sets PERL to a manually-installed Perl, but PROVE still uses an > old Perl. I'll fix that somehow. A quick workaround is to set PROVE in the animal's config_env, but I don't think that's ideal, because configure then skips module presence tests: # Check for necessary modules, unless user has specified the "prove" to use; # in that case it's her responsibility to have a working configuration. # (prove might be part of a different Perl installation than perl, eg on # MSys, so the result of AX_PROG_PERL_MODULES could be irrelevant anyway.) What I'm inclined to do is temporarily push `dirname $PERL` onto the front of PATH while running PGAC_PATH_PROGS(PROVE, prove) regards, tom lane