[squid-dev] Build failed in Jenkins: 3.HEAD-amd64-centos-6-clang #393

noc at squid-cache.org noc at squid-cache.org
Tue Dec 30 09:32:14 UTC 2014


See <http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/393/changes>

Changes:

[Amos Jeffries] Crypto-NG: Base64 crypto replacement

The existing Squid base64 code had ambiguous copyright licensing. In
particular it only referenced a dead URL for source copyright
ownership details. In all likelihood this was for an Open Source
implementation, but we dont have sufficient record of the original
license terms to be certain without a long investigation.

It has also been heavily modified and customized over the decades
since importing whih complicates the issue a lot.

It also does not match any of the common industry context-based API
patterns for encoders/decoders.


This patch replaces that logic with GPLv2 licensed code from the
Nettle crypto library. Either linking the library dynamically or in
its absence embedding the logic via our libmiscencoding library.

It also updates all code to the new API, and as a byproduct removes
several layers of deprecated wrapper functions which have grown in
over the years.

[Francesco Chemolli] Simplified MSNT basic auth helper

[Amos Jeffries] Cleanup: sync ModSelect.cc and ModSelectWin32.cc

[Amos Jeffries] Boilerplate: add copyright blurbs for cf.data files

------------------------------------------
[...truncated 3751 lines...]
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I .'
clang: warning: argument unused during compilation: '-I ../../libltdl'
clang: warning: argument unused during compilation: '-I libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
clang: warning: argument unused during compilation: '-I ../../libltdl/libltdl'
libtool: link: ranlib .libs/dlopen.a
libtool: compile:  ccache clang -DHAVE_CONFIG_H -I. -I../../libltdl -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../libltdl -Ilibltdl -I../../libltdl/libltdl -I../../libltdl/libltdl -g -O2 -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c ../../libltdl/ltdl.c -o libltdlc_la-ltdl.o >/dev/null 2>&1
libtool: link: ( cd ".libs" && rm -f "dlopen.la" && ln -s "../dlopen.la" "dlopen.la" )
mv -f .deps/libltdlc_la-ltdl.Tpo .deps/libltdlc_la-ltdl.Plo
/bin/sh ./libtool --tag=CC   --mode=link ccache clang  -g -O2 -no-undefined -dlpreopen dlopen.la   -o libltdlc.la  libltdlc_la-preopen.lo libltdlc_la-lt__alloc.lo libltdlc_la-lt_dlloader.lo libltdlc_la-lt_error.lo libltdlc_la-ltdl.lo libltdlc_la-slist.lo lt__strl.lo -ldl 
libtool: link: rm -f .libs/libltdlc.nm .libs/libltdlc.nmS .libs/libltdlc.nmT
libtool: link: (cd .libs && ccache clang -g -O2 -c -fno-builtin -fno-rtti -fno-exceptions  -fPIC -DPIC "libltdlcS.c")
libtool: link: rm -f ".libs/libltdlcS.c" ".libs/libltdlc.nm" ".libs/libltdlc.nmS" ".libs/libltdlc.nmT"
libtool: link: (cd .libs/libltdlc.lax/dlopen.a && ar x "<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl/./.libs/dlopen.a")>
libtool: link: ar cru .libs/libltdlc.a .libs/libltdlc_la-preopen.o .libs/libltdlc_la-lt__alloc.o .libs/libltdlc_la-lt_dlloader.o .libs/libltdlc_la-lt_error.o .libs/libltdlc_la-ltdl.o .libs/libltdlc_la-slist.o .libs/lt__strl.o .libs/libltdlcS.o  .libs/libltdlc.lax/dlopen.a/dlopen.o 
libtool: link: ranlib .libs/libltdlc.a
libtool: link: rm -fr .libs/libltdlc.lax
libtool: link: ( cd ".libs" && rm -f "libltdlc.la" && ln -s "../libltdlc.la" "libltdlc.la" )
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl'>
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/libltdl'>
Making all in scripts
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/scripts'>
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/scripts'>
Making all in icons
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/icons'>
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/icons'>
Making all in errors
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/errors'>
case "off" in \
	off) \
	    echo "WARNING: Translation is disabled."; \
	    ;; \
	""|no) \
	    echo "WARNING: Translation toolkit was not detected."; \
	    ;; \
	esac; \
	touch translate-warn
WARNING: Translation is disabled.
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/errors'>
Making all in doc
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
Making all in manuals
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc/manuals'>
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc/manuals'>
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/doc'>
Making all in helpers
make[2]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
Making all in basic_auth
make[3]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth'>
Making all in DB
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/DB'>
sed -e 's,[@]PERL[@],/usr/bin/perl,g' <../../../../helpers/basic_auth/DB/basic_db_auth.pl.in >basic_db_auth || (/bin/rm -f -f basic_db_auth ; exit 1)
pod2man basic_db_auth basic_db_auth.8
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/DB'>
Making all in LDAP
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/LDAP'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include     -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT basic_ldap_auth.o -MD -MP -MF .deps/basic_ldap_auth.Tpo -c -o basic_ldap_auth.o ../../../../helpers/basic_auth/LDAP/basic_ldap_auth.cc
mv -f .deps/basic_ldap_auth.Tpo .deps/basic_ldap_auth.Po
/bin/sh ../../../libtool --tag=CXX   --mode=link ccache clang++ -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11  -g -o basic_ldap_auth basic_ldap_auth.o ../../../lib/libmiscencoding.la ../../../compat/libcompat-squid.la  -lldap -llber 
libtool: link: ccache clang++ -Werror -Qunused-arguments -D_REENTRANT -g -O2 -std=c++11 -g -o basic_ldap_auth basic_ldap_auth.o  ../../../lib/.libs/libmiscencoding.a ../../../compat/.libs/libcompat-squid.a -lldap -llber
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/LDAP'>
Making all in MSNT
make[4]: Entering directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/MSNT'>
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/MSNT -I../../../../lib  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT msntauth.o -MD -MP -MF .deps/msntauth.Tpo -c -o msntauth.o ../../../../helpers/basic_auth/MSNT/msntauth.cc
ccache clang++ -DHAVE_CONFIG_H   -I../../../.. -I../../../../include -I../../../../lib -I../../../../src -I../../../include    -I../../../../helpers/basic_auth/MSNT -I../../../../lib  -Werror -Qunused-arguments  -D_REENTRANT -g -O2 -std=c++11 -MT valid.o -MD -MP -MF .deps/valid.Tpo -c -o valid.o ../../../../helpers/basic_auth/MSNT/valid.cc
mv -f .deps/valid.Tpo .deps/valid.Po
In file included from ../../../../helpers/basic_auth/MSNT/msntauth.cc:46:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:41:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:66:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:60:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:57:14: error: rvalue reference to type 'typename std::remove_reference<domaincontroller &>::type' (aka 'domaincontroller') cannot bind to lvalue of type 'domaincontroller'
    { return __t; }
             ^~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:302:12: note: in instantiation of function template specialization 'std::move<domaincontroller &>' requested here
      std::move(*(this->_M_impl._M_finish - 1)));
           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741:4: note: in instantiation of function template specialization 'std::vector<domaincontroller, std::allocator<domaincontroller> >::_M_insert_aux<const domaincontroller &>' requested here
   _M_insert_aux(end(), __x);
   ^
../../../../helpers/basic_auth/MSNT/msntauth.cc:112:27: note: in instantiation of member function 'std::vector<domaincontroller, std::allocator<domaincontroller> >::push_back' requested here
        domaincontrollers.push_back(dc);
                          ^
In file included from ../../../../helpers/basic_auth/MSNT/msntauth.cc:46:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:43:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/ios_base.h:43:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/locale_classes.h:42:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/string:43:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/allocator.h:48:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/x86_64-redhat-linux/bits/c++allocator.h:34:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:111:27: error: no matching function for call to 'forward'
 { ::new((void *)__p) _Tp(std::forward<_Args>(__args)...); }
                          ^~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:301:18: note: in instantiation of function template specialization '__gnu_cxx::new_allocator<domaincontroller>::construct<domaincontroller>' requested here
   this->_M_impl.construct(this->_M_impl._M_finish,
                 ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741:4: note: in instantiation of function template specialization 'std::vector<domaincontroller, std::allocator<domaincontroller> >::_M_insert_aux<const domaincontroller &>' requested here
   _M_insert_aux(end(), __x);
   ^
../../../../helpers/basic_auth/MSNT/msntauth.cc:112:27: note: in instantiation of member function 'std::vector<domaincontroller, std::allocator<domaincontroller> >::push_back' requested here
        domaincontrollers.push_back(dc);
                          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:51:5: note: candidate function [with _Tp = domaincontroller] not viable: no known conversion from 'domaincontroller' to 'typename std::identity<domaincontroller>::type &&' (aka 'domaincontroller &&') for 1st argument
    forward(typename std::identity<_Tp>::type&& __t)
    ^
In file included from ../../../../helpers/basic_auth/MSNT/msntauth.cc:46:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:41:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:561:20: error: no matching function for call to 'move'
     *--__result = std::move(*--__last);
                   ^~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:593:45: note: in instantiation of function template specialization 'std::__copy_move_backward<true, false, std::random_access_iterator_tag>::__copy_move_b<domaincontroller *, domaincontroller *>' requested here
                                _Category>::__copy_move_b(__first,
                                            ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:602:24: note: in instantiation of function template specialization 'std::__copy_move_backward_a<true, domaincontroller *, domaincontroller *>' requested here
      return _BI2(std::__copy_move_backward_a<_IsMove>
                       ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:674:20: note: in instantiation of function template specialization 'std::__copy_move_backward_a2<true, domaincontroller *, domaincontroller *>' requested here
      return (std::__copy_move_backward_a2<true>
                   ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:308:9: note: in instantiation of function template specialization 'std::move_backward<domaincontroller *, domaincontroller *>' requested here
   std::move_backward(__position.base(), this->_M_impl._M_finish - 2, this->_M_impl._M_finish - 1);
        ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741:4: note: in instantiation of function template specialization 'std::vector<domaincontroller, std::allocator<domaincontroller> >::_M_insert_aux<const domaincontroller &>' requested here
   _M_insert_aux(end(), __x);
   ^
../../../../helpers/basic_auth/MSNT/msntauth.cc:112:27: note: in instantiation of member function 'std::vector<domaincontroller, std::allocator<domaincontroller> >::push_back' requested here
        domaincontrollers.push_back(dc);
                          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:56:5: note: candidate template ignored: substitution failure [with _Tp = domaincontroller &]
    move(_Tp&& __t)
    ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:491:5: note: candidate function template not viable: requires 3 arguments, but 1 was provided
    move(_II __first, _II __last, _OI __result)
    ^
In file included from ../../../../helpers/basic_auth/MSNT/msntauth.cc:46:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/iostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ostream:40:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ios:41:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/char_traits.h:41:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:69:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_iterator.h:916:16: error: rvalue reference to type 'value_type' (aka 'domaincontroller') cannot bind to lvalue of type 'domaincontroller'
      { return *_M_current; }
               ^~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:74:28: note: in instantiation of member function 'std::move_iterator<domaincontroller *>::operator*' requested here
  std::_Construct(&*__cur, *__first);
                           ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:116:2: note: in instantiation of function template specialization 'std::__uninitialized_copy<false>::uninitialized_copy<std::move_iterator<domaincontroller *>, domaincontroller *>' requested here
 uninitialized_copy(__first, __last, __result);
 ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:256:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<domaincontroller *>, domaincontroller *>' requested here
    { return std::uninitialized_copy(__first, __last, __result); }
                  ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:264:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<domaincontroller *>, domaincontroller *, domaincontroller>' requested here
      return std::__uninitialized_copy_a(std::make_move_iterator(__first),
                  ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:339:8: note: in instantiation of function template specialization 'std::__uninitialized_move_a<domaincontroller *, domaincontroller *, std::allocator<domaincontroller> >' requested here
  std::__uninitialized_move_a(this->_M_impl._M_start,
       ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741:4: note: in instantiation of function template specialization 'std::vector<domaincontroller, std::allocator<domaincontroller> >::_M_insert_aux<const domaincontroller &>' requested here
   _M_insert_aux(end(), __x);
   ^
../../../../helpers/basic_auth/MSNT/msntauth.cc:112:27: note: in instantiation of member function 'std::vector<domaincontroller, std::allocator<domaincontroller> >::push_back' requested here
        domaincontrollers.push_back(dc);
                          ^
In file included from ../../../../helpers/basic_auth/MSNT/msntauth.cc:48:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/vector:63:
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h:73:42: error: no matching function for call to 'forward'
      ::new(static_cast<void*>(__p)) _T1(std::forward<_T2>(__value));
                                         ^~~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:74:8: note: in instantiation of function template specialization 'std::_Construct<domaincontroller, domaincontroller>' requested here
  std::_Construct(&*__cur, *__first);
       ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:116:2: note: in instantiation of function template specialization 'std::__uninitialized_copy<false>::uninitialized_copy<std::move_iterator<domaincontroller *>, domaincontroller *>' requested here
 uninitialized_copy(__first, __last, __result);
 ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:256:19: note: in instantiation of function template specialization 'std::uninitialized_copy<std::move_iterator<domaincontroller *>, domaincontroller *>' requested here
    { return std::uninitialized_copy(__first, __last, __result); }
                  ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_uninitialized.h:264:19: note: in instantiation of function template specialization 'std::__uninitialized_copy_a<std::move_iterator<domaincontroller *>, domaincontroller *, domaincontroller>' requested here
      return std::__uninitialized_copy_a(std::make_move_iterator(__first),
                  ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/vector.tcc:339:8: note: in instantiation of function template specialization 'std::__uninitialized_move_a<domaincontroller *, domaincontroller *, std::allocator<domaincontroller> >' requested here
  std::__uninitialized_move_a(this->_M_impl._M_start,
       ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_vector.h:741:4: note: in instantiation of function template specialization 'std::vector<domaincontroller, std::allocator<domaincontroller> >::_M_insert_aux<const domaincontroller &>' requested here
   _M_insert_aux(end(), __x);
   ^
../../../../helpers/basic_auth/MSNT/msntauth.cc:112:27: note: in instantiation of member function 'std::vector<domaincontroller, std::allocator<domaincontroller> >::push_back' requested here
        domaincontrollers.push_back(dc);
                          ^
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:51:5: note: candidate function [with _Tp = domaincontroller] not viable: no known conversion from 'domaincontroller' to 'typename std::identity<domaincontroller>::type &&' (aka 'domaincontroller &&') for 1st argument
    forward(typename std::identity<_Tp>::type&& __t)
    ^
5 errors generated.
make[4]: *** [msntauth.o] Error 1
make[4]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth/MSNT'>
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers/basic_auth'>
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/ws/btlayer-00-default/squid-3.HEAD-BZR/_build/helpers'>
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `<http://build.squid-cache.org/job/3.HEAD-amd64-centos-6-clang/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: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
configure: BUILD LIBRARIES: 
configure: BUILD EXTRA LIBRARIES: -lm -lnsl -lresolv -lcap -lrt -ldl -ldl
configure: BUILD OBJECTS: 
configure: BUILD EXTRA OBJECTS: 
configure: BUILD C FLAGS: -g -O2
configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD C++ FLAGS: -g -O2 -std=c++11
configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments  -D_REENTRANT
configure: BUILD Tools C++ FLAGS:  -g -O2 -std=c++11
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/move.h:57:14: error: rvalue reference to type 'typename std::remove_reference<domaincontroller &>::type' (aka 'domaincontroller') cannot bind to lvalue of type 'domaincontroller'
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/ext/new_allocator.h:111:27: error: no matching function for call to 'forward'
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_algobase.h:561:20: error: no matching function for call to 'move'
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_iterator.h:916:16: error: rvalue reference to type 'value_type' (aka 'domaincontroller') cannot bind to lvalue of type 'domaincontroller'
/usr/bin/../lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_construct.h:73:42: error: no matching function for call to 'forward'
make[4]: *** [msntauth.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-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