Re: Build failed in Jenkins: ceph-master #1640

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

 



On Tue, Jan 9, 2018 at 4:34 PM, Willem Jan Withagen <wjw@xxxxxxxxxxx> wrote:
> Kefu,
>
> I guess my Clang/FreeBSD does not like your changes to the dencode stuff.

it took me a while to setup the clang building env. and ... Adam has
fixed it at https://github.com/ceph/ceph/pull/19877 !

>
> --WjW
>
>
> -------- Forwarded Message --------
> Subject: Build failed in Jenkins: ceph-master #1640
> Date: Tue, 9 Jan 2018 08:05:41 +0100 (CET)
> From: jenkins@xxxxxxxxxxx
> Reply-To: jenkins@xxxxxxxxxxx
> To: wjw@xxxxxxxxxxx
>
> See
> <http://cephdev.digiware.nl:8180/jenkins/job/ceph-master/1640/display/redirect?page=changes>
>
> Changes:
>
> [jcollin] doc: fix heading
>
> [kchai] denc: use constexpr-if to replace some SFINAE impls
>
> [jcollin] doc: misc fixes
>
> ------------------------------------------
> [...truncated 563.83 KB...]
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/CompatSet.h:77:9: note: in
> instantiation of function template specialization
> 'encode<std::__1::map<unsigned long, std::__1::basic_string<char>,
> std::__1::less<unsigned long>, std::__1::allocator<std::__1::pair<const
> unsigned long, std::__1::basic_string<char> > > >,
> denc_traits<std::__1::map<unsigned long, std::__1::basic_string<char>,
> std::__1::less<unsigned long>, std::__1::allocator<std::__1::pair<const
> unsigned long, std::__1::basic_string<char> > > >, void> >' requested here
>       ::encode(names, bl);
>         ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<unsigned long, std::__1::basic_string<char> >]: non-type
> template argument evaluates to 32, which cannot be narrowed to type 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<unsigned long, std::__1::basic_string<char> >]: non-type
> template argument evaluates to 32, which cannot be narrowed to type 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1528:3: error: no
> matching function for call to 'bound_encode'
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/common/snap_types.h:58:7: note: in
> instantiation of function template specialization
> 'encode<std::__1::vector<snapid_t, std::__1::allocator<snapid_t> >,
> denc_traits<std::__1::vector<snapid_t, std::__1::allocator<snapid_t> >,
> void> >' requested here
>     ::encode(snaps, bl);
>       ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U = snapid_t]:
> non-type template argument evaluates to 8, which cannot be narrowed to type
> 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U = snapid_t]:
> non-type template argument evaluates to 8, which cannot be narrowed to type
> 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1528:3: error: no
> matching function for call to 'bound_encode'
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/osd/osd_types.h:3199:7: note: in
> instantiation of function template specialization
> 'encode<std::__1::map<std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list>,
> std::__1::less<std::__1::basic_string<char> >,
> std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list> > > >,
> denc_traits<std::__1::map<std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list>,
> std::__1::less<std::__1::basic_string<char> >,
> std::__1::allocator<std::__1::pair<const std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list> > > >, void> >' requested here
>     ::encode(old_attrs, bl);
>       ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list> >]: non-type template argument evaluates
> to 120, which cannot be narrowed to type 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<std::__1::basic_string<char>,
> boost::optional<ceph::buffer::list> >]: non-type template argument evaluates
> to 120, which cannot be narrowed to type 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1528:3: error: no
> matching function for call to 'bound_encode'
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/osd/osd_types.h:3235:7: note: in
> instantiation of function template specialization
> 'encode<std::__1::set<snapid_t, std::__1::less<snapid_t>,
> std::__1::allocator<snapid_t> >, denc_traits<std::__1::set<snapid_t,
> std::__1::less<snapid_t>, std::__1::allocator<snapid_t> >, void> >'
> requested here
>     ::encode(old_snaps, bl);
>       ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U = snapid_t]:
> non-type template argument evaluates to 8, which cannot be narrowed to type
> 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U = snapid_t]:
> non-type template argument evaluates to 8, which cannot be narrowed to type
> 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1528:3: error: no
> matching function for call to 'bound_encode'
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/osd/osd_types.h:3247:7: note: in
> instantiation of function template specialization
> 'encode<std::__1::vector<std::__1::pair<unsigned long, unsigned long>,
> std::__1::allocator<std::__1::pair<unsigned long, unsigned long> > >,
> denc_traits<std::__1::vector<std::__1::pair<unsigned long, unsigned long>,
> std::__1::allocator<std::__1::pair<unsigned long, unsigned long> > >, void>
>>' requested here
>     ::encode(extents, bl);
>       ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<unsigned long, unsigned long>]: non-type template argument
> evaluates to 16, which cannot be narrowed to type 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U =
> std::__1::pair<unsigned long, unsigned long>]: non-type template argument
> evaluates to 16, which cannot be narrowed to type 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1528:3: error: no
> matching function for call to 'bound_encode'
>   traits::bound_encode(o, len);
>   ^~~~~~~~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/osd/OSDMap.h:240:7: note: in
> instantiation of function template specialization
> 'encode<std::__1::vector<int,
> mempool::pool_allocator<mempool::pool_index_t::mempool_osdmap, int> >,
> denc_traits<std::__1::vector<int,
> mempool::pool_allocator<mempool::pool_index_t::mempool_osdmap, int> >, void>
>>' requested here
>     ::encode(v, data);
>       ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:863:5: note:
> candidate template ignored: substitution failure [with U = int]: non-type
> template argument evaluates to 4, which cannot be narrowed to type 'bool'
>     bound_encode(const container& s, size_t& p, uint64_t f = 0) {
>     ^
> /home/jenkins/workspace/ceph-master/src/include/denc.h:1530:3: error: no
> matching function for call to 'encode'
>   traits::encode(o, a);
>   ^~~~~~~~~~~~~~
> /home/jenkins/workspace/ceph-master/src/include/denc.h:890:5: note:
> candidate template ignored: substitution failure [with U = int]: non-type
> template argument evaluates to 4, which cannot be narrowed to type 'bool'
>     encode(const container& s, buffer::list::contiguous_appender& p,
>     ^
> 18 errors generated.
> Build step 'Execute shell' marked build as failure
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Regards
Kefu Chai
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [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