Subject: Re: SUP not getting latest source changes
To: Gary Thorpe <gathorpe79@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 08/21/2003 20:33:05
On Wed, Aug 20, 2003 at 02:14:53PM -0400, Gary Thorpe wrote:
> Hi,
> 
> I just ran SUP yesterday to update some portions of the source tree for
> the kernel. When I tried to do a 'make depend' to build a kernel, a got
> an error saying there was a conflict:
> 
> depending the compat library objects
> cat /devel/src/NetBSD-ppbus/src/sys/arch/i386/i386/genassym.cf  |  sh
> /devel/src/NetBSD-ppbus/src/sys/kern/genassym.sh cc   -ffreestanding -g
> -pipe -Os -Werror -Wall -Wno-main -Wno-format-zero-length
> -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes
> -Wno-sign-compare -Wno-uninitialized  -Di386 -I. 
> -I/devel/src/NetBSD-ppbus/src/sys/arch
> -I/devel/src/NetBSD-ppbus/src/sys -nostdinc -DMALLOC_NOINLINE
> -DDIAGNOSTIC -DDEBUG -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT   >
> assym.h.tmp &&  mv -f assym.h.tmp assym.h
> In file included from
> /devel/src/NetBSD-ppbus/src/sys/uvm/uvm_pmap.h:86,
>                  from
> /devel/src/NetBSD-ppbus/src/sys/uvm/uvm_extern.h:451,
>                  from /devel/src/NetBSD-ppbus/src/sys/uvm/uvm.h:46,
>                  from /tmp/4196.c:22:
> machine/pmap.h:271: redefinition of `struct pv_head'
> *** Error code 1
> 
> Stop.
> nbmake: stopped in /devel/build/kernels/PPBUS_DEV
> There are two files in the tree that I just updated which have this
> definition: src/sys/arch/i386/include/{pmap,vmparam}.h. After browsing
> the CVS repository a bit, it seems my version of pmap.h is out of date:
> I have version 1.73 while vesion 1.74 has been in the repository for _4
> weeks_.
> 
> Is this supposed to happen with SUP? I use it because a large portion
> of the kernel source is for arch I don't have and it saves a lot of
> bandwidth (dial-up in my case) to use SUP. How will I know if other
> files are not being updated??? Should I run 'cvs update' afterwards in
> certain directories to be sure?
> My sup file (does it have anything wrong with it?):

You may want to run 'sup -o' from time to time ... I do it once a week on
my mirror.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 24 ans d'experience feront toujours la difference
--