Subject: Re: build failure in current, error 1 stopped in /usr/src/usr.bin/kdump.
To: Byron Duncan <byron@eonet.net>
From: David Laight <david@l8s.co.uk>
List: current-users
Date: 07/18/2003 08:53:01
On Thu, Jul 17, 2003 at 09:59:34PM -0500, Byron Duncan wrote:
> Hi Dave here it I tried -U -u same effect. Here is part of the build log
> with the error.
> 
> dependall ===> usr.bin/kdump
> CC="/usr/src/tools/obj/tools.NetBSD-1.6U-alpha/bin/alpha--netbsd-gcc"
> DESTDIR=/usr/src/destdir.alpha  /bin/sh /usr/src/usr.bin/kdump/mkioctls
> /usr/src/destdir.alpha/usr/include/sys/ioctl.h
> /usr/src/destdir.alpha/usr/include/sys/ioctl_compat.h > ioctl.c
> CC=/usr/src/tools/obj/tools.NetBSD-1.6U-alpha/bin/alpha--netbsd-gcc
> /usr/src/tools/obj/tools.NetBSD-1.6U-alpha/bin/nbmkdep -a
> -I/usr/src/usr.bin/ktrace -I/usr/src/sys -nostdinc -isystem
> /usr/src/destdir.alpha/usr/include  /usr/src/usr.bin/kdump/kdump.c
> ioctl.c /usr/src/usr.bin/ktrace/subr.c /usr/src/usr.bin/kdump/setemul.c
> rm -f .gdbinit
> echo "set solib-absolute-prefix /usr/src/destdir.alpha" > .gdbinit
> /usr/src/tools/obj/tools.NetBSD-1.6U-alpha/bin/alpha--netbsd-gcc -O2
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
> -Wno-sign-compare -Wno-uninitialized  -Werror -mieee
> -I/usr/src/usr.bin/ktrace -I/usr/src/sys -nostdinc -isystem
> /usr/src/destdir.alpha/usr/include  -c /usr/src/usr.bin/kdump/kdump.c
> cc1: warnings being treated as errors
> /usr/src/usr.bin/kdump/kdump.c: In function `hexdump_buf':
> /usr/src/usr.bin/kdump/kdump.c:573: warning: field width is not type int
> (arg 4)
> *** Error code 1

ok - that is the bit we needed.
This was fixed by rev 1.56 of kdump.c last Sunday.

If you don't want to update all your tree, then you'll need to do:
$ cd src/usr/bin/kdump
$ cvs update
$ cd ../ktrace
$ cvs update
$ cd src/sys/sys
$ cvs update ktrace.h

	David

(oh - group reply to the mailing list)
 
> Stop.
> nbmake: stopped in /usr/src/usr.bin/kdump
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src/usr.bin/kdump
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src/usr.bin
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /usr/src
> 
> ERROR: Failed to make distribution
> *** BUILD ABORTED ***


-- 
David Laight: david@l8s.co.uk