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 1nKRCB-0002gN-0N for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 20:46:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nKRC9-00049v-U7 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 20:46:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKRC9-00049l-L9 for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 20:46:37 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKRC6-0002zo-HU for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 20:46:37 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id 8AB5BE0006 for ; Wed, 16 Feb 2022 20:46:30 +0000 (UTC) Message-ID: <0ba775a2-8aa0-0d56-d780-69427cf6f33d@dunslane.net> Date: Wed, 16 Feb 2022 15:46:28 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US From: Andrew Dunstan To: PostgreSQL Hackers Subject: killing perl2host Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Largely following a recipe from Andres, I have migrated buildfarm animals fairywren and jacana to a setup that shouldn't need (and in fact won't be able to use) PostgreSQL::Test:Utils::perl2host(). AFAICT these two are the only buildfarm animals that run TAP tests under msys. See discussion at The lesson to be learned, incidentally, is "Don't use the msys targeted perl to run TAP tests". I suggest that we apply this patch: diff --git a/src/test/perl/PostgreSQL/Test/Utils.pm b/src/test/perl/PostgreSQL/Test/Utils.pm index 57fcb24089..31e2b0315e 100644 --- a/src/test/perl/PostgreSQL/Test/Utils.pm +++ b/src/test/perl/PostgreSQL/Test/Utils.pm @@ -311,7 +311,7 @@ The returned path uses forward slashes but has no trailing slash.  sub perl2host  {     my ($subject) = @_; -   return $subject unless $Config{osname} eq 'msys'; +   return $subject;     if ($is_msys2)     {         # get absolute, windows type path and if nothing breaks in a few days I will set about a more thorough removal of perl2host() and adjusting everywhere it's called, and we can forget that the whole sorry mess ever happened :-) I know a number of people who will be overjoyed. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com