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 1kotgD-00082n-II for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Dec 2020 19:38:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kotgA-000726-EL for pgsql-bugs@arkaria.postgresql.org; Mon, 14 Dec 2020 19:38:42 +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 1kotgA-00071z-7t for pgsql-bugs@lists.postgresql.org; Mon, 14 Dec 2020 19:38:42 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kotg5-0006Qu-PC for pgsql-bugs@lists.postgresql.org; Mon, 14 Dec 2020 19:38:41 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 333D65F799; Mon, 14 Dec 2020 14:38:36 -0500 (EST) Date: Mon, 14 Dec 2020 14:38:36 -0500 From: Stephen Frost To: jatoba@gaz-is.ru, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16773: GSSAPI + Msys2/mingw64 + setenv() issue. Message-ID: <20201214193835.GG16415@tamriel.snowman.net> References: <16773-c0bb1bc300bde127@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="BKBXRPrJCM2NTBTV" Content-Disposition: inline In-Reply-To: <16773-c0bb1bc300bde127@postgresql.org> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --BKBXRPrJCM2NTBTV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * PG Bug reporting form (noreply@postgresql.org) wrote: > I am being engaged in PostgreSQL build process with GSSAPI support in > msys2/mingw64 environment. > Everything is good enough on REL_11_STABLE branch, but there are the > following compilation and linking errors on newer versions/branches > (12-stable, 13-stable, and 14-devel). >=20 > Errors connect with setenv() call that isn't supported in msys2/mingw64. Yeah, we had some discussion regarding that, as you noted. There's been a further discussion though, here: https://postgr.es/m/CA+OCxowDNTXfHBruAryhZA0aMxHvqHL4uYk8APiZCqjWAM=3DM-w@m= ail.gmail.com Which seems to indicate that fixing the setenv() issue isn't enough to make things actually work. I'd been hoping that Dave would get back to that thread and provide some feedback on it, but that's not happened yet. Perhaps you could take his patch and see if it works for you though..? > Is there a plan to clean code from setenv() call and will the proposed pa= tch > [3] or its revised versions be applied ?? Would really be helpful if we could have some confidence that such a change would actually result in things working- so, if you could test the patch that Dave posted in the thread I linked to above and let us know if it works for you, that'd certainly be helpful. > Also I have checked BuildFarm statuses and all mingw64-nodes build PG > without GSSAPI/KRB5 support [4]. > It looks like the mingw64 platform is no longer being considered as LTS a= nd > will be in reduced feature list in the future.=20 I don't think there's any reason to jump to that assumption, however.. > Am i right? =2E. if you'd like this to keep working then I would certainly encourage you to set up a buildfarm animal which tests this case and register it with the buildfarm. The lack of one certainly means it's less likely that this specific platform + configuration will be tested regularly. Thanks, Stephen --BKBXRPrJCM2NTBTV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIbBAEBCgAGBQJf1787AAoJEO1sijiDR2RVq4IP+J0duVgWrwMMsNk0v1awGVw0 LHLscUfS61ESUx7wc6IoTsIT1JdaVMQa8MGrGcEJxOrHBVsD8b/PwUncVqlslw/p OKChrB34RdA5oB+SdHPjvZm9SaMgsmGJR1xx0il+vxkGeG4VjkLthoKuZpHlQmzH /RlV7U7KPWEK/ztBaW3QpmxU/bI7TC6yd9LRF0LA/5zgI3kPLujfH4n56/qBH2jX 1OQHLaMGz2+OUsb+c6tE+0YDQW0IOiFocmrtnhYHTi2PXkAgupxGyKRoaWn6Mx+Z JaYrI1P8NSOWbNR67ov/b4vlsSUTnlYZR6WXhu1wzXVgcWHeI7k6g+P4+1zFJEnw WIy78EHwPjk+X8y797bxdWeciYnLlx9D0Fyla8xqndYHOJAtX/PsGrPwoIkRzwhU EYqDTsiNK0TDjJjgavU77zaNjwL9JKIDPW3DOGWFYGn8dxyyQUU176qiz3hWOxLC /sWzrUoVgCUoocZngvkXrQMJg3V1UIS+WCnWFo4KwI6BPMPWl5T12GhXjojkfc1p GeTv6cC/Bgc9XC2kOdGnNSR1epBkchd5Gt+D8rFnyeyrVCDZz5MoyHX1temirZFv FpA+Yd+h3no90h/KI9RIOxdZxStV3MXCU0JQMaaCo/ea6ZpS9o0xMBQWKiKYCrh3 InWWsHpstcMz25hdnfQ= =z04D -----END PGP SIGNATURE----- --BKBXRPrJCM2NTBTV--