Subject: cross building macppc on i386 dies on boot floppies ?
To: None <current-users@netbsd.org>
From: Charlie Allom <charlie@rubberduck.com>
List: current-users
Date: 04/13/2002 05:24:05
I can reproduce this .. current as of today (13th). Am I messing up
here? I'm a -current newbie. Any general tips appreciated.

MKOBJ=yes
MKOBJDIRS=yes
OBJMACHINE=yes
WRKOBJDIR=/usr/obj
MKTOOLS=always

fnord# ./build.sh -a powerpc -m macppc -D /usr/obj/MACPPC_DES -R
/usr/obj/MACPPC_REL

<skip>

Making disk number one
rm -rf empty
mkdir -m 755 empty
/usr/src/current/src/tools/obj.macppc/tools.NetBSD-1.5.3-i386/bin/nbmakefs
-s 288
80b boot1.fs.tmp empty
Calculated size of `boot1.fs.tmp': 1474560 bytes, 2 inodes
Warning: 192 sector(s) in last cylinder unallocated
boot1.fs.tmp:   2880 sectors in 3 cylinders of 16 tracks, 64 sectors
        1.4MB in 1 cyl groups (102 c/g, 51.00MB/g, 64 i/g)
super-block backups (for fsck -b #) at:
 32,
Populating `boot1.fs.tmp'
Image `boot1.fs.tmp' complete
dd bs=8k seek=1 count=$((2880 / 16 - 1))  if=ustar.tmp of=boot1.fs.tmp
178+1 records in
178+1 records out
1464320 bytes transferred in 1 secs (1464320 bytes/sec)
installing new bootblocks
/usr/obj/MACPPC_DES/usr/mdec/installboot -v -b 17 ofwboot
/usr/obj/MACPPC_DES/usr/mdec/bootxx boot1.fs.tmp
/usr/obj/MACPPC_DES/usr/mdec/installboot: 1: Syntax error: "("
unexpected
*** Error code 2

Stop.
nbmake: stopped in
/usr/src/current/src/distrib/macppc/floppies/bootfloppy
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/distrib/macppc/floppies
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/distrib/macppc
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/distrib
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src/etc
*** Error code 1

Stop.
nbmake: stopped in /usr/src/current/src
fnord#

-- 
 charlie@rubberduck.com
 http://rubberduck.com/pgp.txt
 F848 3B10 D181 E5EC 84CD  9CA2 7686 6210 FB54 66D1