Subject: build followed by install can die?
To: NetBSD current list <current-users@netbsd.org>
From: William Allen Simpson <wsimpson@greendragon.com>
List: current-users
Date: 06/25/2003 21:07:39
I'm trying to document the "best practices", and just found that 
 ./build.sh -O /usr/obj -T /usr/tools -u build >&$HOME/030625c.build

completed nicely, and yet

 ./build.sh -O /usr/obj -T /usr/tools -u install=/ >&$HOME/030625d.install

failed!

Now, in this case, it appears to be due to a bad commit by 
  Takuya SHIOZAKI <tshiozak@netbsd.org>
that was fixed later today?

I'm assuming that the error was in some duplicate distrib sets, and 
there's no reason that these libs would be in *BOTH* base and comp....
Nobody would ever commit something they hadn't tried installing yet, 
would they?

But, my real question is, what target should be used to ENSURE that 
everything is in good order, and install=/ should not fail?

(I really hate the uncertainty of "will my system run"?  I've never 
built directly to / and I don't intend to start, nor to recommend it.)

=*=*=*=

===> Summary of results:
         build.sh command: ./build.sh -O /usr/obj -T /usr/tools -u build
         build.sh started: Wed Jun 25 10:49:08 EDT 2003
         MACHINE:          i386
         MACHINE_ARCH:     i386
         TOOLDIR path:     /usr/tools
         DESTDIR path:     /usr/obj/destdir.i386
         RELEASEDIR path:  /usr/obj/releasedir
         makewrapper:      /usr/tools/bin/nbmake-i386
         Updated /usr/tools/bin/nbmake-i386
         Successful make build
         build.sh started: Wed Jun 25 10:49:08 EDT 2003
         build.sh ended:   Wed Jun 25 14:23:27 EDT 2003
===> .

=*=*=*=

===> build.sh command: ./build.sh -O /usr/obj -T /usr/tools -u install=/
===> build.sh started: Wed Jun 25 19:42:00 EDT 2003
===> MACHINE:          i386
===> MACHINE_ARCH:     i386
===> TOOLDIR path:     /usr/tools
===> DESTDIR path:     /usr/obj/destdir.i386
===> RELEASEDIR path:  /usr/obj/releasedir
===> makewrapper:      /usr/tools/bin/nbmake-i386
===> Updated /usr/tools/bin/nbmake-i386
(cd /home/current/src/distrib/sets &&  /usr/tools/bin/nbmake INSTALLDIR=/ INSTALLSETS= installsets)
DESTDIR=/usr/obj/destdir.i386  MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/usr/tools/bin/nbcksum MAKE=/usr/tools/bin/nbmake MTREE=/usr/tools/bin/nbmtree PAX=/usr/tools/bin/nbpax sh /home/current/src/distrib/sets/maketars -d /usr/obj/destdir.i386   -N
/home/current/src/etc  -i /
Copying set base
pax: Unable to access ./usr/lib/i18n/iconv_none.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_none.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_std.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_std.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_646.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_646.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_none.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_none.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_parallel.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_parallel.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_serial.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_serial.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_std.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_std.so.4.2 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_zone.so.4 (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_zone.so.4.2 (No such file or directory)
Copying set comp
pax: Unable to access ./usr/lib/i18n/iconv_none.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_none.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_std.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/iconv_std.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_646.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_646.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_none.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_none.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_parallel.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_parallel.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_serial.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_serial.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_std.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_std.so (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_zone.a (No such file or directory)
pax: Unable to access ./usr/lib/i18n/mapper_zone.so (No such file or directory)
Copying set games
Copying set man
Copying set misc
Copying set text
*** Error code 2

Stop.
nbmake: stopped in /home/current/src/distrib/sets
*** Error code 1

Stop.
nbmake: stopped in /home/current/src

ERROR: Failed to make installworld to /
*** BUILD ABORTED ***

-- 
William Allen Simpson
    Key fingerprint =  17 40 5E 67 15 6F 31 26  DD 0D B9 9B 6A 15 2C 32