[releng_7 tinderbox] failure on amd64/amd64

Jeremy Chadwick freebsd at jdc.parodius.com
Fri Nov 19 10:00:58 UTC 2010


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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list