Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Nov 2010 02:00:57 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        stable@freebsd.org
Cc:        delphij@freebsd.org
Subject:   Re: [releng_7 tinderbox] failure on amd64/amd64
Message-ID:  <20101119100057.GA60825@icarus.home.lan>
In-Reply-To: <201011191044.oAJAixSZ055707@freebsd-legacy.sentex.ca>
References:  <201011191044.oAJAixSZ055707@freebsd-legacy.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




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