pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: buildfarm@sraoss.co.jp
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: 近藤雄太 <kondo@sraoss.co.jp>
Cc: Daniel Gustafsson <daniel@yesql.se>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Missing include <openssl/x509.h> in be-secure-openssl.c?
Date: Mon, 08 Nov 2021 12:05:24 -0500
Message-ID: <983112.1636391124@sss.pgh.pa.us> (raw)
In-Reply-To: <319425.1636034047@sss.pgh.pa.us>
References: <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se>
	<YYBpstjmTv2xbc74@paquier.xyz>
	<1790342.1635950136@sss.pgh.pa.us>
	<20211104105613.d97d4434e1adb2495f428b72@sraoss.co.jp>
	<YYNChzE3FUi+PKhT@paquier.xyz>
	<CA+hUKG+VfJ6g4JoHpdFKVcpsT7o5GQy_74uGPethXQDSYnkcEQ@mail.gmail.com>
	<CA+hUKG+5k2n1FTgtts+KONheRz3NVtfQsePU_da9cr0TU5dH-Q@mail.gmail.com>
	<284247.1635996826@sss.pgh.pa.us>
	<CA+hUKGKZiYKHqGQr+zQFQ0=BdOzxBmXgpvi3cN_BZ1kmHZKs8Q@mail.gmail.com>
	<284929.1635997526@sss.pgh.pa.us>
	<YYON2JtkHZfYArY/@paquier.xyz>
	<319425.1636034047@sss.pgh.pa.us>

I wrote:
> The rough idea I have is that prior to 8162464a2, we sucked in
> that #define during postgres.h and then OpenSSL's headers were
> able to undo it.  After 8162464a2, we don't read <wincrypt.h>
> during postgres.h, but some *other* header that be-secure-openssl.c
> is including after the OpenSSL headers is pulling it in, so that
> by the time we get to the body of the file the unwanted #define
> is active.

This indeed seems to explain the compile failures, as hamerkop is
now getting through the "make" stage.  However, it's now failing
in the plpython tests [1], apparently because Python itself doesn't
like the locale environment:

Fatal Python error: init_sys_streams: can't initialize sys standard streams
LookupError: unknown encoding: cp20127

Did something change on that machine in the last day or so?  Because
plpython seems to have been working fine in the back branches.

			regards, tom lane

[1] https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hamerkop&dt=2021-11-08%2010%3A08%3A22





view thread (20+ messages)  latest in thread

Message-ID: <983112.1636391124@sss.pgh.pa.us>
Permalink:  ../983112.1636391124@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/983112.1636391124@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, buildfarm@sraoss.co.jp, michael@paquier.xyz, thomas.munro@gmail.com, kondo@sraoss.co.jp, daniel@yesql.se
  Subject: Re: Missing include <openssl/x509.h> in be-secure-openssl.c?
  In-Reply-To: <983112.1636391124@sss.pgh.pa.us>
  References: <461EF47A-C979-4124-87E3-758A68A98D1E@yesql.se> <YYBpstjmTv2xbc74@paquier.xyz> <1790342.1635950136@sss.pgh.pa.us> <20211104105613.d97d4434e1adb2495f428b72@sraoss.co.jp> <YYNChzE3FUi+PKhT@paquier.xyz> <CA+hUKG+VfJ6g4JoHpdFKVcpsT7o5GQy_74uGPethXQDSYnkcEQ@mail.gmail.com> <CA+hUKG+5k2n1FTgtts+KONheRz3NVtfQsePU_da9cr0TU5dH-Q@mail.gmail.com> <284247.1635996826@sss.pgh.pa.us> <CA+hUKGKZiYKHqGQr+zQFQ0=BdOzxBmXgpvi3cN_BZ1kmHZKs8Q@mail.gmail.com> <284929.1635997526@sss.pgh.pa.us> <YYON2JtkHZfYArY/@paquier.xyz> <319425.1636034047@sss.pgh.pa.us> <983112.1636391124@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox