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

noc at squid-cache.org noc at squid-cache.org
Thu Nov 17 12:11:27 UTC 2016


http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/14/------------------------------------------
[...truncated 34839 lines...]
                 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 'X509* readSslX509CertificatesChain(const char*, stack_st_X509*)':
../../../../src/ssl/support.cc:1333:54: error: 'BIO_s_file_internal' was not declared in this scope
     Ssl::BIO_Pointer bio(BIO_new(BIO_s_file_internal()));
                                                      ^
../../../../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:848: 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:6934: 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:5954: 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:583: 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:791: 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/bio.cc:47:19: error: variable 'BIO_METHOD SquidMethods' has initializer but incomplete type
../../../../src/ssl/bio.cc:154:25: error: 'SSL3_ST_SR_CLNT_HELLO_A' was not declared in this scope
../../../../src/ssl/bio.cc:155:25: error: 'SSL23_ST_SR_CLNT_HELLO_A' was not declared in this scope
../../../../src/ssl/bio.cc:156:25: error: 'SSL23_ST_SR_CLNT_HELLO_B' was not declared in this scope
../../../../src/ssl/bio.cc:157:25: error: 'SSL3_ST_SR_CLNT_HELLO_B' was not declared in this scope
../../../../src/ssl/bio.cc:158:25: error: 'SSL3_ST_SR_CLNT_HELLO_C' was not declared in this scope
../../../../src/ssl/bio.cc:512:7: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:513:7: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:514:7: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:515:7: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:523:40: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:524:10: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:532:49: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:541:49: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:569:22: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:570:14: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:571:14: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:576:18: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:577:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:591:18: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:592:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:622:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/bio.cc:656:41: error: invalid use of incomplete type 'const SSL_METHOD {aka const struct ssl_method_st}'
../../../../src/ssl/bio.cc:660:36: error: invalid use of incomplete type 'const SSL_CIPHER {aka const struct ssl_cipher_st}'
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' [-Werror]
make[4]: *** [bio.lo] Error 1
../../../../src/ssl/PeekingPeerConnector.cc:68:61: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/PeekingPeerConnector.cc:81:61: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/PeekingPeerConnector.cc:172:70: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/PeekingPeerConnector.cc:179:77: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/PeekingPeerConnector.cc:265:61: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
../../../../src/ssl/PeekingPeerConnector.cc:282:61: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
cc1plus: error: unrecognized command line option '-Wno-deprecated-register' [-Werror]
make[4]: *** [PeekingPeerConnector.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:1333:54: error: 'BIO_s_file_internal' was not declared in this scope
../../../../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