BUG #14643: Fails to compile with LibreSSL >= 2.5.3

From: pawel(at)freebsd(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14643: Fails to compile with LibreSSL >= 2.5.3
Date: 2017-05-04 18:34:40
Message-ID: 20170504183440.24361.52117@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14643
Logged by: Pawel Pekala
Email address: pawel(at)freebsd(dot)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'

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-05-04 18:57:23 Re: BUG #14643: Fails to compile with LibreSSL >= 2.5.3
Previous Message Tom Lane 2017-05-04 14:36:02 Re: BUG #14641: Segfault on searching KNN using btree_gist