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 1mwgOF-0006yU-Ea for pgsql-committers@arkaria.postgresql.org; Mon, 13 Dec 2021 08:08:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mwgOE-0005wo-Av for pgsql-committers@arkaria.postgresql.org; Mon, 13 Dec 2021 08:08:54 +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 1mwgOC-0005wf-JE for pgsql-committers@lists.postgresql.org; Mon, 13 Dec 2021 08:08:54 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mwgO9-0001Tr-FL for pgsql-committers@lists.postgresql.org; Mon, 13 Dec 2021 08:08:51 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DFF415C00A9; Mon, 13 Dec 2021 03:08:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Mon, 13 Dec 2021 03:08:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=bbGuI3Ss3p3fBDFbXHX1CqYUnla CB1LXilBj6F3Vz2o=; b=IDgrNF3z4Sb+1o1ksL0qNslCPSKzQmtViJrll2bKyj/ rk0748NeJCc/k/z1xHAxCbRyqq7A0u9KhU7IF6OfSAYjr5n/IY0hX5UfbHmyC2/4 6q1j7VRRt/R5GGAdIDMfI1SYUi54qXitg+m63D1Lpc/2IVPULjjPydYjYCNTgNPr 5EkJPI5vUXrlWofbMYccaIDBlg5FjluXFTAP2BlkE2eRJQy5pBeX5eHeHIUMs2vj p6mpI5z2ay4aOI3ZbZ2QT1BILq9g+pgdyx6ecThZiQbWLn+qZlAb3l5VsG4benff bHgYwkEp9DWJFa6tu1oxvh3xsy3Ps3OdWwasbBEcxLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=bbGuI3 Ss3p3fBDFbXHX1CqYUnlaCB1LXilBj6F3Vz2o=; b=Qm+bp3Hghn1eBAl5Mq/QKN GklrQgJLDUcJDiC6xxjqt5FMEFNMVXFNa9FvBIRVcyn9rJH6N6Lpyi2i6U+i0TVL VWPo3qGRmEyV1CZJsUjjbYdvDAUauwLDf3+EB6RC7VQtAu2kt4kMwxWEaQzMR/8M YcI+lw02utiuZ5CTkN3Zg8gXRRyCTtDSNvUfHjwoqcBQumoH5poYlYHLa+PQThSZ 4edZ1+WWB7fxeO0RP6cK5ESg1Iar26VOmJSh7kFIEjGKwd5bbN1yNfI+GjJ4txlp irbAo6go0HLd/bvVXymWKF/vMxKJNj7QAC8F4PWb9xfkB+rTSIl2L2hQSnCgAkRw == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkeejgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 13 Dec 2021 03:08:46 -0500 (EST) Date: Mon, 13 Dec 2021 17:08:42 +0900 From: Michael Paquier To: Andrew Dunstan Cc: Andres Freund , Tom Lane , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Check that we have a working tar before trying to use it Message-ID: References: <3660797.1638983124@sss.pgh.pa.us> <20211209021604.bv5tfr23ymh4u7x4@alap3.anarazel.de> <3707204.1639016334@sss.pgh.pa.us> <20211209024604.dpmudj4ax2hoi7cx@alap3.anarazel.de> <20211209030856.ibxewzpc5ph7ckkp@alap3.anarazel.de> <20211209064928.7f5lp6hxvw2f2j6o@alap3.anarazel.de> <95787b2b-d483-0b5e-b24b-1986cff93596@dunslane.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="KrhfYH7/62Pxhl7T" Content-Disposition: inline In-Reply-To: <95787b2b-d483-0b5e-b24b-1986cff93596@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --KrhfYH7/62Pxhl7T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 09, 2021 at 09:05:21AM -0500, Andrew Dunstan wrote: > That's odd. What edition of Windows 10 do you have? If it's not Pro I > could understand it. I just checked and every Windows 10 machine I have > here has it - and some of them are quite old. Digging into that, I cannot find an exact build number, but it is named Windows 10 Enterprise evaluation, which is, as far as I recall, a pre-created VM image for VMware, so that was pretty useful. I have been testing a couple of ideas to figure out how I could solve that and if a system update could add a proper tar command, but I have not been able to fix my thing. For the time being, I think that I am just going to stick a ENV{TAR} = '' in buildenv.pl to bypass the issue, and I have no objections to switch to %SYSTEMROOT%/system32/tar.exe by default. Anyway, it would be nice to document LZ4, GZIP_PROGRAM and TAR and the defaults we rely on. Also, the default values of LZ4, TAR and GZIP_PROGRAM had better be set *before* loading buildenv.pl, and not after it is loaded, no? On HEAD, one has no way to unset any of those variables so it is not possible to skip things if an environment has in its PATH a funky command that TAP would refuse, like a tar command from MinGW or the git installation. -- Michael --KrhfYH7/62Pxhl7T Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmG2/4oACgkQnvQgOdby QH29oQ/+POWi4jdfdfvJkcxpvUkopRmWZH0AUjPEtVssHYEgPXyy586Eu7N/zYsm MTGnMfAl7gHD0arYq1TsIVjlWASqOKPaGi5Mtkt+qCw/GfZ59NR59cvv62kipR/L +7RNWfswNrukfx5QKjp1YOLYbLhY02BAn/Aab6Ju4aOxWd8gyAKxeofzdtAyI91x kAzzWu3nphh1VH4DY5Q/22g03/0kfUEtJ+MlXh2gBvYCpKr8Q/QIB0S0tqRpvt5f dWKvptCwLqGieAvPTyTL0lAMz1n2zztkUHO5LTUrAl+nVS8SA0nlCUVg1kfOcrIG 8xwJPofVd1rmCLV6uR8/OxBsslU1SRSGfr3p61+Q/nby4AyxsafjIbtVqNCNNt8e KpRHbwWzx5Kld3CDSFdemE7i9zwXtD4O3GaTRf5JU4RlhzNejhqu9OJCADqBm/fr GHXFxqtJ0df9D/gz9K37EX7Boa6BOlY5bo6Ixo3CYWpe8lqAUt1/ZF0M/Lkg57af IVMDueLVvGSElMuxYz/BfWvOIXoKcX15qUTakHvFic0OebPcWyrF1qwsfkdZZ+ML zJ+6/tgm4vIw9zhUtd8L/Z9+IZH6Ch8ib3shWoESogpzC2kyjbPiLBJBISx+fxMS tkJ6Xz5fBJJt/mxVi4SD5vhQqFtrLQR3BRYWXhaqnRborPWemCU= =wklD -----END PGP SIGNATURE----- --KrhfYH7/62Pxhl7T--