Subject: iso-image target fails: no distrib/sparc64/bootfs/boot.fs
To: None <>
From: Jukka Salmi <>
List: port-sparc64
Date: 12/09/2006 12:01:10

is building a bootable ISO image for -current NetBSD/sparc64 on a
-current NetBSD/i386 system supposed to work? I just tried and failed:

$ uname -srm
NetBSD 4.99.4 i386
$ cd /usr/src
$ ./ -U -m sparc64 -x [...] distribution
===> Successful make distribution

So far so good. But then I noticed that no kernels were built. AFAICT
these two should have been built:

$ /opt/tools/sparc64/bin/nbmake-sparc64 -V '$(ALL_KERNELS)'

After this I ran the iso-image target:

$ ./ -m sparc64 [...] iso-image
===> Updated /opt/tools/sparc64/bin/nbmake-sparc64
iso-image ===> etc
rm -f /build/nbsd/sparc64/etc/cdrom.pathlist
echo "sparc64=/opt/rel/sparc64" >> /build/nbsd/sparc64/etc/cdrom.pathlist
mkdir -p /build/nbsd/sparc64/etc/cdrom.dir
mkdir -p /opt/rel/sparc64/installation/cdrom
mkisofs 2.01 (i386-unknown-netbsd4.99.4)
mkisofs -J -l -hide-joliet-trans-tbl -r -T  -V NETBSD_4995  -publisher "The NetBSD Project"  -m "/opt/rel/sparc64/installation/cdrom" -quiet -graft-points -path-list /build/nbsd/sparc64/etc/cdrom.pathlist  -o /opt/rel/sparc64/installation/cdrom/netbsd-sparc64.iso /build/nbsd/sparc64/etc/cdrom.dir
SUNLABEL=/opt/tools/sparc64/bin/nbsunlabel  /bin/sh /usr/src/distrib/common/  /opt/rel/sparc64/installation/cdrom/netbsd-sparc64.iso - - - - /build/nbsd/sparc64/distrib/sparc64/bootfs/boot.fs /build/nbsd/sparc64/distrib/sparc64/bootfs/boot.fs: No such file.

*** Failed target:  iso-image-md-post
*** Failed command: SUNLABEL=/opt/tools/sparc64/bin/nbsunlabel /bin/sh /usr/src/distrib/common/ /opt/rel/sparc64/installation/cdrom/netbsd-sparc64.iso - - - - /build/nbsd/sparc64/distrib/sparc64/bootfs/boot.fs
*** Error code 1
ERROR: Failed to make iso-image

Hmm... I didn't trace the problem further so far, but couldn't find
any references to it in the mailing list archive. Is this a known
problem? According to the [1]FAQ (which seems to be a little outdated)
the iso-image target should work...

Help is appreciated!

TIA, Jukka


If fifty million people say a foolish thing,
it is still a foolish thing.

	Anatole France