Subject: Re: Proper Procedure for xsrc Release
To: Bryan Vyhmeister <bsd@hub3.net>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 07/03/2003 18:47:01
On Thu, 3 Jul 2003, Bryan Vyhmeister wrote:

> On Thursday, July 3, 2003, at 10:24 AM, Bryan Vyhmeister wrote:
>
> > Since that failed, I decided to try:
> >
> >      make DESTDIR=/usr/home/dest RELEASEDIR=/usr/home/release \
> >          release snapshot >& /root/mklog2 &

BTW, you're right -- I mistakenly left the target off the first time
-- but you really only need one of "release" or "snapshot", as they're
the same thing.

> install.man in /usr/xsrc/local/programs/x11-ssh-askpass done
> installing man pages in /usr/xsrc/local/programs/xsystrace...
> install.man in /usr/xsrc/local/programs/xsystrace done
> install -d -m 755 -o root -g wheel /usr/home/release/i386/binary/sets
> cd /usr/src/distrib/sets &&  sh ./maketars -x -d /usr/home/dest -N
> /usr/src/etc -t /usr/home/release/i386/binary/sets
> Usage: ./maketars [-b] [-x] [-a arch] [-m machine] [-s setsdir] [-M
> metalog]
>                  [-d dest] [-t tars] [setname ...]
>          -b              make netbsd + x11 lists
>          -x              only make x11 lists
>          -a arch         set arch (e.g, m68k, mipseb, mipsel, powerpc)
> [i386]
>          -m machine      set machine (e.g, amiga, i386, macppc) [i386]
>          -s setsdir      directory to find sets [/usr/src/distrib/sets]
>          -M metalog      metalog file
>          -d dest         $DESTDIR        [/usr/home/dest]
>          -t tars         $RELEASEDIR     [/usr/home/release]
>          [setname ...]   sets to build   [xbase xcomp xcontrib xfont
> xserver xmisc]
> *** Error code 1
>
> Stop.
> make: stopped in /usr/xsrc

Your "/usr/src" is out-of-date? Somehow you have current
"/usr/share/mk", but 1.6* "/usr/src/distrib/sets/maketars".
At least "${NETBSDSRCDIR}/distrib/sets" needs to match the
installed system in order to build the X sets properly.

Frederick