From owner-freebsd-ports-bugs@freebsd.org Thu Jan 25 19:43:05 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 26DD7EC8D0E for ; Thu, 25 Jan 2018 19:43:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B17526DB5B for ; Thu, 25 Jan 2018 19:43:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EFB3529143 for ; Thu, 25 Jan 2018 19:43:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0PJh3vV048618 for ; Thu, 25 Jan 2018 19:43:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0PJh3Ut048617 for freebsd-ports-bugs@FreeBSD.org; Thu, 25 Jan 2018 19:43:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225455] net/stund: c++ error: invalid operands to binary expression Date: Thu, 25 Jan 2018 19:43:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sobomax@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 19:43:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225455 Bug ID: 225455 Summary: net/stund: c++ error: invalid operands to binary expression Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: sobomax@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(sobomax@FreeBSD.org) Assignee: sobomax@FreeBSD.org On recent CURRENT and its equivalent jail for poudriere (host and jail share the same OS revision, r328409) the building of port net/stund fails: [...] =3D=3D=3D> Building for stund-0.96 gmake[1]: Entering directory '/wrkdirs/usr/ports/net/stund/work/stund_0.96_Aug13' c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall server.cxx= -o server.o c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall stun.cxx -o stun.o c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall udp.cxx -o udp.o c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -Wall client.cxx= -o client.o stun.cxx:2257:17: warning: unused variable 'changedAddr' [-Wunused-variable] StunAddress4 changedAddr =3D resp.changedAddress.ipv4; ^ stun.cxx:2352:20: warning: unused variable 'changedAddr' [-Wunused-variable] StunAddress4 changedAddr =3D resp.changedAddress.ipv4; ^ udp.cxx:67:57: error: invalid operands to binary expression ('__bind' and 'int') if ( bind( fd,(struct sockaddr*)&addr, sizeof(addr)) !=3D 0 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ /usr/include/c++/v1/system_error:606:1: note: candidate function not viable= : no known conversion from '__bind' to 'const std::__1::error_code' for 1st argument operator!=3D(const error_code& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:611:1: note: candidate function not viable= : no known conversion from '__bind' to 'const std::__1::error_code' for 1st argument operator!=3D(const error_code& __x, const error_condition& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:616:1: note: candidate function not viable= : no known conversion from '__bind' to 'const std::__1::error_condition' for 1st argument operator!=3D(const error_condition& __x, const error_code& __y) _NOEXCEPT ^ /usr/include/c++/v1/system_error:621:1: note: candidate function not viable= : no known conversion from '__bind' to 'const std::__1::error_condition' for 1st argument operator!=3D(const error_condition& __x, const error_condition& __y) _NOEXC= EPT ^ /usr/include/c++/v1/utility:564:1: note: candidate template ignored: could = not match 'pair' against '__bind' operator!=3D(const pair<_T1,_T2>& __x, const pair<_T1,_T2>& __y) --=20 You are receiving this mail because: You are the assignee for the bug.=