Subject: misc/12775: Can't make release
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@stacken.kth.se>
List: netbsd-bugs
Date: 04/28/2001 13:56:06
>Number: 12775
>Category: misc
>Synopsis: Can't make release
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Apr 28 04:57:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:
>Release: Current as of 2001-04-27
>Organization:
Stacken Computer Club
>Environment:
System: NetBSD nutcracker.dynarc.se 1.5U NetBSD 1.5U (NUTCRACKER) #3: Mon Apr 9 16:12:48 CEST 2001 lha@nutcracker.dynarc.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:
This is the second day I see this. The first one I though it
just was a missing cvs delta.
groff -dM=i386 -dV=1.5U -d.CURDIR=/netbsd-build/src/distrib/notes/i386 -ri386=1 -M/netbsd-build/destdir/usr/share/tmac -dformat=more -P-h -Tascii -mtty-char -mdoc /netbsd-build/src/distrib/notes/i386/../common/main /netbsd-build/src/distrib/notes/i386/../common/macros > INSTALL.more
Processing INSTALL
...reading whatis
...reading ../common/contents
...reading hardware
...reading xfer
...reading ../common/xfer
...reading prep
...reading install
...reading ../common/sysinst
...reading ../common/postinstall
/netbsd-build/src/distrib/notes/i386/../common/postinstall:255: warning: can't break line
...reading upgrade
...reading ../common/upgrade
...reading ../common/donations
...reading ../common/legal.common
...reading legal
all ===> utils
all ===> utils/libhack
cc -O2 -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -idirafter /netbsd-build/destdir/usr/include -c /netbsd-build/src/distrib/utils/libhack/getcap.c
cc -O2 -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -idirafter /netbsd-build/destdir/usr/include -c /netbsd-build/src/distrib/utils/libhack/getgrent.c
cc -O2 -Os -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -idirafter /netbsd-build/destdir/usr/include -c /netbsd-build/src/distrib/utils/libhack/gethost.c
/netbsd-build/src/distrib/utils/libhack/gethost.c: In function `_gethostbyaddr':
/netbsd-build/src/distrib/utils/libhack/gethost.c:159: argument `len' doesn't match prototype
/netbsd-build/destdir/usr/include/netdb.h:262: prototype declaration
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
make release
>Fix:
Index: gethost.c
===================================================================
RCS file: /cvsroot/basesrc/distrib/utils/libhack/gethost.c,v
retrieving revision 1.5
diff -u -w -r1.5 gethost.c
--- gethost.c 2000/01/14 13:52:13 1.5
+++ gethost.c 2001/04/28 11:55:49
@@ -155,7 +155,8 @@
struct hostent *
gethostbyaddr(addr, len, type)
const char *addr;
- int len, type;
+ socklen_t len;
+ int type;
{
char qbuf[MAXDNAME];
>Release-Note:
>Audit-Trail:
>Unformatted: