[cfe-dev] Can't build clang yesterday & today

Sean McBride sean at rogue-research.com
Wed Jan 14 11:26:54 PST 2015


Hi all,

I have a little script that I use to build clang trunk every once in a while.  It's worked for months.  I last used it to build r223115.  I'm on OS X 10.8.5 using Xcode 5.0.2's clang and cmake 3.1 to build.  I tried to build yesterday morning, but it failed.  I thought I maybe just hit a bad svn revision but it still won't build this morning.  The error is below.  Any hints what's going wrong?  Thanks. Sean

Scanning dependencies of target clangBasic
In file included from /Users/builder/llvm/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp:15:
In file included from /Users/builder/llvm/llvm/tools/clang/include/clang/Tooling/ArgumentsAdjusters.h:20:
In file included from /usr/bin/../lib/c++/v1/functional:465:
In file included from /usr/bin/../lib/c++/v1/memory:599:
/usr/bin/../lib/c++/v1/tuple:234:73: error: no matching constructor for initialization of 'std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
      std::__1::allocator<std::__1::basic_string<char> > > (const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::placeholders::__ph<1> &>'
             _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : value()
                                                                        ^
/usr/bin/../lib/c++/v1/tuple:447:23: note: in instantiation of member function 'std::__1::__tuple_leaf<0,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &>, false>::__tuple_leaf'
      requested here
    _LIBCPP_CONSTEXPR __tuple_impl()
                      ^
/usr/bin/../lib/c++/v1/tuple:550:23: note: in instantiation of member function 'std::__1::__tuple_impl<std::__1::__tuple_indices<0>,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >::__tuple_impl' requested here
    _LIBCPP_CONSTEXPR tuple()
                      ^
/usr/bin/../lib/c++/v1/functional:1744:11: note: in instantiation of member function
      'std::__1::tuple<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >::tuple' requested here
          __bound_args_(_VSTD::forward<_BA>(__bound_args)...) {}
          ^
/usr/bin/../lib/c++/v1/memory:2243:15: note: in instantiation of function template specialization
      'std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &>
      >::__bind<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >, , void>' requested here
              __first_(_VSTD::forward<_Args1>(get<_I1>(__first_args))...)
              ^
/usr/bin/../lib/c++/v1/memory:2421:15: note: in instantiation of function template specialization
      'std::__1::__libcpp_compressed_pair_imp<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> >
      > (const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >,
      std::__1::allocator<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > >,
      2>::__libcpp_compressed_pair_imp<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > >
      (const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > &&, , 0, >' requested here
            : base(__pc, _VSTD::move(__first_args), _VSTD::move(__second_args),
              ^
/usr/bin/../lib/c++/v1/functional:992:11: note: in instantiation of function template specialization
      'std::__1::__compressed_pair<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >,
      std::__1::allocator<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > >
      >::__compressed_pair<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > &&, >' requested here
        : __f_(piecewise_construct, _VSTD::forward_as_tuple(_VSTD::move(__f)),
          ^
/usr/bin/../lib/c++/v1/functional:1277:26: note: in instantiation of member function
      'std::__1::__function::__func<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> >,
      std::__1::allocator<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > >,
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const std::__1::vector<std::__1::basic_string<char>,
      std::__1::allocator<std::__1::basic_string<char> > > &)>::__func' requested here
            ::new (__f_) _FF(_VSTD::move(__f));
                         ^
/Users/builder/llvm/llvm/tools/clang/lib/Tooling/ArgumentsAdjusters.cpp:81:10: note: in instantiation of function template specialization
      'std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const std::__1::vector<std::__1::basic_string<char>,
      std::__1::allocator<std::__1::basic_string<char> > > &)>::function<std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>,
      std::__1::allocator<std::__1::basic_string<char> > > (const std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &,
      std::__1::__bind<std::__1::function<std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > (const
      std::__1::vector<std::__1::basic_string<char>, std::__1::allocator<std::__1::basic_string<char> > > &)> &, std::__1::placeholders::__ph<1> &> > >' requested here
  return std::bind(Second, std::bind(First, std::placeholders::_1));
         ^
/usr/bin/../lib/c++/v1/functional:1742:16: note: candidate constructor template not viable: requires at least argument '__f', but no arguments were provided
      explicit __bind(_Gp&& __f, _BA&& ...__bound_args)
               ^
/usr/bin/../lib/c++/v1/functional:1694:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 0 were provided
class __bind
      ^






More information about the cfe-dev mailing list