Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 19:18:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230624] net/mosh: fails to build with libc++ 7
Message-ID:  <bug-230624-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230624

            Bug ID: 230624
           Summary: net/mosh: fails to build with libc++ 7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zi@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
             Flags: maintainer-feedback?(zi@FreeBSD.org)
          Assignee: zi@FreeBSD.org

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+htt=
ps
$ poudriere testport -j clang7 net/mosh
[...]
network.cc:338:57: error: invalid operands to binary expression ('__bind<in=
t,
sockaddr *, unsigned int &>' and 'int')
    if ( bind( sock(), &local_addr.sa, local_addr_len ) =3D=3D 0 ) {
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
/usr/include/c++/v1/utility:558:1: note: candidate template ignored: could =
not
match 'pair' against '__bind'
operator=3D=3D(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
^
/usr/include/c++/v1/iterator:694:1: note: candidate template ignored: could=
 not
match 'reverse_iterator' against '__bind'
operator=3D=3D(const reverse_iterator<_Iter1>& __x, const reverse_iterator<=
_Iter2>&
__y)
^
/usr/include/c++/v1/iterator:923:1: note: candidate template ignored: could=
 not
match 'istream_iterator' against '__bind'
operator=3D=3D(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
^
/usr/include/c++/v1/iterator:1027:6: note: candidate template ignored: could
not match 'istreambuf_iterator' against '__bind'
bool operator=3D=3D(const istreambuf_iterator<_CharT,_Traits>& __a,
     ^
/usr/include/c++/v1/iterator:1135:1: note: candidate template ignored: could
not match 'move_iterator' against '__bind'
operator=3D=3D(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2=
>& __y)
^
/usr/include/c++/v1/iterator:1433:5: note: candidate template ignored: could
not match '__wrap_iter' against '__bind'
    operator=3D=3D(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&)
_NOEXCEPT_DEBUG;
    ^
/usr/include/c++/v1/tuple:1139:1: note: candidate template ignored: could n=
ot
match 'tuple' against '__bind'
operator=3D=3D(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
^
/usr/include/c++/v1/memory:1972:6: note: candidate template ignored: could =
not
match 'allocator' against '__bind'
bool operator=3D=3D(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT=
 {return
true;}
     ^
/usr/include/c++/v1/memory:2946:1: note: candidate template ignored: could =
not
match 'unique_ptr' against '__bind'
operator=3D=3D(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>&=
 __y)
{return __x.get() =3D=3D __y.get();}
^
/usr/include/c++/v1/memory:2982:1: note: candidate template ignored: could =
not
match 'unique_ptr' against '__bind'
operator=3D=3D(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:2990:1: note: candidate template ignored: could =
not
match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'int'
operator=3D=3D(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
^
/usr/include/c++/v1/memory:4778:1: note: candidate template ignored: could =
not
match 'shared_ptr' against '__bind'
operator=3D=3D(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOE=
XCEPT
^
/usr/include/c++/v1/memory:4832:1: note: candidate template ignored: could =
not
match 'shared_ptr' against '__bind'
operator=3D=3D(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:4840:1: note: candidate template ignored: could =
not
match 'shared_ptr<type-parameter-0-0>' against 'int'
operator=3D=3D(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
^
/usr/include/c++/v1/functional:1952:1: note: candidate template ignored: co=
uld
not match 'function' against '__bind'
operator=3D=3D(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT=
 {return
!__f;}
^
/usr/include/c++/v1/functional:1957:1: note: candidate template ignored: co=
uld
not match 'function<type-parameter-0-0 (type-parameter-0-1...)>' against 'i=
nt'
operator=3D=3D(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT=
 {return
!__f;}
^
/usr/include/c++/v1/string_view:613:6: note: candidate template ignored: co=
uld
not match 'basic_string_view' against '__bind'
bool operator=3D=3D(basic_string_view<_CharT, _Traits> __lhs,
     ^
/usr/include/c++/v1/string_view:622:6: note: candidate template ignored: co=
uld
not match 'basic_string_view' against '__bind'
bool operator=3D=3D(basic_string_view<_CharT, _Traits> __lhs,
     ^
/usr/include/c++/v1/string_view:631:6: note: candidate template ignored: co=
uld
not match 'basic_string_view<type-parameter-0-0, type-parameter-0-1>' again=
st
'int'
bool operator=3D=3D(typename common_type<basic_string_view<_CharT, _Traits>=
 >::type
__lhs,=20
     ^
/usr/include/c++/v1/string:558:6: note: candidate template ignored: could n=
ot
match 'fpos' against '__bind'
bool operator=3D=3D(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
     ^
/usr/include/c++/v1/string:3792:1: note: candidate template ignored: could =
not
match 'basic_string' against '__bind'
operator=3D=3D(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^
/usr/include/c++/v1/string:3804:1: note: candidate template ignored: could =
not
match 'basic_string' against '__bind'
operator=3D=3D(const basic_string<char, char_traits<char>, _Allocator>& __l=
hs,
^
/usr/include/c++/v1/string:3823:1: note: candidate template ignored: could =
not
match 'const _CharT *' against '__bind<int, sockaddr *, unsigned int &>'
operator=3D=3D(const _CharT* __lhs,
^
/usr/include/c++/v1/string:3836:1: note: candidate template ignored: could =
not
match 'basic_string' against '__bind'
operator=3D=3D(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
^
/usr/include/c++/v1/deque:2874:1: note: candidate template ignored: could n=
ot
match 'deque' against '__bind'
operator=3D=3D(const deque<_Tp, _Allocator>& __x, const deque<_Tp, _Allocat=
or>&
__y)
^
/usr/include/c++/v1/vector:3340:1: note: candidate template ignored: could =
not
match 'vector' against '__bind'
operator=3D=3D(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Alloc=
ator>&
__y)
^

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_=
19h01m06s/logs/errors/mosh-1.3.2_4.log


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230355
[Bug 230355] [exp-run] Against projects/clang700-import branch
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230624-7788>