Subject: bin/14079: new toolchains installed to wrong directory
To: None <gnats-bugs@gnats.netbsd.org>
From: None <taya@ba2.so-net.ne.jp>
List: netbsd-bugs
Date: 09/27/2001 22:45:15
>Number:         14079
>Category:       bin
>Synopsis:       new toolchains installed to wrong directory
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 27 06:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Shin'ichiro TAYA
>Release:        -current Sep. 23, 2001
>Organization:

--
Shin'ichiro TAYA <taya@ba2.so-net.ne.jp>
>Environment:
	
System: NetBSD mmgserv.m2g.org 1.5Y NetBSD 1.5Y (MMGSERV) #3: Wed Sep 26 08:24:39 JST 2001 taya@mmgserv.m2g.org:/export/NetBSD/NetBSD-current/src/sys/arch/i386/compile/MMGSERV i386
Architecture: i386
Machine: i386
>Description:
	When I build source tree like below, some toolchains installed to wrong directory. 
	ar is installed to $(DESTDIR)/$(TOOLDIR).

	# make build DESTDIR=/export/NetBSD/NetBSD-current/DEST.i386
		.
		.
		.

	 /bin/sh ./libtool  --mode=install /bin/sh /export/NetBSD/NetBSD-current/src/gnu/dist/toolchain/install-sh -c  ar /export/NetBSD/NetBSD-current/DEST.i386/export/NetBSD/NetBSD-current/TOOL.i386/bin/i386--netbsdelf-ar
	/bin/sh /export/NetBSD/NetBSD-current/src/gnu/dist/toolchain/install-sh -c ar /export/NetBSD/NetBSD-current/DEST.i386/export/NetBSD/NetBSD-current/TOOL.i386/bin/i386--netbsdelf-ar
		.
		.

	My mk.conf is:
	OBJMACHINE=1
	MKTOOLS=yes
	TOOLDIR=/export/NetBSD/NetBSD-current/TOOL.i386

>How-To-Repeat:
	See description.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: