NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/39047: build.sh distribution/sets needs a little make clean before packaging its sets



>Number:         39047
>Category:       toolchain
>Synopsis:       build.sh distribution/sets needs a little make clean before 
>packaging its sets
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 26 23:50:00 +0000 2008
>Originator:     George Michaelson
>Release:        current
>Organization:
>Environment:
NetBSD snoid 4.99.66 NetBSD 4.99.66 (GENERIC) #1: Wed Jun 25 21:57:42 EST 2008  
ggm@snoid:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
I use this command to remake world into a populated /usr/obj

cd /usr/src;
./build.sh -u -U -O \
 /usr/obj -T /usr/tools \
 distribution sets kernel=GENERIC >& /var/tmp/b.log &
tail -f /var/tmp/b.log

increasingly, during the build distribution process I get this:

=======  18 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./stand/i386/4.99.66
./stand/i386/4.99.66/modules
./stand/i386/4.99.66/modules/cd9660
./stand/i386/4.99.66/modules/cd9660/cd9660.kmod
./stand/i386/4.99.66/modules/drm
./stand/i386/4.99.66/modules/drm/drm.kmod
./stand/i386/4.99.66/modules/i915drm
./stand/i386/4.99.66/modules/i915drm/i915drm.kmod
./stand/i386/4.99.66/modules/miniroot
./stand/i386/4.99.66/modules/miniroot/miniroot.kmod
./stand/i386/4.99.66/modules/puffs
./stand/i386/4.99.66/modules/puffs/puffs.kmod
./stand/i386/4.99.66/modules/putter
./stand/i386/4.99.66/modules/putter/putter.kmod
./stand/i386/4.99.66/modules/radeondrm
./stand/i386/4.99.66/modules/radeondrm/radeondrm.kmod

(or other things)

and it terminates. 

I don't understand what is the *MINIMUM* I can remove from /usr/obj which 
prevents this class of problem. 

I can understand that its highly variable. Its possible there is no fix, and 
that this requires a /usr/obj cleanout and thats all there is.


>How-To-Repeat:
run build.sh across cvs updates which removes some files/dirs from the target 
distribution.
>Fix:
Well, I'm thinking that making something not exist usually means removing it 
from a mtree file, and so the build process could parse the mtree to remove the 
things detected as superfluous *before* trying to cut the distribution.

or, 'extra' goodies could be dealt with in a non-fatal way maybe.

This is a whinge. Its one for the back burner, for somebody who feels like 
making build.sh 'nicer'

feel free to close if you think this is a dead-end.

-G



Home | Main Index | Thread Index | Old Index