Subject: building release from 2.0RC_2 failed
To: None <port-alpha@netbsd.org>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: port-alpha
Date: 10/02/2004 22:09:14
Hi,

I tried to cross-build a release of 2.0 cvs update-ed yesterday
on i386 for alpha and got the following:

all ===> alpha/instkernel/ramdisk
rm -f ramdiskbin.conf ramdiskbin.conf.tmp
INSTALLNOTES=/u/NetBSD/release/2.x/arch/alpha/obj/distrib/notes/alpha/INSTALL.more TOOL_PWD_MKDB=/u/
NetBSD/release/2.x/arch/alpha/TOOLS/bin/nbpwd_mkdb NETBSDSRCDIR=/u/NetBSD/release/2.x/src  CRUNCHBIN
=ramdiskbin  CURDIR=/u/NetBSD/release/2.x/src/distrib/alpha/instkernel/ramdisk  DESTDIR=/u/NetBSD/re
lease/2.x/arch/alpha/dest  DISTRIBDIR=/u/NetBSD/release/2.x/src/distrib  MACHINE=alpha  MACHINE_ARCH
=alpha  MAKE=/u/NetBSD/release/2.x/arch/alpha/TOOLS/bin/nbmake  OBJDIR=/u/NetBSD/release/2.x/arch/al
pha/obj/distrib/alpha/instkernel/ramdisk TARGETDIR=/u/NetBSD/release/2.x/arch/alpha/obj/distrib/alph
a/instkernel/ramdisk/work awk -f /u/NetBSD/release/2.x/src/distrib/common/parselist.awk -v mode=crun
ch /u/NetBSD/release/2.x/src/distrib/alpha/instkernel/ramdisk/list /u/NetBSD/release/2.x/src/distrib
/common/list.sysinst > ramdiskbin.conf.tmp  && mv ramdiskbin.conf.tmp ramdiskbin.conf
SMALLPROG=1 MAKE=/u/NetBSD/release/2.x/arch/alpha/TOOLS/bin/nbmake /u/NetBSD/release/2.x/arch/alpha/
TOOLS/bin/nbcrunchgen -f -D /u/NetBSD/release/2.x/src  -L /u/NetBSD/release/2.x/arch/alpha/dest/usr/
lib -q  ramdiskbin.conf
ramdiskbin.conf: chown: error: no objpaths specified or calculated.
ramdiskbin.conf: chown: ignoring program because of errors.
Run "make -f ramdiskbin.mk objs exe" to build crunched binary.

*** Failed target:  ramdiskbin.mk
*** Failed command: SMALLPROG=1 MAKE=/u/NetBSD/release/2.x/arch/alpha/TOOLS/bin/nbmake /u/NetBSD/rel
ease/2.x/arch/alpha/TOOLS/bin/nbcrunchgen -f -D /u/NetBSD/release/2.x/src -L /u/NetBSD/release/2.x/a
rch/alpha/dest/usr/lib -q ramdiskbin.conf
*** Error code 1

Stop.
nbmake: stopped in /u/NetBSD/release/2.x/src/distrib/alpha/instkernel/ramdisk

*** Failed target:  all-ramdisk
*** Failed command: targ=all;dir=ramdisk; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /u/N
etBSD/release/2.x/arch/alpha/TOOLS/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> alpha/
instkernel/$dir"; cd "/u/NetBSD/release/2.x/src/distrib/alpha/instkernel/$dir"; /u/NetBSD/release/2.
x/arch/alpha/TOOLS/bin/nbmake "_THISDIR_=alpha/instkernel/$dir/" $targ; ;; esac
*** Error code 1

Stop.


Starting "build.sh ... release" againg "fixed" this somehow, i.e. doesn't fail again but
finishes successfull?!? Hm "...chown: error..." - the build is not done as root, but under
my normal account - maybe that's a problem? - Just blind guessing... 

-kurt