Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Aug 2018 22:08:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 230606] security/nmap: fails to build with libc++ 7
Message-ID:  <bug-230606-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 230606
           Summary: security/nmap: 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: ohauer@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 230355
          Assignee: ohauer@FreeBSD.org
             Flags: maintainer-feedback?(ohauer@FreeBSD.org)

$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+htt=
ps
$ poudriere testport -j clang7 security/nmap
[...]
EchoServer.cc:284:81: error: invalid operands to binary expression ('__bind=
<int
&, sockaddr *, unsigned long>' and 'int')
    if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_add=
r6))
!=3D 0 ){
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~
^  ~
/usr/include/c++/v1/utility:566:1: note: candidate template ignored: could =
not
match 'pair' against '__bind'
operator!=3D(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y)
^
/usr/include/c++/v1/iterator:710:1: note: candidate template ignored: could=
 not
match 'reverse_iterator' against '__bind'
operator!=3D(const reverse_iterator<_Iter1>& __x, const reverse_iterator<_I=
ter2>&
__y)
^
/usr/include/c++/v1/iterator:932:1: note: candidate template ignored: could=
 not
match 'istream_iterator' against '__bind'
operator!=3D(const istream_iterator<_Tp, _CharT, _Traits, _Distance>& __x,
^
/usr/include/c++/v1/iterator:1033:6: note: candidate template ignored: could
not match 'istreambuf_iterator' against '__bind'
bool operator!=3D(const istreambuf_iterator<_CharT,_Traits>& __a,
     ^
/usr/include/c++/v1/iterator:1151:1: note: candidate template ignored: could
not match 'move_iterator' against '__bind'
operator!=3D(const move_iterator<_Iter1>& __x, const move_iterator<_Iter2>&=
 __y)
^
/usr/include/c++/v1/iterator:1443:5: note: candidate template ignored: could
not match '__wrap_iter' against '__bind'
    operator!=3D(const __wrap_iter<_Iter1>&, const __wrap_iter<_Iter2>&)
_NOEXCEPT_DEBUG;
    ^
/usr/include/c++/v1/iterator:1559:1: note: candidate template ignored: could
not match '__wrap_iter' against '__bind'
operator!=3D(const __wrap_iter<_Iter1>& __x, const __wrap_iter<_Iter1>& __y)
_NOEXCEPT_DEBUG
^
/usr/include/c++/v1/tuple:1147:1: note: candidate template ignored: could n=
ot
match 'tuple' against '__bind'
operator!=3D(const tuple<_Tp...>& __x, const tuple<_Up...>& __y)
^
/usr/include/c++/v1/memory:1976:6: note: candidate template ignored: could =
not
match 'allocator' against '__bind'
bool operator!=3D(const allocator<_Tp>&, const allocator<_Up>&) _NOEXCEPT {=
return
false;}
     ^
/usr/include/c++/v1/memory:2951:1: note: candidate template ignored: could =
not
match 'unique_ptr' against '__bind'
operator!=3D(const unique_ptr<_T1, _D1>& __x, const unique_ptr<_T2, _D2>& _=
_y)
{return !(__x =3D=3D __y);}
^
/usr/include/c++/v1/memory:2998:1: note: candidate template ignored: could =
not
match 'unique_ptr' against '__bind'
operator!=3D(const unique_ptr<_T1, _D1>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:3006:1: note: candidate template ignored: could =
not
match 'unique_ptr<type-parameter-0-0, type-parameter-0-1>' against 'int'
operator!=3D(nullptr_t, const unique_ptr<_T1, _D1>& __x) _NOEXCEPT
^
/usr/include/c++/v1/memory:4786:1: note: candidate template ignored: could =
not
match 'shared_ptr' against '__bind'
operator!=3D(const shared_ptr<_Tp>& __x, const shared_ptr<_Up>& __y) _NOEXC=
EPT
^
/usr/include/c++/v1/memory:4848:1: note: candidate template ignored: could =
not
match 'shared_ptr' against '__bind'
operator!=3D(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
^
/usr/include/c++/v1/memory:4856:1: note: candidate template ignored: could =
not
match 'shared_ptr<type-parameter-0-0>' against 'int'
operator!=3D(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
^
/usr/include/c++/v1/functional:1962:1: note: candidate template ignored: co=
uld
not match 'function' against '__bind'
operator!=3D(const function<_Rp(_ArgTypes...)>& __f, nullptr_t) _NOEXCEPT {=
return
(bool)__f;}
^
/usr/include/c++/v1/functional:1967:1: note: candidate template ignored: co=
uld
not match 'function<type-parameter-0-0 (type-parameter-0-1...)>' against 'i=
nt'
operator!=3D(nullptr_t, const function<_Rp(_ArgTypes...)>& __f) _NOEXCEPT {=
return
(bool)__f;}
^
/usr/include/c++/v1/vector:3349:1: note: candidate template ignored: could =
not
match 'vector' against '__bind'
operator!=3D(const vector<_Tp, _Allocator>& __x, const vector<_Tp, _Allocat=
or>&
__y)
^
/usr/include/c++/v1/string_view:642:6: note: candidate template ignored: co=
uld
not match 'basic_string_view' against '__bind'
bool operator!=3D(basic_string_view<_CharT, _Traits> __lhs,
basic_string_view<_CharT, _Traits> __rhs) _NOEXCEPT
     ^
/usr/include/c++/v1/string_view:651:6: note: candidate template ignored: co=
uld
not match 'basic_string_view' against '__bind'
bool operator!=3D(basic_string_view<_CharT, _Traits> __lhs,
     ^
/usr/include/c++/v1/string_view:661: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(typename common_type<basic_string_view<_CharT, _Traits> >=
::type
__lhs,=20
     ^
/usr/include/c++/v1/string:563:6: note: candidate template ignored: could n=
ot
match 'fpos' against '__bind'
bool operator!=3D(const fpos<_StateT>& __x, const fpos<_StateT>& __y)
     ^
/usr/include/c++/v1/string:3849:1: note: candidate template ignored: could =
not
match 'basic_string' against '__bind'
operator!=3D(const basic_string<_CharT,_Traits,_Allocator>& __lhs,
^
/usr/include/c++/v1/string:3858:1: note: candidate template ignored: could =
not
match 'const _CharT *' against '__bind<int &, sockaddr *, unsigned long>'
operator!=3D(const _CharT* __lhs,
^
/usr/include/c++/v1/string:3867:1: note: candidate template ignored: could =
not
match 'basic_string' against '__bind'
operator!=3D(const basic_string<_CharT, _Traits, _Allocator>& __lhs,
^

http://package18.nyi.freebsd.org/data/headamd64PR230355-default/2018-08-11_=
19h01m06s/logs/errors/nmap-7.70.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-230606-7788>