Source: mahimahi
Version: 0.95-1
Severity: serious
https://buildd.debian.org/status/package.php?p=mahimahi&suite=sid
...
g++ -DHAVE_CONFIG_H -I. -I../.. -I./../util -I./../http -I../protobufs
-std=c++11 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -pedantic -Wall -Wextra
-Weffc++ -Werror -g -O2 -fdebug-prefix-map=/«PKGBUILDDIR»=.
-fstack-protector-strong -Wformat -Werror=format-security -c -o secure_socket.o
secure_socket.cc
secure_socket.cc: In function 'SSL_CTX* initialize_new_context(SSL_MODE)':
secure_socket.cc:80:51: error: 'const SSL_METHOD* TLSv1_client_method()' is
deprecated [-Werror=deprecated-declarations]
SSL_CTX * ret = SSL_CTX_new( type == CLIENT ? TLSv1_client_method() :
TLSv1_server_method() );
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from secure_socket.hh:8,
from secure_socket.cc:8:
/usr/include/openssl/ssl.h:1598:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /*
TLSv1.0 */
^
secure_socket.cc:80:71: error: 'const SSL_METHOD* TLSv1_client_method()' is
deprecated [-Werror=deprecated-declarations]
SSL_CTX * ret = SSL_CTX_new( type == CLIENT ? TLSv1_client_method() :
TLSv1_server_method() );
^
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from secure_socket.hh:8,
from secure_socket.cc:8:
/usr/include/openssl/ssl.h:1598:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /*
TLSv1.0 */
^
secure_socket.cc:80:75: error: 'const SSL_METHOD* TLSv1_server_method()' is
deprecated [-Werror=deprecated-declarations]
SSL_CTX * ret = SSL_CTX_new( type == CLIENT ? TLSv1_client_method() :
TLSv1_server_method() );
^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from secure_socket.hh:8,
from secure_socket.cc:8:
/usr/include/openssl/ssl.h:1597:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /*
TLSv1.0 */
^
secure_socket.cc:80:95: error: 'const SSL_METHOD* TLSv1_server_method()' is
deprecated [-Werror=deprecated-declarations]
SSL_CTX * ret = SSL_CTX_new( type == CLIENT ? TLSv1_client_method() :
TLSv1_server_method() );
^
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from secure_socket.hh:8,
from secure_socket.cc:8:
/usr/include/openssl/ssl.h:1597:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /*
TLSv1.0 */
^
cc1plus: all warnings being treated as errors
Makefile:408: recipe for target 'secure_socket.o' failed
make[4]: *** [secure_socket.o] Error 1
make[4]: Leaving directory '/«PKGBUILDDIR»/src/httpserver'
Makefile:378: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1