Subject: xsrc/17492: make release in xsrc fails on 1.5.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jds@smerdon.livonia.mi.us>
List: netbsd-bugs
Date: 07/06/2002 10:10:13
>Number:         17492
>Category:       xsrc
>Synopsis:       make release in xsrc fails on 1.5.3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 06 07:11:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     John D Smerdon
>Release:        NetBSD 1.5.3
>Organization:
>Environment:
System: NetBSD c650 1.5.3 NetBSD 1.5.3 (SMERDON) #23: Tue Jul 2 08:19:39 EDT 2002 jds@c650:/usr/src/sys/arch/mac68k/compile/SMERDON mac68k
Architecture: m68k
Machine: mac68k
>Description:
I made this serious/high if it is a 1.5.3 release problem.  I use sup and it sometimes fails to update properly, but I can't find any files that are not correct.  Perhaps you can determine if there really is a problem faster.

I build xsrc in two steps.  The first is a "make build" and the second is "make release UPDATE=1 NOCLEANDIR=1 DESTDIR={mydest} RELEASEDIR={myrelease}.  The "make release" fails because NETBSDSRCDIR is not defined.  The output from the "make release" is:

...
installing in /nfs/fileserver/c650/xsrc/local/programs/x11-ssh-askpass...
install -c -s -m 0555 -o root -g wheel  ssh-askpass /nfs/fileserver/c650/destdir/usr/X11R6/bin/ssh-askpass
install -c -m 0444 -o root -g wheel SshAskpass.ad /nfs/fileserver/c650/destdir/usr/X11R6/lib/X11/app-defaults/SshAskpass
# XXX Should use X variables of some sort!
mkdir -p /nfs/fileserver/c650/destdir/usr/X11R6/share/examples/ssh-askpass
install -c -m 0444 -o root -g wheel SshAskpass-1337.ad  SshAskpass-NeXTish.ad  SshAskpass-green.ad  SshAskpass-motif.ad  SshAskpass-default.ad /nfs/fileserver/c650/destdir/usr/X11R6/share/examples/ssh-askpass
install in /nfs/fileserver/c650/xsrc/local/programs/x11-ssh-askpass done
installing man pages in /nfs/fileserver/c650/xsrc/local/programs...
installing man pages in /nfs/fileserver/c650/xsrc/local/programs/x11-ssh-askpass...
install.man in /nfs/fileserver/c650/xsrc/local/programs/x11-ssh-askpass done
install -d -m 755 -o root -g wheel /nfs/fileserver/public/releasedir/mac68k.release/mac68k/
cd /distrib/sets &&  sh ./maketars -x -d /nfs/fileserver/c650/destdir -t /nfs/fileserver/public/releasedir/mac68k.release/mac68k/binary/sets
cd: can't cd to /distrib/sets
*** Error code 2

Stop.


>How-To-Repeat:
cd /usr/xsrc
make build
make release UPDATE=1 NOCLEANDIR=1 DESTDIR={mydest} RELEASEDIR={myrelease}
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: