Build failed in Jenkins: 3.HEAD-amd64-FreeBSD-10-clang #80

From: <noc_at_squid-cache.org>
Date: Sun, 1 Jun 2014 17:19:33 +0200 (CEST)

See <http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/80/changes>

Changes:

[Amos Jeffries] Docs: update reference to RFC7230 (draft-ietf-httpbis-p1-messaging-26)

[Amos Jeffries] Cleanup: de-duplicate auth_param program parameter code

Moves the "program" parse and dump code into Auth::Config.

Also, changes API to Auth::Config::dump() to not dump any config settings
for schemes which are not configured with a "program". Including scheme
specific settings.

Also, fixes missing Digest "utf8" parameter in config dump.

[Amos Jeffries] Docs: update auth_param documentation

[Amos Jeffries] Cleanup: de-duplicate auth_param realm configuration

Move realm parse and config dump logics to Auth::Config base object.
This de-duplicates Basic, Digest (and future schemes ie Bearer) config
processing code. Also makes realm available to NTLM and Negotiate
schemes, although at present it remains unused by those schemes.

Also, convert the realm parameter string to an SBuf. Removing the need
for some memory maintenance code.

[Amos Jeffries] Cleanup: de-duplicate handling of auth_param 'children'

[Amos Jeffries] Docs: HTTP 308 status is now RFC 7238

[Amos Jeffries] Bug 4056: assertion MemPools[type] from netdbExchangeStart()

[Amos Jeffries] Cleanup: document and rename Auth::UserRequest::module_start to startHelperLookup

[Amos Jeffries] Cleanup: drop Auth::User::proxy_auth_list header cache

This list/cache was originally used to short-circuit auth helper lookups
based on previousy seen [Proxy-]Authorization header strings.
However, that permitted replay attacks in most auth schemes and has been
replaced by scheme-specific mechanisms:

* Basic and Digest credentials are cached in the global user name cache
wih additional nonce/password comparisons to verify located entries.

* NTLM and Negotiate credentials are cached in the ConnStateData with
exact-match comparison done to verify tokens.

[Amos Jeffries] Docs: mention -k restart in command line usage

[Christos Tsantilas] "ssl_bump none" mode crashes squid

After r13324 patch the SBuf argument of the ConnStateData::handleReadData member
is used only to check if ConnStateData::In::buf is correctly filled with read
data. ConnStateData::handleReadData considers that the data already written
in ConnStateData::in.buf and checks if the passed Sbuf argument is the
ConnStateData::in.buf:

bool ConnStateData::handleReadData(SBuf *buf)
{
assert(buf == &in.buf);
.....

The httpsSslBumpAccessCheckDone function needs to write the CONNECT request
generated internally to force tunnel mode, in ConnStateData::In::buf and then
call ConnStateData::handleReadData method.

[Amos Jeffries] Bug 4065: round-robin neighbor selection with unequal weights

[Amos Jeffries] Cleanup: SBuf report how many bytes consume()d

------------------------------------------
[...truncated 28597 lines...]
        ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:117:9: error: member access into incomplete type 'struct icmp'
    icmp->icmp_cksum = 0;
        ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:118:9: error: member access into incomplete type 'struct icmp'
    icmp->icmp_id = icmp_ident;
        ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:119:9: error: member access into incomplete type 'struct icmp'
    icmp->icmp_seq = (unsigned short) icmp_pkts_sent;
        ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:123:35: error: arithmetic on a pointer to an incomplete type 'struct icmp'
    echo = (icmpEchoData *) (icmp + 1);
                             ~~~~ ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:138:9: error: member access into incomplete type 'struct icmp'
    icmp->icmp_cksum = CheckSum((unsigned short *) icmp, icmp_pktsize);
        ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:142:28: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
    assert(icmp_pktsize <= MAX_PKT4_SZ);
    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
../../../src/icmp/Icmp.h:40:77: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                            ^
../../../src/Debug.h:48:23: note: expanded from macro 'assert'
#define assert(EX) ((EX)?((void)0):xassert( # EX , __FILE__, __LINE__))
                      ^
../../../src/icmp/Icmp4.cc:95:28: note: forward declaration of 'icmp'
    LOCAL_ARRAY(char, pkt, MAX_PKT4_SZ);
                           ^
../../../src/icmp/Icmp.h:40:91: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                                          ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../include/leakcheck.h:10:54: note: expanded from macro 'LOCAL_ARRAY'
#define LOCAL_ARRAY(type,name,size) static type name[size]
                                                     ^
../../../src/icmp/Icmp4.cc:180:31: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
        pkt = (char *)xmalloc(MAX_PKT4_SZ);
                              ^~~~~~~~~~~
../../../src/icmp/Icmp.h:40:77: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                            ^ ~~~~~~~~~~~~~~~~
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:185:18: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
                 MAX_PKT4_SZ,
                 ^~~~~~~~~~~
../../../src/icmp/Icmp.h:40:77: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                            ^ ~~~~~~~~~~~~~~~~
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:224:13: error: member access into incomplete type 'struct icmp'
    if (icmp->icmp_type != ICMP_ECHOREPLY) {
            ^
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:229:13: error: member access into incomplete type 'struct icmp'
    if (icmp->icmp_id != icmp_ident) {
            ^
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:234:44: error: arithmetic on a pointer to an incomplete type 'struct icmp'
    echo = (icmpEchoData *) (void *) (icmp + 1);
                                      ~~~~ ^
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:244:59: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
    preply.psize = n - iphdrlen - (sizeof(icmpEchoData) - MAX_PKT4_SZ);
                                                          ^~~~~~~~~~~
../../../src/icmp/Icmp.h:40:77: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                            ^ ~~~~~~~~~~~~~~~~
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:246:59: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
    control.SendResult(preply, (sizeof(pingerReplyData) - MAX_PKT4_SZ + preply.psize) );
                                                          ^~~~~~~~~~~
../../../src/icmp/Icmp.h:40:77: note: expanded from macro 'MAX_PKT4_SZ'
#define MAX_PKT4_SZ (MAX_PAYLOAD + sizeof(struct timeval) + sizeof (char) + sizeof(struct icmphdr) + 1)
                                                                            ^ ~~~~~~~~~~~~~~~~
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
../../../src/icmp/Icmp4.cc:248:26: error: member access into incomplete type 'struct icmp'
    Log(preply.from, icmp->icmp_type, icmpPktStr[icmp->icmp_type], preply.rtt, preply.hops);
                         ^
../../../src/icmp/Icmp4.cc:168:12: note: forward declaration of 'icmp'
    struct icmphdr *icmp = NULL;
           ^
../../../src/icmp/Icmp4.h:48:17: note: expanded from macro 'icmphdr'
#define icmphdr icmp
                ^
18 errors generated.
gmake[4]: *** [Icmp4.o] Error 1
gmake[4]: *** Waiting for unfinished jobs....
libtool: compile: ccache clang++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=NULL -I../../.. -I../../../include -I../../../lib -I../../../src -I../../include -I/usr/local/include -I/usr/include -I/usr/include -I../../../libltdl -I/usr/local/include/libxml2 -I/usr/include -I/usr/include -I/usr/local/include/libxml2 -Werror -Qunused-arguments -D_REENTRANT -g -O2 -I/usr/local/include -MT net_db.lo -MD -MP -MF .deps/net_db.Tpo -c ../../../src/icmp/net_db.cc -fPIC -DPIC -o net_db.o >/dev/null 2>&1
mv -f .deps/net_db.Tpo .deps/net_db.Plo
gmake[4]: Leaving directory `/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/ws/btlayer-02-maximus/squid-3.HEAD-BZR/_build/src/icmp'>
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/ws/btlayer-02-maximus/squid-3.HEAD-BZR/_build/src'>
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/ws/btlayer-02-maximus/squid-3.HEAD-BZR/_build/src'>
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr<http://build.squid-cache.org/job/3.HEAD-amd64-FreeBSD-10-clang/ws/btlayer-02-maximus/squid-3.HEAD-BZR/_build'>
gmake: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-02-maximus.opts
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -I/usr/local/include/libxml2 -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lm
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C FLAGS: -Werror -Qunused-arguments -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS: -I/usr/local/include/libxml2 -Werror -Qunused-arguments -D_REENTRANT
../../../src/icmp/Icmp4.cc:95:28: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:99:27: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:115:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:116:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:117:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:118:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:119:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:123:35: error: arithmetic on a pointer to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:138:9: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:142:28: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:180:31: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:185:18: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:224:13: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:229:13: error: member access into incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:234:44: error: arithmetic on a pointer to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:244:59: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:246:59: error: invalid application of 'sizeof' to an incomplete type 'struct icmp'
../../../src/icmp/Icmp4.cc:248:26: error: member access into incomplete type 'struct icmp'
gmake[4]: *** [Icmp4.o] Error 1
gmake[3]: *** [all-recursive] Error 1
gmake[2]: *** [all] Error 2
gmake[1]: *** [all-recursive] Error 1
gmake: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure
Received on Sun Jun 01 2014 - 15:19:36 MDT

This archive was generated by hypermail 2.2.0 : Mon Jun 02 2014 - 12:00:10 MDT