[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-CentOs-icc #1499
noc at squid-cache.org
noc at squid-cache.org
Tue Nov 18 08:20:31 UTC 2014
See <http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/1499/changes>
Changes:
[Amos Jeffries] Move the AnyP::ProtocolVersion stream operator into AnyP:: namespace
Clang compiler detects an issue determining which of multiple overloaded
operator<<() at global scope apply to the display of
AnyP::ProtocolVersion.
Moving the operator into the class itself is not possible due to similar
scoping issues with GCC failing to detect it as an inline member from
inside expanded templates.
To resolve both issues we can move the operator only to the AnyP::
namespace but no deeper.
------------------------------------------
[...truncated 8150 lines...]
../../src/tests/testHttp1Parser.cc(255): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.needsMore = true,
^
../../src/tests/testHttp1Parser.cc(256): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parserState = Http1::HTTP_PARSE_MIME,
^
../../src/tests/testHttp1Parser.cc(257): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.status = Http::scOkay,
^
../../src/tests/testHttp1Parser.cc(258): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgStart = 0,
^
../../src/tests/testHttp1Parser.cc(259): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgEnd = (int)input.length()-1,
^
../../src/tests/testHttp1Parser.cc(260): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.suffixSz = 0,
^
../../src/tests/testHttp1Parser.cc(261): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodStart = 0,
^
../../src/tests/testHttp1Parser.cc(262): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodEnd = 2,
^
../../src/tests/testHttp1Parser.cc(263): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.method = HttpRequestMethod(Http::METHOD_GET),
^
../../src/tests/testHttp1Parser.cc(264): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriStart = 4,
^
../../src/tests/testHttp1Parser.cc(265): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriEnd = 4,
^
../../src/tests/testHttp1Parser.cc(266): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uri = "/",
^
../../src/tests/testHttp1Parser.cc(267): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionStart = 6,
^
../../src/tests/testHttp1Parser.cc(268): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionEnd = 13,
^
../../src/tests/testHttp1Parser.cc(269): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.version = AnyP::ProtocolVersion(AnyP::PROTO_HTTP,1,2)
^
../../src/tests/testHttp1Parser.cc(280): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parsed = false,
^
../../src/tests/testHttp1Parser.cc(281): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.needsMore = false,
^
../../src/tests/testHttp1Parser.cc(282): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parserState = Http1::HTTP_PARSE_MIME,
^
../../src/tests/testHttp1Parser.cc(283): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.status = Http::scHttpVersionNotSupported,
^
../../src/tests/testHttp1Parser.cc(284): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgStart = 0,
^
../../src/tests/testHttp1Parser.cc(285): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgEnd = (int)input.length()-1,
^
../../src/tests/testHttp1Parser.cc(286): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.suffixSz = input.length(),
^
../../src/tests/testHttp1Parser.cc(287): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodStart = 0,
^
../../src/tests/testHttp1Parser.cc(288): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodEnd = 2,
^
../../src/tests/testHttp1Parser.cc(289): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.method = HttpRequestMethod(Http::METHOD_GET),
^
../../src/tests/testHttp1Parser.cc(290): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriStart = 4,
^
../../src/tests/testHttp1Parser.cc(291): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriEnd = 4,
^
../../src/tests/testHttp1Parser.cc(292): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uri = "/",
^
../../src/tests/testHttp1Parser.cc(293): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionStart = 6,
^
../../src/tests/testHttp1Parser.cc(294): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionEnd = 15,
^
../../src/tests/testHttp1Parser.cc(295): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.version = AnyP::ProtocolVersion()
^
../../src/tests/testHttp1Parser.cc(306): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parsed = false,
^
../../src/tests/testHttp1Parser.cc(307): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.needsMore = false,
^
../../src/tests/testHttp1Parser.cc(308): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parserState = Http1::HTTP_PARSE_DONE,
^
../../src/tests/testHttp1Parser.cc(309): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.status = Http::scHttpVersionNotSupported,
^
../../src/tests/testHttp1Parser.cc(310): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgStart = 0,
^
../../src/tests/testHttp1Parser.cc(311): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.msgEnd = (int)input.length()-1,
^
../../src/tests/testHttp1Parser.cc(312): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.suffixSz = input.length(),
^
../../src/tests/testHttp1Parser.cc(313): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodStart = 0,
^
../../src/tests/testHttp1Parser.cc(314): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.methodEnd = 2,
^
../../src/tests/testHttp1Parser.cc(315): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.method = HttpRequestMethod(Http::METHOD_GET),
^
../../src/tests/testHttp1Parser.cc(316): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriStart = 4,
^
../../src/tests/testHttp1Parser.cc(317): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uriEnd = 4,
^
../../src/tests/testHttp1Parser.cc(318): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.uri = "/",
^
../../src/tests/testHttp1Parser.cc(319): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionStart = 6,
^
../../src/tests/testHttp1Parser.cc(320): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.versionEnd = 12,
^
../../src/tests/testHttp1Parser.cc(321): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.version = AnyP::ProtocolVersion()
^
../../src/tests/testHttp1Parser.cc(332): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parsed = false,
^
../../src/tests/testHttp1Parser.cc(333): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.needsMore = false,
^
../../src/tests/testHttp1Parser.cc(334): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.parserState = Http1::HTTP_PARSE_DONE,
^
../../src/tests/testHttp1Parser.cc(335): error #2084: designator may not specify a non-POD (Plain Old Data) subobject
.status = Http::scHttpVersionNotSupported,
^
compilation aborted for ../../src/tests/testHttp1Parser.cc (code 4)
make[5]: *** [tests/testHttp1Parser.o] Error 4
make[5]: *** Waiting for unfinished jobs....
libtool: link: icpc -gcc-sys -Werror -D_REENTRANT -g -std=c++11 -g -o tests/testHttpRequest AccessLogEntry.o RequestFlags.o HttpRequest.o tests/stub_mem.o String.o tests/testHttpRequest.o tests/testHttpRequestMethod.o tests/testMain.o tests/stub_DiskIOModule.o tests/stub_libauth.o tests/stub_main_cc.o tests/stub_ipc_Forwarder.o tests/stub_libeui.o tests/stub_store_stats.o tests/stub_EventLoop.o time.o BodyPipe.o cache_manager.o YesNoNone.o cache_cf.o debug.o tests/stub_CacheDigest.o tests/stub_carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o clientStream.o tests/stub_CollapsedForwarding.o ConfigOption.o ConfigParser.o CpuAffinityMap.o CpuAffinitySet.o disk.o dlink.o dns_internal.o DnsLookupDetails.o errorpage.o tests/stub_ETag.o external_acl.o ExternalACLEntry.o tests/stub_fatal.o fd.o fde.o fqdncache.o FwdState.o gopher.o helper.o htcp.o http.o HttpBody.o HttpHeader.o HttpHeaderTools.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpMsg.o HttpReply.o icp_v2.o icp_v3.o ipc.o ipcache.o int.o internal.o SquidList.o MasterXaction.o multicast.o mem_node.o MemBuf.o MemObject.o mime.o mime_header.o neighbors.o Notes.o Packer.o Parsing.o pconn.o peer_digest.o peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o peer_userhash.o PeerPoolMgr.o tests/stub_libauth_acls.o tests/stub_redirect.o refresh.o RemovalPolicy.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o snmp_core.o snmp_agent.o SquidMath.o stat.o StatCounters.o StatHist.o stmem.o store.o store_client.o tests/stub_store_digest.o store_dir.o store_io.o store_key_md5.o store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o StoreFileSystem.o StoreIOState.o tests/stub_StoreMeta.o StoreMetaUnpacker.o StoreSwapLogData.o StrList.o event.o tools.o Transients.o tests/stub_tunnel.o tests/stub_SwapDir.o MemStore.o url.o urn.o tests/stub_wccp2.o tests/stub_whois.o FadingCounter.o wordlist.o err_type.o err_detail_type.o globals.o hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o swap_log_op.o ./.libs/libsquid.a clients/.libs/libclients.a servers/.libs/libservers.a helper/.libs/libhelper.a ftp/.libs/libftp.a http/.libs/libsquid-http.a ident/.libs/libident.a acl/.libs/libacls.a acl/.libs/libstate.a acl/.libs/libapi.a ip/.libs/libip.a fs/.libs/libfs.a ipc/.libs/libipc.a parser/.libs/libsquid-parser.a base/.libs/libbase.a mgr/.libs/libmgr.a anyp/.libs/libanyp.a snmp/.libs/libsnmp.a ../lib/snmplib/.libs/libsnmplib.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a comm/.libs/libcomm.a log/.libs/liblog.a format/.libs/libformat.a repl/liblru.a adaptation/.libs/libadaptation.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lpthread -lnettle -lcppunit -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../compat/.libs/libcompat-squid.a -lnsl -lresolv -lcap -lrt
libtool: link: icpc -gcc-sys -Werror -D_REENTRANT -g -std=c++11 -g -o tests/testURL AccessLogEntry.o BodyPipe.o YesNoNone.o cache_cf.o tests/stub_cache_manager.o tests/stub_CacheDigest.o tests/stub_carp.o cbdata.o ChunkedCodingParser.o client_db.o client_side.o client_side_reply.o client_side_request.o clientStream.o tests/stub_CollapsedForwarding.o ConfigOption.o ConfigParser.o CpuAffinityMap.o CpuAffinitySet.o disk.o DiskIO/ReadRequest.o DiskIO/WriteRequest.o dlink.o dns_internal.o DnsLookupDetails.o errorpage.o ETag.o event.o external_acl.o ExternalACLEntry.o tests/stub_fatal.o fd.o fde.o filemap.o fqdncache.o FwdState.o gopher.o helper.o htcp.o http.o HttpBody.o HttpHdrCc.o HttpHdrContRange.o HttpHdrRange.o HttpHdrSc.o HttpHdrScTarget.o HttpHeader.o HttpHeaderTools.o HttpMsg.o HttpReply.o PeerPoolMgr.o RequestFlags.o HttpRequest.o icp_v2.o icp_v3.o ipc.o ipcache.o int.o internal.o SquidList.o MasterXaction.o multicast.o tests/stub_mem.o mem_node.o MemBuf.o MemObject.o mime.o mime_header.o neighbors.o Notes.o Packer.o Parsing.o pconn.o peer_digest.o peer_proxy_negotiate_auth.o peer_select.o peer_sourcehash.o peer_userhash.o tests/stub_redirect.o refresh.o RemovalPolicy.o MemBlob.o SBuf.o SBufExceptions.o tests/stub_SBufDetailedStats.o snmp_core.o snmp_agent.o SquidMath.o stat.o StatCounters.o tests/stub_StatHist.o stmem.o store.o store_client.o tests/stub_store_digest.o store_dir.o store_io.o store_key_md5.o store_log.o store_rebuild.o store_swapin.o store_swapmeta.o store_swapout.o StoreFileSystem.o StoreIOState.o tests/stub_StoreMeta.o StoreMetaUnpacker.o StoreSwapLogData.o String.o StrList.o Transients.o tests/stub_SwapDir.o MemStore.o tests/stub_debug.o tests/stub_DiskIOModule.o tests/stub_libauth_acls.o tests/stub_libauth.o tests/stub_main_cc.o tests/stub_ipc_Forwarder.o tests/stub_store_stats.o tests/testURL.o tests/testUriScheme.o tests/testMain.o tests/stub_time.o tests/stub_EventLoop.o tools.o tests/stub_tunnel.o url.o urn.o tests/stub_wccp2.o tests/stub_whois.o FadingCounter.o wordlist.o err_type.o err_detail_type.o globals.o hier_code.o icp_opcode.o LogTags.o lookup_t.o repl_modules.o swap_log_op.o ./.libs/libsquid.a clients/.libs/libclients.a servers/.libs/libservers.a helper/.libs/libhelper.a http/.libs/libsquid-http.a ftp/.libs/libftp.a parser/.libs/libsquid-parser.a anyp/.libs/libanyp.a ident/.libs/libident.a acl/.libs/libacls.a eui/.libs/libeui.a acl/.libs/libstate.a acl/.libs/libapi.a base/.libs/libbase.a ip/.libs/libip.a fs/.libs/libfs.a ipc/.libs/libipc.a mgr/.libs/libmgr.a snmp/.libs/libsnmp.a ../lib/snmplib/.libs/libsnmplib.a icmp/.libs/libicmp.a icmp/.libs/libicmp-core.a comm/.libs/libcomm.a log/.libs/liblog.a -lpthread format/.libs/libformat.a repl/liblru.a adaptation/.libs/libadaptation.a ../lib/.libs/libmisccontainers.a ../lib/.libs/libmiscencoding.a ../lib/.libs/libmiscutil.a -lnettle -lcppunit -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err ../compat/.libs/libcompat-squid.a -lnsl -lresolv -lcap -lrt
make[5]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[2]: *** [check] Error 2
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/src'>
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-CentOs-icc/ws/btlayer-00-default/squid-3.HEAD-BZR/_build'>
make: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.opts
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g
configure: BUILD EXTRA C FLAGS: -Werror -D_REENTRANT
configure: BUILD C++ FLAGS: -g -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Werror -D_REENTRANT
configure: BUILD Tools C++ FLAGS: -g -std=c++11
configure: BUILD LIBRARIES:
configure: BUILD EXTRA LIBRARIES: -lnsl -lresolv -lcap -lrt
configure: BUILD OBJECTS:
configure: BUILD EXTRA OBJECTS:
configure: BUILD C FLAGS: -g
configure: BUILD EXTRA C FLAGS: -Werror -D_REENTRANT
configure: BUILD C++ FLAGS: -g -std=c++11
configure: BUILD EXTRA C++ FLAGS: -Werror -D_REENTRANT
configure: BUILD Tools C++ FLAGS: -g -std=c++11
cat: ../../src/DiskIO/../../scripts/boilerplate.h: No such file or directory
make[5]: *** [tests/testHttp1Parser.o] Error 4
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [distcheck] Error 1
Build FAILED.
Build step 'Execute shell' marked build as failure
More information about the squid-dev
mailing list