[squid-dev] Build failed in Jenkins: 5-matrix » gcc,d-debian-unstable #22

noc at squid-cache.org noc at squid-cache.org
Sun Nov 20 18:29:03 UTC 2016


http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/22/------------------------------------------
[...truncated 34484 lines...]
../../../../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]
     ssl_ex_index_cert_error_check = SSL_get_ex_new_index(0, (void *) "cert_error_check", NULL, &ssl_dupAclChecklist, &ssl_freeAclChecklist);
                                                                                                ^~
In file included from ../../../../src/security/LockingPointer.h:16:0,
                 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/crypto.h:178:12: note:   initializing argument 5 of 'int CRYPTO_get_ex_new_index(int, long int, void*, void (*)(void*, void*, CRYPTO_EX_DATA*, int, long int, void*), int (*)(CRYPTO_EX_DATA*, const CRYPTO_EX_DATA*, void*, int, long int, void*), void (*)(void*, void*, CRYPTO_EX_DATA*, int, long int, void*))'
 __owur int CRYPTO_get_ex_new_index(int class_index, long argl, void *argp,
            ^~~~~~~~~~~~~~~~~~~~~~~
../../../../src/ssl/support.cc: In function 'void ssl_info_cb(const SSL*, int, int)':
../../../../src/ssl/support.cc:489:12: error: invalid use of incomplete type 'const SSL {aka const struct ssl_st}'
         ssl->s3->flags |= SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS;
            ^~
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:144:16: note: forward declaration of 'SSL {aka struct ssl_st}'
 typedef struct ssl_st SSL;
                ^~~~~~
../../../../src/ssl/support.cc: In function 'const char* hasAuthorityInfoAccessCaIssuers(X509*)':
../../../../src/ssl/support.cc:1117:56: error: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Werror=deprecated-declarations]
                 xstrncpy(uri, reinterpret_cast<char *>(ASN1_STRING_data(ad->location->d.uniformResourceIdentifier)), sizeof(uri));
                                                        ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/bn.h:31:0,
                 from /usr/include/openssl/asn1.h:24,
                 from /usr/include/openssl/objects.h:916,
                 from /usr/include/openssl/evp.h:27,
                 from /usr/include/openssl/x509.h:23,
                 from /usr/include/openssl/ssl.h:50,
                 from ../../../../src/security/Context.h:17,
                 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/asn1.h:553:1: note: declared here
 DEPRECATEDIN_1_1_0(unsigned char *ASN1_STRING_data(ASN1_STRING *x))
 ^
../../../../src/ssl/support.cc:1117:114: error: 'unsigned char* ASN1_STRING_data(ASN1_STRING*)' is deprecated [-Werror=deprecated-declarations]
                 xstrncpy(uri, reinterpret_cast<char *>(ASN1_STRING_data(ad->location->d.uniformResourceIdentifier)), sizeof(uri));
                                                                                                                  ^
In file included from /usr/include/openssl/bn.h:31:0,
                 from /usr/include/openssl/asn1.h:24,
                 from /usr/include/openssl/objects.h:916,
                 from /usr/include/openssl/evp.h:27,
                 from /usr/include/openssl/x509.h:23,
                 from /usr/include/openssl/ssl.h:50,
                 from ../../../../src/security/Context.h:17,
                 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/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]: 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/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
../../../../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
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: 


More information about the squid-dev mailing list