From owner-freebsd-stable@FreeBSD.ORG Fri Nov 19 10:00:58 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 985171065679 for ; Fri, 19 Nov 2010 10:00:58 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by mx1.freebsd.org (Postfix) with ESMTP id 7F34C8FC16 for ; Fri, 19 Nov 2010 10:00:58 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta11.emeryville.ca.mail.comcast.net with comcast id Yy0w1f0030lTkoCABy0yUE; Fri, 19 Nov 2010 10:00:58 +0000 Received: from koitsu.dyndns.org ([98.248.41.155]) by omta04.emeryville.ca.mail.comcast.net with comcast id Yy0x1f0013LrwQ28Qy0xCJ; Fri, 19 Nov 2010 10:00:57 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 194149B427; Fri, 19 Nov 2010 02:00:57 -0800 (PST) Date: Fri, 19 Nov 2010 02:00:57 -0800 From: Jeremy Chadwick To: stable@freebsd.org Message-ID: <20101119100057.GA60825@icarus.home.lan> References: <201011191044.oAJAixSZ055707@freebsd-legacy.sentex.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201011191044.oAJAixSZ055707@freebsd-legacy.sentex.ca> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: delphij@freebsd.org Subject: Re: [releng_7 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 10:00:58 -0000 On Fri, Nov 19, 2010 at 10:44:59AM +0000, FreeBSD Tinderbox wrote: > ===> usr.bin/nc (all) > cc -O2 -fno-strict-aliasing -pipe -DIPSEC -c /src/usr.bin/nc/../../contrib/netcat/netcat.c > /src/usr.bin/nc/../../contrib/netcat/netcat.c: In function 'remote_connect': > /src/usr.bin/nc/../../contrib/netcat/netcat.c:573: error: 'IP_BINDANY' undeclared (first use in this function) > /src/usr.bin/nc/../../contrib/netcat/netcat.c:573: error: (Each undeclared identifier is reported only once > /src/usr.bin/nc/../../contrib/netcat/netcat.c:573: error: for each function it appears in.) > *** Error code 1 This has been broken for 24 hours, and only on RELENG_7 (for all architectures, not just amd64), which lacks IP_BINDANY capability: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/netcat/netcat.c#rev1.6.2.2 The committer and/or author needs to #ifdef IP_BINDANY the relevant setsockopt() call for the RELENG_7 branch, or even both RELENG_7 and RELENG_8 if they want. This original methodology was in the code (for SO_BINDANY), but was for some reason removed. http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/netcat/netcat.c.diff?r1=1.6.2.1;r2=1.6.2.2;f=h -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |