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 1miXK5-0005iB-Jr for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Nov 2021 07:38:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1miXK4-00011p-9M for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Nov 2021 07:38:08 +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 1miXK4-00011c-0I for pgsql-hackers@lists.postgresql.org; Thu, 04 Nov 2021 07:38:08 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miXK1-0001N2-Ss for pgsql-hackers@lists.postgresql.org; Thu, 04 Nov 2021 07:38:07 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id ED4375C0181; Thu, 4 Nov 2021 03:38:04 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 04 Nov 2021 03:38:04 -0400 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=bzvnGa/T2yLGlK+bYW7lYWvYkMr hRnrvdjbJyNUlfks=; b=TgdomYtDsJbzUrCjrF/fi+4C92EStSm3FeRH8G6w9p8 aVGq/k5kYv2oW63bRT/mGqZZswhaxKTPweGmcpuNMMcBYpnbFv/Whj3/rPGRf726 E7Q4RllMYWsUWP4dh7Q0UskC+YJPi4IpCufmr4wr838uD7Y1jauNOwidhVRpzMPz s22VNIjRyppOC66HVOCzaofsDnuuwSR1WBYEZg79m2QEsXdBzGU8CTbKMEDBrEdF Nm2rTtQic6CZHigrZOscxsUxmbl9RaIj5s0jgXPLqyGQeC0mtUi9erFCtZ+aLo4s nr6aohVgFe04xnZB34Rq/9WuwiJSfDS/z8Bv4o3n01Q== 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=bzvnGa /T2yLGlK+bYW7lYWvYkMrhRnrvdjbJyNUlfks=; b=Tj+/jaGcpEu6OmwmwTgclO D7m6Mw5cdloy0tsF0k/BtzdhYJTF/Fbo3LHl2/X50zR0CfM0BK77mDXWvsN/ac0+ QXXLUirpTN8Za8J5kiKP1SQPpMNcAcX+GXN6b2rfVWPtdMK0DOai3kMAOjCBO2s/ c+bkCMMHKnp3IijhTWoyIGLWwuEXKXMkeljOpWSdp5D+InVkSjfZkRSmmrsVIZdb 6VI7h5os48xlJwflBykk2UusLYO6vttVEVUUoICgOCdl6GkFnGg3acK5Ax7bWfPr k0TZC1WWnklwC9bVRrthoaVz3kHY/PIWVOoMotjLXGAjafSjksnreAvSKW3looDQ == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdefgddutdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 4 Nov 2021 03:38:02 -0400 (EDT) Date: Thu, 4 Nov 2021 16:38:00 +0900 From: Michael Paquier To: Tom Lane Cc: Thomas Munro , =?utf-8?B?6L+R6Jek6ZuE5aSq?= , Daniel Gustafsson , PostgreSQL Hackers , buildfarm@sraoss.co.jp Subject: Re: Missing include in be-secure-openssl.c? Message-ID: References: <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se> <1790342.1635950136@sss.pgh.pa.us> <20211104105613.d97d4434e1adb2495f428b72@sraoss.co.jp> <284247.1635996826@sss.pgh.pa.us> <284929.1635997526@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NFdl3xqf7XTzh4kb" Content-Disposition: inline In-Reply-To: <284929.1635997526@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --NFdl3xqf7XTzh4kb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Nov 03, 2021 at 11:45:26PM -0400, Tom Lane wrote: > Yeah, I noted the comment about WIN32_LEAN_AND_MEAN in the > stackoverflow thread too ... but as you say, it seems like > that should make the problem less probable not more so. > Still, it's hard to think of any other relevant change. Yeah, I don't see how this could be linked to WIN32_LEAN_AND_MEAN. > Anyway, my thought now is (1) move the openssl includes to > after system includes in both *-secure-openssl.c files, > and (2) add comments explaining why the order is critical. > But it's late here and I'm not going to mess with it right now. > If you want to take a shot at a blind fix before hamerkop's > next run, have at it. Reading through the error logs that Thomas has posted (thanks!), I have seen error patterns like that with a dirty build repository. So it could be possible that hamerkop is reusing a directory where some code has already been compiled on. -- Michael --NFdl3xqf7XTzh4kb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmGDjdgACgkQnvQgOdby QH2Iew/+IyOAkqtuiBGdfRUuE1De2u7Kvmamc8lGyg6x8UuJBO7I8nr2OV61h+4m iBp2AsswMa5eS2hIFg/3ANhTWIIds7pSpVI3M6K7t070GSGyfoNw9bGF9Wjl7nvr qKGYN3DB2x1c8oD/I0/P89t3cLK/VuUwdWK1xnE6vYucAgdFWEggpnSTo5xo6irA kgGHLP1rY1wMbO+yVW9llGaNzvrvmrmCmNQOBE/k2IAGdPtJlONg+b4DqjXc0NfT elXVKi2fG5P2lrs1OrIuZ0Zga+yMnTGz5LJyhNvulUExBLfN4q/UFEq19pl2xASg V7rsAIOUXwnXeTE4cfP6CKIALwaYYGQ5EG7jpYqbgdUXgRbUtxxXqhqzRD63CjKG YYTSVyquwNcYRB/t+wWVhxWfblCIl6jeucKDUv9nVJLVibozIx5vLCUet/LBHDue O/R08AXlbmd64I7grEYduR0hTXt94Errk+DuUya8/2kuuDSIh+p38TXU0/snQvqf WPosgvyz8wLBhXsTn/Kk1YJ/KY05xTDG2lkG6B651AIk3bRTJNY7fbOxcyI8cU/7 460NDQbpY6sNuUaA0yXM5K2mHpkUUR/Mno1GkfZtMCcEWF8ODDzXGQpQd/7Uqhn7 x0mkR5lndzNKagS9nG69Qv6V/RD3TpUI5FRLv/2EstxAZcoxQKc= =2wbd -----END PGP SIGNATURE----- --NFdl3xqf7XTzh4kb--