pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paweł Pękala <pawel@FreeBSD.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14643: Fails to compile with LibreSSL >= 2.5.3
Date: Thu, 4 May 2017 22:19:29 +0200
Message-ID: <20170504221929.4818ae8d@FreeBSD.org> (raw)
In-Reply-To: <24355.1493924243@sss.pgh.pa.us>
References: <20170504183440.24361.52117@wrigleys.postgresql.org>
	<24355.1493924243@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi Tom,

On 2017-05-04 14:57 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>pawel@freebsd.org writes:
>> FreeBSD bug report (with patches):
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218736  
>
>> Build error:
>> cc -O2 -pipe -march=native  -fstack-protector -fno-strict-aliasing
>> -Wall -Wmissing-prototypes -Wpointer-arith
>> -Wdeclaration-after-statement -Wendif-labels
>> -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing
>> -fwrapv -I../../../src/include -I/usr/local/include
>> -I/usr/local/include/libxml2 -I/usr/include -I/usr/local/include
>> -I/usr/local/include  -c -o be-secure.o be-secure.c
>> be-secure.c:341:19: error: no member named 'state' in 'struct
>> ssl_st' if (port->ssl->state != SSL_ST_OK) ~~~~~~~~~  ^
>> be-secure.c:345:15: error: no member named 'state' in 'struct ssl_st'
>>                         port->ssl->state |= SSL_ST_ACCEPT;
>>                         ~~~~~~~~~  ^
>> be-secure.c:347:19: error: no member named 'state' in 'struct ssl_st'
>>                         if (port->ssl->state != SSL_ST_OK)
>>                             ~~~~~~~~~  ^
>> 3 errors generated.
>> gmake[2]: *** [<builtin>: be-secure.o] Error 1
>> gmake[2]: Leaving directory
>> '/usr/ports/databases/postgresql92-server/work/postgresql-9.2.20/src/backend/libpq'  
>
>This looks like it was probably addressed by the changes we made last
>month to support OpenSSL 1.1.0 in our pre-9.5 branches.  However, since
>LibreSSL isn't identical to OpenSSL, it would sure be nice if someone
>would verify compatibility before next week's update releases.  Could
>you test against our git branch tips or nightly snapshot tarballs?
>
>			regards, tom lane

I did quick builds of REL9_2_STABLE and REL9_3_STABLE and I can confirm
they build fine with libressl-2.5.4.

-- 
pozdrawiam / with regards
Paweł Pękala


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (22+ messages)  latest in thread

Message-ID: <20170504221929.4818ae8d@FreeBSD.org>
Permalink:  ../20170504221929.4818ae8d@FreeBSD.org/
Also on:    postgresql.org/message-id/20170504221929.4818ae8d@FreeBSD.org

 · 

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-bugs@postgresql.org
  Cc: pawel@FreeBSD.org, tgl@sss.pgh.pa.us
  Subject: Re: BUG #14643: Fails to compile with LibreSSL >= 2.5.3
  In-Reply-To: <20170504221929.4818ae8d@FreeBSD.org>
  References: <20170504183440.24361.52117@wrigleys.postgresql.org> <24355.1493924243@sss.pgh.pa.us> <20170504221929.4818ae8d@FreeBSD.org>

* 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