Subject: toolchain/14599: cross-compile quits when running mtree
To: None <>
From: Paul Kranenburg <>
List: netbsd-bugs
Date: 11/16/2001 13:21:37
>Number:         14599
>Category:       toolchain
>Synopsis:       cross-compile quits when running mtree
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 16 04:29:01 PST 2001
>Originator:     Paul Kranenburg
>Release:        NetBSD-current 20011114
NetBSD mang 1.5Y NetBSD 1.5Y (FEW010912) #2: Thu Oct 11 13:41:50 CEST 2001     root@few-010912:/usr/src/sys/arch/i386/compile/FEW010912 i386
Architecture: i386
Target Machine: sparc
	When creating the directory hierarchy in $DESTDIR using mtree
	it fails because of missing entries in the host's password
	and/or group file.
	Run `sh -m sparc -D /usr/BUILD/DESTDIR.sparc'
	/usr/src/tools/obj.sparc/tools.NetBSD-1.5Y-i386/bin/mtree -def mtree/NetBSD.dist -p /usr/BUILD/DESTDIR.sparc/ -U 
	mtree: unknown user `named'
	mtree: failed at line 664 of the specification
	*** Error code 1

	Have mtree use `src/etc/{passwd,group}' to lookup owner
	ids for the $DESTDIR tree.

	Note that setting UNPRIVILEGED allows the build to complete
	but obviously that will not get you true installation sets.