Re: Error with make on raspberry pi nautilus tags/v14.2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2019 at 1:59 AM Sharath Gururaj <e271828r@xxxxxxxxx> wrote:
>
> UPDATE: I was able to successfully compile master on raspberry pi after fixing a few compile errors. I was even able build all the debian packages (It took 30 hours)
>
> But I really want to stick to a stable release v14.2.2, so I am trying to compile that branch. I managed to fix the first few errors by seeing how it has been fixed on master.
>
> But I have got stuck on the following error. It looks like this is something deeper. It seems like it has something to do with the version of c++ itself. Is there any way to fix this error?
>
> Please help

Sharath, again, there are a handful fixes addressing the FTBFS issues
on armhf/arm64. in this case, it's
https://github.com/ceph/ceph/pull/28277 . but i don't suggest you to
try to build nautilus on 32bit platform, unless you are capable of
identifying the fixes and are interested in backporting these PRs.

>
> Thanks.
>
> /home/sharath/os/ceph/ceph/src/common/config.cc:174:3: error: no match for ‘operator=’ (operand types are ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >’ and ‘<brace-enclosed initializer list>’)
>    };
>    ^
> In file included from /usr/include/c++/8/map:61,
>                  from /home/sharath/os/ceph/ceph/src/include/encoding.h:18,
>                  from /home/sharath/os/ceph/ceph/src/include/uuid.h:8,
>                  from /home/sharath/os/ceph/ceph/src/include/types.h:21,
>                  from /home/sharath/os/ceph/ceph/src/msg/msg_types.h:23,
>                  from /home/sharath/os/ceph/ceph/src/common/entity_name.h:20,
>                  from /home/sharath/os/ceph/ceph/src/common/ceph_argparse.h:29,
>                  from /home/sharath/os/ceph/ceph/src/common/config.cc:17:
> /usr/include/c++/8/bits/stl_map.h:317:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(const std::map<_Key, _Tp, _Compare, _Alloc>&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’
>        operator=(const map&) = default;
>        ^~~~~~~~
> /usr/include/c++/8/bits/stl_map.h:317:7: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&’
> /usr/include/c++/8/bits/stl_map.h:321:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::map<_Key, _Tp, _Compare, _Alloc>&&) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’
>        operator=(map&&) = default;
>        ^~~~~~~~
> /usr/include/c++/8/bits/stl_map.h:321:7: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::map<std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> >&&’
> /usr/include/c++/8/bits/stl_map.h:335:7: note: candidate: ‘std::map<_Key, _Tp, _Compare, _Alloc>& std::map<_Key, _Tp, _Compare, _Alloc>::operator=(std::initializer_list<std::pair<const _Key, _Tp> >) [with _Key = std::basic_string_view<char>; _Tp = boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>; _Compare = std::less<std::basic_string_view<char> >; _Alloc = std::allocator<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >]’
>        operator=(initializer_list<value_type> __l)
>        ^~~~~~~~
> /usr/include/c++/8/bits/stl_map.h:335:7: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::initializer_list<std::pair<const std::basic_string_view<char>, boost::variant<long long int ConfigValues::*, long long unsigned int ConfigValues::*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> > >’
> _______________________________________________
> Dev mailing list -- dev@xxxxxxx
> To unsubscribe send an email to dev-leave@xxxxxxx



-- 
Regards
Kefu Chai
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux