[BUGS] BUG #14643: Fails to compile with LibreSSL >= 2.5.3 - Mailing list pgsql-bugs

From pawel@freebsd.org
Subject [BUGS] BUG #14643: Fails to compile with LibreSSL >= 2.5.3
Date
Msg-id 20170504183440.24361.52117@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14643: Fails to compile with LibreSSL >= 2.5.3  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14643
Logged by:          Pawel Pekala
Email address:      pawel@freebsd.org
PostgreSQL version: 9.2.20
Operating system:   FreeBSD
Description:

This bug is relevant to 9.3.16 release also.

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'


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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14641: Segfault on searching KNN using btree_gist
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14643: Fails to compile with LibreSSL >= 2.5.3