Subject: Using build.sh on port-alpha
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 11/06/2001 05:12:09
Has anyone gotten the new build system, including build.sh, to work on
an alpha?

I've tried this several times, on both an alpha and i386 host, and 
every time it fails in the make distrib-dirs step as follows:

cleandir ===> regress/usr.bin/sort
rm -f a.out [Ee]rrs mklog core *.core 
/usr/tools/obj.alpha/bin/nbmake  do-distrib-dirs
cd /usr/src/etc && /usr/tools/obj.alpha/bin/nbmake DESTDIR=/usr/home/paul/newroot-alpha distrib-dirs
install  -d -o root -g wheel -m 755 /usr/home/paul/newroot-alpha
mtree -def mtree/NetBSD.dist -p /usr/home/paul/newroot-alpha/ -U 
mtree: slash character in file name
mtree: failed at line 7 of the specification
*** Error code 1


I've got this in my /etc/mk.conf file:

OBJMACHINE=true
MKOBJDIRS=yes
MKTOOLS?=yes
__TOOLARCH!=uname -m
TOOLDIR=/usr/tools/obj.${__TOOLARCH}

HAVE_MOTIF=YES
USA_RESIDENT=YES
USE_RSAREF2=YES
ACCEPTABLE_LICENSES=shareware no-commercial-use

And I invoke build.sh with the command line:

cd /usr/src && ./build.sh -m alpha -D /home/paul/newroot-alpha

----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Network Engineer | BCD7 5301 9513 58A6 0DBC |  paul@whooppee.com   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | pgoyette@juniper.net |
----------------------------------------------------------------------