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 1mZiUY-0006xF-KI for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Oct 2021 23:44:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mZiTz-0006l3-UZ for pgsql-hackers@arkaria.postgresql.org; Sun, 10 Oct 2021 23:43:55 +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 1mZiTz-0006kv-AD for pgsql-hackers@lists.postgresql.org; Sun, 10 Oct 2021 23:43:55 +0000 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mZiTw-0004S3-RC for pgsql-hackers@lists.postgresql.org; Sun, 10 Oct 2021 23:43:53 +0000 Received: by mail-qv1-xf35.google.com with SMTP id u27so898599qve.0 for ; Sun, 10 Oct 2021 16:43:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=zAzXHx9lP4IX0Pl1n7vOp8ZjFG6Cyalf4r5rq5hm7Nc=; b=b+hs2oKhtwYypagUV7W0XmMheOlu2d9Ls4s9CAfxCgHYgIcLiuHMu5Or9d/LI/x8rN J7M9mrjo4dcINcFyAbQ4pxMjjACi7uv7XUndxR7kYTt/rYfZcA76Zs/nwovah9W5hXbS C29U8dFfvMavVGc8odCyRKeHlWSsJpqpHCnRQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=zAzXHx9lP4IX0Pl1n7vOp8ZjFG6Cyalf4r5rq5hm7Nc=; b=auFhgS2D5pCTHHzaoUx8Cm2V1PeAi4eJgeGPZR04Hk6H95J6+/jbChQ6jQh12f0moi me1S7yyeVsc6Xu4WNiGmzsgV8vICzS3OAUj7zvMu6a7DqKkc0xoVeJpP1IF7i9xpdo81 LPZA0mr0nzbD+7dORlW1DpcSBvzOQMQqstuhtqihIuEWlZa8TDU3b2GZ6fBEqxtL//1K ePfV7Giczb9J7RYu7bREuDr2oQpY2+NmPpuftQalp6cDchU09biLBpWceL9iWPNmPyHy EWn+NNIGvDPOqaO2JrwQBbsbP8N02zmVtUktC396Hp7/klIOhaQgfxXYXjA/XyPeHhSf PoaQ== X-Gm-Message-State: AOAM530rk4q8PR7A/38UO6MO6xPvNSMRyXBri2dTjVQAuKlPzBD5Ghth 7zzXvqAjFsW1sFfVf1gYo+tbTg== X-Google-Smtp-Source: ABdhPJy4Fihqgk7OS2jknNyi6KzwaTL/xUbdRi2Pd1qBc6KSuh7mI5+copGznTfFYeOWwmaRLpgYYQ== X-Received: by 2002:a05:6214:294:: with SMTP id l20mr19768234qvv.30.1633909431727; Sun, 10 Oct 2021 16:43:51 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::46]) by smtp.gmail.com with ESMTPSA id t64sm3464423qkd.71.2021.10.10.16.43.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Oct 2021 16:43:51 -0700 (PDT) Date: Sun, 10 Oct 2021 16:43:48 -0700 From: Noah Misch To: Tom Lane Cc: Daniel Gustafsson , Postgres hackers , Craig Ringer Subject: Re: pgsql: Adjust configure to insist on Perl version >= 5.8.3. Message-ID: <20211010234348.GA488869@rfd.leadboat.com> References: <234637.1633709021@sss.pgh.pa.us> <20211009192333.GA450252@rfd.leadboat.com> <245162.1633808657@sss.pgh.pa.us> <20211009195947.GB450252@rfd.leadboat.com> <247872.1633811686@sss.pgh.pa.us> <20211010022553.GB458218@rfd.leadboat.com> <313640.1633886230@sss.pgh.pa.us> <318519.1633891331@sss.pgh.pa.us> <20211010195513.GA88780@gust.leadboat.com> <323471.1633896638@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <323471.1633896638@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Oct 10, 2021 at 04:10:38PM -0400, Tom Lane wrote: > Noah Misch writes: > > On Sun, Oct 10, 2021 at 01:17:10PM -0400, Tom Lane wrote: > >> The closest I can get to what we want using cpanm is with this recipe: > >> cpanm install Test::Simple@0.87_01 > >> cpanm install IPC::Run@0.79 > >> cpanm install ExtUtils::MakeMaker@6.50 # downgrade > > > While the MakeMaker litter is annoying, I'm not too worried about it. The > > only other thing I'd consider is doing the MakeMaker 6.50 install before > > Test::Simple, not after. > > Tried that to begin with, doesn't work. There are at least two problems: > > 1. Before anything else, the first invocation of "cpanm install" wants > to pull in "install". That seems to be a dummy module, but it's not > without side-effects: it updates ExtUtils to current. If your first > request is "cpanm install ExtUtils::MakeMaker@6.50", the version > specification is effectively ignored. > > 2. I then tried doing a second "cpanm install ExtUtils::MakeMaker@6.50", > and that did successfully downgrade to 6.50 ... but then the request > to update Test::Simple upgraded it again. I'm not really sure why > that happened. It looks more like a cpanm bug than anything Test::Simple > asked for. > > I didn't do exhaustive experimentation to see if putting the downgrade > before "install IPC::Run" would work. I think we're best off assuming > that cpanm will cause that upgrade due to phase-of-the-moon conditions, > so putting the downgrade last is the most robust recipe. Got it. Good enough!