[squid-dev] Build failed in Jenkins: template-full-matrix » clang,rs-fbsd-10 #408

noc at squid-cache.org noc at squid-cache.org
Wed Jul 12 05:39:00 UTC 2017


See <https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/408/display/redirect>

------------------------------------------
[...truncated 1.38 MB...]
                                                    ~~~ ^
../../src/ipcache.h:126:54: error: member reference type 'RawIterator' (aka 'int') is not a pointer
    reference operator *() const { return position_->ip; }
                                          ~~~~~~~~~  ^
../../src/ipcache.h:127:54: error: member reference type 'RawIterator' (aka 'int') is not a pointer
    pointer operator ->() const { return &position_->ip; }
                                          ~~~~~~~~~  ^
../../src/ipcache.h:143:18: error: no type named 'vector' in namespace 'std'; did you mean 'hecto'?
    typedef std::vector<CachedIp> Raw;
            ~~~~~^~~~~~
                 hecto
/usr/include/c++/v1/ratio:265:43: note: 'hecto' declared here
typedef ratio<                100LL, 1LL> hecto;
                                          ^
In file included from ../../src/tests/stub_ipcache.cc:10:
../../src/ipcache.h:143:24: error: expected member name or ';' after declaration specifiers
    typedef std::vector<CachedIp> Raw;
    ~~~~~~~~~~~~~~~~~~~^
../../src/ipcache.h:144:18: error: no type named 'const_iterator' in 'Raw'
    typedef Raw::const_iterator RawIterator;
            ~~~~~^
../../src/ipcache.h:154:87: error: no member named 'size' in 'Raw'; did you mean 'size_'?
    explicit GoodIpsIterator(const Raw &raw): raw_(raw), position_(0), processed_(raw.size()) {}
                                                                                      ^~~~
                                                                                      size_
../../src/Debug.h:199:12: note: 'size_' declared here
    size_t size_; ///< data length
           ^
In file included from ../../src/tests/stub_ipcache.cc:10:
../../src/ipcache.h:154:91: error: called object type 'size_t' (aka 'unsigned long') is not a function or function pointer
    explicit GoodIpsIterator(const Raw &raw): raw_(raw), position_(0), processed_(raw.size()) {}
                                                                                  ~~~~~~~~^
../../src/ipcache.h:166:68: error: no member named 'size' in 'Raw'; did you mean 'size_'?
    const CachedIp &current() const { return raw_[position_ % raw_.size()]; }
                                                                   ^~~~
                                                                   size_
../../src/Debug.h:199:12: note: 'size_' declared here
    size_t size_; ///< data length
           ^
In file included from ../../src/tests/stub_ipcache.cc:10:
../../src/ipcache.h:166:72: error: called object type 'size_t' (aka 'unsigned long') is not a function or function pointer
    const CachedIp &current() const { return raw_[position_ % raw_.size()]; }
                                                              ~~~~~~~~~^
../../src/ipcache.h:168:44: error: no member named 'size' in 'Raw'; did you mean 'size_'?
    void sync() { while (processed_ < raw_.size() && current().bad()) next(); }
                                           ^~~~
                                           size_
../../src/Debug.h:199:12: note: 'size_' declared here
    size_t size_; ///< data length
           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[5]: *** [tests/stub_ipcache.o] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: Leaving directory `/usr<https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/ws/btlayer-00-default/squid-5.0.0-BZR/_build/src'>
gmake[4]: *** [check-am] Error 2
gmake[4]: Leaving directory `/usr<https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/ws/btlayer-00-default/squid-5.0.0-BZR/_build/src'>
gmake[3]: *** [check-recursive] Error 1
gmake[3]: Leaving directory `/usr<https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/ws/btlayer-00-default/squid-5.0.0-BZR/_build/src'>
gmake[2]: *** [check] Error 2
gmake[2]: Leaving directory `/usr<https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/ws/btlayer-00-default/squid-5.0.0-BZR/_build/src'>
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory `/usr<https://build.squid-cache.org/job/template-full-matrix/compiler=clang,label=rs-fbsd-10/ws/btlayer-00-default/squid-5.0.0-BZR/_build'>
gmake: *** [distcheck] Error 1
buildtest.sh result is 2
BUILD: .././test-suite/buildtests/layer-00-default.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 -std=c++11 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11 -I/usr/local/include
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 -std=c++11 -I/usr/local/include
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11 -I/usr/local/include
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
# XFAIL: 0
# FAIL:  0
../../src/ipcache.h:67:18: error: no type named 'vector' in namespace 'std'; did you mean 'hecto'?
../../src/ipcache.h:67:24: error: expected member name or ';' after declaration specifiers
../../src/ipcache.h:68:11: error: unknown type name 'Storage'
../../src/ipcache.h:96:5: error: unknown type name 'Storage'
../../src/ipcache.h:113:18: error: no type named 'vector' in namespace 'std'; did you mean 'hecto'?
../../src/ipcache.h:113:24: error: expected member name or ';' after declaration specifiers
../../src/ipcache.h:114:18: error: no type named 'const_iterator' in 'Raw'
../../src/ipcache.h:122:62: error: no member named 'cbegin' in 'Raw'
../../src/ipcache.h:124:57: error: no member named 'cend' in 'Raw'
../../src/ipcache.h:126:54: error: member reference type 'RawIterator' (aka 'int') is not a pointer
../../src/ipcache.h:127:54: error: member reference type 'RawIterator' (aka 'int') is not a pointer
../../src/ipcache.h:143:18: error: no type named 'vector' in namespace 'std'; did you mean 'hecto'?
../../src/ipcache.h:143:24: error: expected member name or ';' after declaration specifiers
../../src/ipcache.h:144:18: error: no type named 'const_iterator' in 'Raw'
../../src/ipcache.h:154:87: error: no member named 'size' in 'Raw'; did you mean 'size_'?
../../src/ipcache.h:154:91: error: called object type 'size_t' (aka 'unsigned long') is not a function or function pointer
../../src/ipcache.h:166:68: error: no member named 'size' in 'Raw'; did you mean 'size_'?
../../src/ipcache.h:166:72: error: called object type 'size_t' (aka 'unsigned long') is not a function or function pointer
../../src/ipcache.h:168:44: error: no member named 'size' in 'Raw'; did you mean 'size_'?
fatal error: too many errors emitted, stopping now [-ferror-limit=]
gmake[5]: *** [tests/stub_ipcache.o] Error 1
gmake[4]: *** [check-am] Error 2
gmake[3]: *** [check-recursive] Error 1
gmake[2]: *** [check] Error 2
gmake[1]: *** [check-recursive] Error 1
gmake: *** [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