[squid-dev] Build failed in Jenkins: 5-matrix » gcc,d-debian-unstable #16
noc at squid-cache.org
noc at squid-cache.org
Fri Nov 18 10:47:09 UTC 2016
http://build.squid-cache.org/job/5-matrix/compiler=gcc,label=d-debian-unstable/16/------------------------------------------
[...truncated 34378 lines...]
../../../../src/ssl/bio.cc:523:40: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
delete static_cast<Ssl::Bio*>(table->ptr);
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:524:10: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
table->ptr = NULL;
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc: In function 'int squid_bio_write(BIO*, const char*, int)':
../../../../src/ssl/bio.cc:532:49: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
Ssl::Bio *bio = static_cast<Ssl::Bio*>(table->ptr);
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc: In function 'int squid_bio_read(BIO*, char*, int)':
../../../../src/ssl/bio.cc:541:49: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
Ssl::Bio *bio = static_cast<Ssl::Bio*>(table->ptr);
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
In file included from ../../../../src/sbuf/SBuf.h:15:0,
from ../../../../src/ssl/support.h:18,
from ../../../../src/ssl/bio.cc:12:
../../../../src/ssl/bio.cc: In function 'long int squid_bio_ctrl(BIO*, int, long int, void*)':
../../../../src/ssl/bio.cc:569:22: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
assert(!table->ptr);
^
../../../../src/Debug.h:30:23: note: in definition of macro 'assert'
#define assert(EX) ((EX)?((void)0):xassert( # EX , __FILE__, __LINE__))
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:570:14: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
table->ptr = bio;
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:571:14: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
table->init = 1;
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:576:18: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
if (table->init) {
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:577:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
Ssl::Bio *bio = static_cast<Ssl::Bio*>(table->ptr);
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:591:18: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
if (table->init) {
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc:592:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
Ssl::Bio *bio = static_cast<Ssl::Bio*>(table->ptr);
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc: In function 'void squid_ssl_info(const SSL*, int, int)':
../../../../src/ssl/bio.cc:622:57: error: invalid use of incomplete type 'BIO {aka struct bio_st}'
if (Ssl::Bio *bio = static_cast<Ssl::Bio*>(table->ptr))
^~
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/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ossl_typ.h:79:16: note: forward declaration of 'BIO {aka struct bio_st}'
typedef struct bio_st BIO;
^~~~~~
../../../../src/ssl/bio.cc: In function 'void applyTlsDetailsToSSL(SSL*, const Pointer&, Ssl::BumpMode)':
../../../../src/ssl/bio.cc:656:41: error: invalid use of incomplete type 'const SSL_METHOD {aka const struct ssl_method_st}'
const SSL_CIPHER *c = method->get_cipher_by_char(cbytes);
^~
In file included from ../../../../src/security/Context.h:17:0,
from ../../../../src/security/forward.h:13,
from ../../../../src/ssl/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ssl.h:226:16: note: forward declaration of 'SSL_METHOD {aka struct ssl_method_st}'
typedef struct ssl_method_st SSL_METHOD;
^~~~~~~~~~~~~
../../../../src/ssl/bio.cc:660:36: error: invalid use of incomplete type 'const SSL_CIPHER {aka const struct ssl_cipher_st}'
strCiphers.append(c->name);
^~
In file included from ../../../../src/security/Context.h:17:0,
from ../../../../src/security/forward.h:13,
from ../../../../src/ssl/support.h:19,
from ../../../../src/ssl/bio.cc:12:
/usr/include/openssl/ssl.h:227:16: note: forward declaration of 'SSL_CIPHER {aka struct ssl_cipher_st}'
typedef struct ssl_cipher_st SSL_CIPHER;
^~~~~~~~~~~~~
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 'bio.lo' failed
make[4]: *** [bio.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
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 context_storage.lo -MD -MP -MF .deps/context_storage.Tpo -c ../../../../src/ssl/context_storage.cc -fPIC -DPIC -o context_storage.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 ErrorDetail.lo -MD -MP -MF .deps/ErrorDetail.Tpo -c ../../../../src/ssl/ErrorDetail.cc -fPIC -DPIC -o ErrorDetail.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 cert_validate_message.lo -MD -MP -MF .deps/cert_validate_message.Tpo -c ../../../../src/ssl/cert_validate_message.cc -fPIC -DPIC -o cert_validate_message.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: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
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