Subject: gnu/usr.sbin/dbsym and gnu/usr.sbin/mdsetimage are always rebuilt?
To: NetBSD-current Discussion List <current-users@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 02/22/2003 15:33:34
This is actualy a netbsd-1-6 branch issue, but I'm guessing it might
affect -current as well.

I've been running "build.sh -u -o ..." repeatedly while cleaning up a
few minor issues in my 1.6.x source tree and it would seem that
gnu/usr.sbin/dbsym and gnu/usr.sbin/mdsetimage are always rebuilt:

dependall ===> gnu/usr.sbin
dependall ===> gnu/usr.sbin/dbsym
/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-gcc   -o dbsym -nostdlib  /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crt0.o /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtbegin.o dbsym.o -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libbfd -lbfd -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libiberty -liberty -lintl -L/home/proven/woods/NetBSD-1.6.x-destdir/usr/lib  -lgcc -lc -lgcc /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtend.o
dependall ===> gnu/usr.sbin/map-mbone
dependall ===> gnu/usr.sbin/mdsetimage
/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-gcc   -o mdsetimage -nostdlib  /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crt0.o /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtbegin.o mdsetimage.o -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libbfd -lbfd -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libiberty -liberty -lintl -L/home/proven/woods/NetBSD-1.6.x-destdir/usr/lib  -lgcc -lc -lgcc /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtend.o
dependall ===> gnu/usr.sbin/mrinfo


So far those are the only things that seem to always be rebuilt (I'm
only hacking in the kernels and floppies, i.e. distrib, area).

They even get rebuilt again during "make install" (and of course
re-installed too):

install ===> gnu/usr.sbin
install ===> gnu/usr.sbin/dbsym
/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-gcc   -o dbsym -nostdlib  /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crt0.o /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtbegin.o dbsym.o -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libbfd -lbfd -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libiberty -liberty -lintl -L/home/proven/woods/NetBSD-1.6.x-destdir/usr/lib  -lgcc -lc -lgcc /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtend.o
STRIP=/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-strip /home/proven/woods/NetBSD-1.6.x-tools/bin/nbinstall -U -M /home/proven/woods/NetBSD-1.6.x-destdir/METALOG -c -p -r -o root -g wheel -m 555   dbsym /home/proven/woods/NetBSD-1.6.x-destdir/usr/sbin/dbsym
install ===> gnu/usr.sbin/map-mbone
install ===> gnu/usr.sbin/mdsetimage
/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-gcc   -o mdsetimage -nostdlib  /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crt0.o /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtbegin.o mdsetimage.o -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libbfd -lbfd -L/home/proven/woods/NetBSD-1.6.x-obj/work/woods/m-NetBSD-1.6/gnu/lib/libiberty -liberty -lintl -L/home/proven/woods/NetBSD-1.6.x-destdir/usr/lib  -lgcc -lc -lgcc /home/proven/woods/NetBSD-1.6.x-destdir/usr/lib/crtend.o
STRIP=/home/proven/woods/NetBSD-1.6.x-tools/bin/i386--netbsdelf-strip /home/proven/woods/NetBSD-1.6.x-tools/bin/nbinstall -U -M /home/proven/woods/NetBSD-1.6.x-destdir/METALOG -c -p -r -o root -g wheel -m 555   mdsetimage /home/proven/woods/NetBSD-1.6.x-destdir/usr/sbin/mdsetimage
install ===> gnu/usr.sbin/mrinfo

(there is a lot of _something_ happening every time through with
dependall in libc too, perhaps only to do with the tags file -- I
haven't really looked closely yet because there's too much output during
that phase to fit entirely in my already ample scrollback buffer!)


BTW, I really Really REALLY like this new UNPRIVED build.  Any chance
the new "installworld" stuff can get back-ported to netbsd-1-6 too?

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>