http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/20/------------------------------------------
[...truncated 34481 lines...]
/usr/include/openssl/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
../../../../src/ssl/support.cc: In function 'void 
completeIssuers(X509_STORE_CTX*, stack_st_X509*)':
../../../../src/ssl/support.cc:1246:20: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
     int depth = ctx->param->depth;
                    ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../../../src/security/LockingPointer.h:16,
                 from ../../../../src/security/Context.h:13,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
../../../../src/ssl/support.cc:1247:24: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
     X509 *current = ctx->cert;
                        ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../../../src/security/LockingPointer.h:16,
                 from ../../../../src/security/Context.h:13,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
../../../../src/ssl/support.cc: In function 'int 
untrustedToStoreCtx_cb(X509_STORE_CTX*, void*)':
../../../../src/ssl/support.cc:1281:39: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
     STACK_OF(X509) *oldUntrusted = ctx->untrusted;
                                       ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../../../src/security/LockingPointer.h:16,
                 from ../../../../src/security/Context.h:13,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
 typedef struct x509_store_ctx_st X509_STORE_CTX;
                ^~~~~~~~~~~~~~~~~
../../../../src/ssl/support.cc: In function 'int store_session_cb(SSL*, 
SSL_SESSION*)':
../../../../src/ssl/support.cc:1468:32: error: invalid use of incomplete type 
'SSL_SESSION {aka struct ssl_session_st}'
     unsigned char *id = session->session_id;
                                ^~
In file included from ../../../../src/security/Context.h:17:0,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ssl.h:228:16: note: forward declaration of 'SSL_SESSION 
{aka struct ssl_session_st}'
 typedef struct ssl_session_st SSL_SESSION;
                ^~~~~~~~~~~~~~
../../../../src/ssl/support.cc:1469:33: error: invalid use of incomplete type 
'SSL_SESSION {aka struct ssl_session_st}'
     unsigned int idlen = session->session_id_length;
                                 ^~
In file included from ../../../../src/security/Context.h:17:0,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ssl.h:228:16: note: forward declaration of 'SSL_SESSION 
{aka struct ssl_session_st}'
 typedef struct ssl_session_st SSL_SESSION;
                ^~~~~~~~~~~~~~
../../../../src/ssl/support.cc: In function 'void 
Ssl::SetSessionCallbacks(Security::ContextPointer&)':
../../../../src/ssl/support.cc:1553:58: error: invalid conversion from 
'SSL_SESSION* (*)(SSL*, unsigned char*, int, int*) {aka ssl_session_st* 
(*)(ssl_st*, unsigned char*, int, int*)}' to 'SSL_SESSION* (*)(ssl_st*, const 
unsigned char*, int, int*) {aka ssl_session_st* (*)(ssl_st*, const unsigned 
char*, int, int*)}' [-fpermissive]
         SSL_CTX_sess_set_get_cb(ctx.get(), get_session_cb);
                                                          ^
In file included from ../../../../src/security/Context.h:17:0,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/security/KeyData.h:13,
                 from ../../../../src/security/PeerOptions.h:14,
                 from ../../../../src/security/ServerOptions.h:13,
                 from ../../../../src/anyp/PortCfg.h:17,
                 from ../../../../src/AccessLogEntry.h:12,
                 from ../../../../src/acl/FilledChecklist.h:12,
                 from ../../../../src/ssl/support.cc:18:
/usr/include/openssl/ssl.h:618:6: note:   initializing argument 2 of 'void 
SSL_CTX_sess_set_get_cb(SSL_CTX*, SSL_SESSION* (*)(ssl_st*, const unsigned 
char*, int, int*))'
 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx,
      ^~~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' 
[-Werror]
cc1plus: all warnings being treated as errors
Makefile:847: recipe for target 'support.lo' failed
make[4]: *** [support.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
../../../../src/ssl/gadgets.cc: In function 'EVP_PKEY* 
Ssl::createSslPrivateKey()':
../../../../src/ssl/gadgets.cc:23:26: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
     Ssl::RSA_Pointer rsa(RSA_generate_key(1024, RSA_F4, NULL, NULL));
                          ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/rsa.h:13:0,
                 from /usr/include/openssl/x509.h:31,
                 from /usr/include/openssl/ssl.h:50,
                 from ../../../../src/security/Context.h:17,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/ssl/gadgets.h:13,
                 from ../../../../src/ssl/gadgets.cc:10:
/usr/include/openssl/rsa.h:193:1: note: declared here
 DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
 ^
../../../../src/ssl/gadgets.cc:23:67: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
     Ssl::RSA_Pointer rsa(RSA_generate_key(1024, RSA_F4, NULL, NULL));
                                                                   ^
In file included from /usr/include/openssl/rsa.h:13:0,
                 from /usr/include/openssl/x509.h:31,
                 from /usr/include/openssl/ssl.h:50,
                 from ../../../../src/security/Context.h:17,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/ssl/gadgets.h:13,
                 from ../../../../src/ssl/gadgets.cc:10:
/usr/include/openssl/rsa.h:193:1: note: declared here
 DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
 ^
../../../../src/ssl/gadgets.cc: In function 'bool 
mimicAuthorityKeyId(Security::CertPointer&, const CertPointer&, const 
CertPointer&)':
../../../../src/ssl/gadgets.cc:304:86: error: 'M_ASN1_INTEGER_dup' was not 
declared in this scope
         
issuerSerial.reset(M_ASN1_INTEGER_dup(X509_get_serialNumber(issuerCert.get())));
                                                                                
      ^
../../../../src/ssl/gadgets.cc:335:67: error: 'M_ASN1_OCTET_STRING_new' was not 
declared in this scope
     Ssl::ASN1_OCTET_STRING_Pointer extOct(M_ASN1_OCTET_STRING_new());
                                                                   ^
../../../../src/ssl/gadgets.cc: In function 'int 
mimicExtensions(Security::CertPointer&, const CertPointer&, const 
CertPointer&)':
../../../../src/ssl/gadgets.cc:377:48: error: invalid use of incomplete type 
'struct x509_st'
     int mimicAlgo = 
OBJ_obj2nid(mimicCert.get()->cert_info->key->algor->algorithm);
                                                ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../../../src/security/LockingPointer.h:16,
                 from ../../../../src/security/Context.h:13,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/ssl/gadgets.h:13,
                 from ../../../../src/ssl/gadgets.cc:10:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'struct 
x509_st'
 typedef struct x509_st X509;
                ^~~~~~~
../../../../src/ssl/gadgets.cc:406:74: error: 'M_ASN1_OCTET_STRING_new' was not 
declared in this scope
                     ASN1_OCTET_STRING *ext_oct = M_ASN1_OCTET_STRING_new();
                                                                          ^
../../../../src/ssl/gadgets.cc:411:53: error: 'M_ASN1_OCTET_STRING_free' was 
not declared in this scope
                     M_ASN1_OCTET_STRING_free(ext_oct);
                                                     ^
../../../../src/ssl/gadgets.cc: In function 'bool 
Ssl::certificateMatchesProperties(X509*, const Ssl::CertificateProperties&)':
../../../../src/ssl/gadgets.cc:801:63: error: invalid conversion from 'const 
GENERAL_NAME* {aka const GENERAL_NAME_st*}' to 'GENERAL_NAME* {aka 
GENERAL_NAME_st*}' [-fpermissive]
             match = sk_GENERAL_NAME_find(cert2_altnames, aName);
                                                               ^
In file included from /usr/include/openssl/crypto.h:29:0,
                 from ../../../../src/security/LockingPointer.h:16,
                 from ../../../../src/security/Context.h:13,
                 from ../../../../src/security/forward.h:13,
                 from ../../../../src/ssl/gadgets.h:13,
                 from ../../../../src/ssl/gadgets.cc:10:
/usr/include/openssl/x509v3.h:165:1: note:   initializing argument 2 of 'int 
sk_GENERAL_NAME_find(stack_st_GENERAL_NAME*, GENERAL_NAME*)'
 DEFINE_STACK_OF(GENERAL_NAME)
 ^
At global scope:
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' 
[-Werror]
cc1plus: all warnings being treated as errors
Makefile:847: recipe for target 'gadgets.lo' failed
make[4]: *** [gadgets.lo] Error 1
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../../.. 
-I../../../../include -I../../../../lib -I../../../../src -I../../include 
-I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror 
-Wno-deprecated-register -pipe -D_REENTRANT -I/usr/include/p11-kit-1 -g -O2 -MT 
crtd_message.lo -MD -MP -MF .deps/crtd_message.Tpo -c 
../../../../src/ssl/crtd_message.cc  -fPIC -DPIC -o crtd_message.o >/dev/null 
2>&1
libtool: compile:  ccache g++ -DHAVE_CONFIG_H -I../../../.. 
-I../../../../include -I../../../../lib -I../../../../src -I../../include 
-I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror 
-Wno-deprecated-register -pipe -D_REENTRANT -I/usr/include/p11-kit-1 -g -O2 -MT 
helper.lo -MD -MP -MF .deps/helper.Tpo -c ../../../../src/ssl/helper.cc  -fPIC 
-DPIC -o helper.o >/dev/null 2>&1
make[4]: Leaving directory 
'<http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/ws/btlayer-02-maximus/squid-5.0.0-BZR/_build/sub/src/ssl'>
Makefile:6912: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
'<http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/ws/btlayer-02-maximus/squid-5.0.0-BZR/_build/sub/src'>
Makefile:5932: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory 
'<http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/ws/btlayer-02-maximus/squid-5.0.0-BZR/_build/sub/src'>
Makefile:582: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
'<http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/ws/btlayer-02-maximus/squid-5.0.0-BZR/_build/sub'>
Makefile:790: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-02-maximus.opts
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -ldl -lm -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -Wall -g -O2
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe 
-D_REENTRANT
configure: BUILD C++ FLAGS:  -I/usr/include/p11-kit-1 -g -O2
configure: BUILD EXTRA C++ FLAGS: -I/usr/include/libxml2 -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror 
-Wno-deprecated-register -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS:   -I/usr/include/p11-kit-1 -g -O2
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -ldl -lm -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -Wall -g -O2
configure: BUILD EXTRA C FLAGS: -Wall -Wpointer-arith -Wwrite-strings 
-Wmissing-prototypes -Wmissing-declarations -Wcomments -Wshadow -Werror -pipe 
-D_REENTRANT
configure: BUILD C++ FLAGS:  -I/usr/include/p11-kit-1 -g -O2
configure: BUILD EXTRA C++ FLAGS: -I/usr/include/libxml2 -Wall -Wpointer-arith 
-Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror 
-Wno-deprecated-register -pipe -D_REENTRANT
configure: BUILD Tools C++ FLAGS:   -I/usr/include/p11-kit-1 -g -O2
../../../../src/ssl/support.cc:114:23: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:114:63: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:124:24: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:124:65: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:234:61: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
../../../../src/ssl/support.cc:244:31: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
../../../../src/ssl/support.cc:473:96: error: invalid conversion from 'int 
(*)(CRYPTO_EX_DATA*, CRYPTO_EX_DATA*, void*, int, long int, void*) {aka int 
(*)(crypto_ex_data_st*, crypto_ex_data_st*, void*, int, long int, void*)}' to 
'int (*)(CRYPTO_EX_DATA*, const CRYPTO_EX_DATA*, void*, int, long int, void*) 
{aka int (*)(crypto_ex_data_st*, const crypto_ex_data_st*, void*, int, long 
int, void*)}' [-fpermissive]
../../../../src/ssl/support.cc:489:12: error: invalid use of incomplete type 
'const SSL {aka const struct ssl_st}'
../../../../src/ssl/support.cc:1117:56: error: 'unsigned char* 
ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:1117:114: error: 'unsigned char* 
ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Werror=deprecated-declarations]
../../../../src/ssl/support.cc:1246:20: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
../../../../src/ssl/support.cc:1247:24: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
../../../../src/ssl/support.cc:1281:39: error: invalid use of incomplete type 
'X509_STORE_CTX {aka struct x509_store_ctx_st}'
../../../../src/ssl/support.cc:1468:32: error: invalid use of incomplete type 
'SSL_SESSION {aka struct ssl_session_st}'
../../../../src/ssl/support.cc:1469:33: error: invalid use of incomplete type 
'SSL_SESSION {aka struct ssl_session_st}'
../../../../src/ssl/support.cc:1553:58: error: invalid conversion from 
'SSL_SESSION* (*)(SSL*, unsigned char*, int, int*) {aka ssl_session_st* 
(*)(ssl_st*, unsigned char*, int, int*)}' to 'SSL_SESSION* (*)(ssl_st*, const 
unsigned char*, int, int*) {aka ssl_session_st* (*)(ssl_st*, const unsigned 
char*, int, int*)}' [-fpermissive]
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' 
[-Werror]
make[4]: *** [support.lo] Error 1
../../../../src/ssl/gadgets.cc:23:26: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/gadgets.cc:23:67: error: 'RSA* RSA_generate_key(int, long 
unsigned int, void (*)(int, int, void*), void*)' is deprecated 
[-Werror=deprecated-declarations]
../../../../src/ssl/gadgets.cc:304:86: error: 'M_ASN1_INTEGER_dup' was not 
declared in this scope
../../../../src/ssl/gadgets.cc:335:67: error: 'M_ASN1_OCTET_STRING_new' was not 
declared in this scope
../../../../src/ssl/gadgets.cc:377:48: error: invalid use of incomplete type 
'struct x509_st'
../../../../src/ssl/gadgets.cc:406:74: error: 'M_ASN1_OCTET_STRING_new' was not 
declared in this scope
../../../../src/ssl/gadgets.cc:411:53: error: 'M_ASN1_OCTET_STRING_free' was 
not declared in this scope
../../../../src/ssl/gadgets.cc:801:63: error: invalid conversion from 'const 
GENERAL_NAME* {aka const GENERAL_NAME_st*}' to 'GENERAL_NAME* {aka 
GENERAL_NAME_st*}' [-fpermissive]
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' 
[-Werror]
make[4]: *** [gadgets.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure
[description-setter] Description set: 
_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to