Subject: a really silly question...
To: None <current-users@netbsd.org>
From: Marshall Rose <mrose+mtr.netnews@dbc.mtview.ca.us>
List: current-users
Date: 12/23/2002 15:12:29
hi. maybe my eyes are having difficulty focusing today, but here's a
simple question that i can't find an actual answer for in BUILDING or
UPDATING. i want to build a vanilla system with 1.6-current. i can
figure out how to build/install the kernel. what i can't figure out is
how to just update userland.
    
let's say i've just made a vanilla system by booting with the 1.6 floppies.
    
let's say i've ftp'd over the tar_files for netbsd-current and extracted
them into /usr/src/.
    
let's say i've done these steps:
    
    # cd /usr/src
    # mkdir /usr/obj
    # ./build.sh -t
    # cd sys/arch/i386/conf
    # /usr/src/tools/obj/tools.NetBSD-1.6-i386/bin/nbconfig GENERIC_LAPTOP
    # cd ../compile/GENERIC_LAPTOP
    # make depend
    # /usr/src/tools/obj/tools.NetBSD-1.6-i386/bin/nbmake-i386
    # mv /netbsd /netbsd.orig ; cp netbsd /netbsd
    # reboot
    
great, so after reading BUILDING, i think i should do this:
    
    # cd /usr/src
    # mkdir 1.6K
    # ./build -D "" -d -R /usr/src/1.6K
    
the problem is that eventually i get the thing below.
    
so, obviously
    
    -D ""
    
isn't the magic option.  what is?
    
thanks,
    
/mtr

    
install ===> bin/pax^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 555  -s  pax /usr/src//bin/pax^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   /usr/src/bin/pax/cpio.1 /usr/src//usr/share/man/man1/cpio.1^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   /usr/src/bin/pax/pax.1 /usr/src//usr/share/man/man1/pax.1^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   /usr/src/bin/pax/tar.1 /usr/src//usr/share/man/man1/tar.1^M  
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   cpio.cat1 /usr/src//usr/share/man/cat1/cpio.0^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   pax.cat1 /usr/src//usr/share/man/cat1/pax.0^M
STRIP=/usr/src/tools/obj/tools.NetBSD-1.6K-i386/bin/i386--netbsdelf-strip /usr/s
rc/tools/obj/tools.NetBSD-1.6K-i386/bin/nbinstall  -N/usr/src/etc -c  -r -o root
 -g wheel -m 444   tar.cat1 /usr/src//usr/share/man/cat1/tar.0^M
/usr/src//usr/bin/tar -> /bin/tar^M
/usr/src//usr/bin/cpio -> /bin/cpio^M
/usr/src//bin/tar -> /usr/src//bin/pax^M
nbinstall: link /usr/src//bin/pax -> /usr/src//bin/tar: Operation not permitted^
M
*** Error code 1^M
^M
Stop.^M
nbmake: stopped in /usr/src/bin/pax/obj^M
*** Error code 1^M