Subject: SUP not getting latest source changes
To: None <current-users@netbsd.org>
From: Gary Thorpe <gathorpe79@yahoo.com>
List: current-users
Date: 08/20/2003 14:14:53
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?):

current release=ksrc-common host=sup.netbsd.org hostbase=/ftp/pub \
base=/devel/src/NetBSD-current prefix=/devel/src/NetBSD-current \
delete use-rel-suffix compress

current release=ksrc-i386 host=sup.netbsd.org hostbase=/ftp/pub \
base=/devel/src/NetBSD-current prefix=/devel/src/NetBSD-current \
delete use-rel-suffix compress

current release=ksrc-sparc host=sup.netbsd.org hostbase=/ftp/pub \
base=/devel/src/NetBSD-current prefix=/devel/src/NetBSD-current \
delete use-rel-suffix compress

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca