Subject: lib/11426: libintl not installed during clean bootstrap
To: None <>
From: Richard Earnshaw <>
List: netbsd-bugs
Date: 11/05/2000 09:15:09
>Number:         11426
>Category:       lib
>Synopsis:       libintl not installed during clean bootstrap
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 05 09:15:00 PST 2000
>Originator:     Richard Earnshaw
>Release:        NetBSD-current <NetBSD-current source date>
System: NetBSD 1.5C NetBSD 1.5C (BUZZARD) #213: Sun Aug 6 16:03:18 BST 2000 arm32

	The make build system does the initial build of the libraries with
	MKSHARE=no, but this disables the build of libintl (since MKSHARE=no
	also disables MKNLS).

	Consequently, gnu/usr.bin/grep fails to link if we are building to
	a DESTDIR that was completely clean before the build started.
	mkdir /foo/destdir,
	cd /usr/src
	make build DESTDIR=/foo/destdir

	wait a long time, then get:
	cc   -o grep -nostdlib -Wl,-rpath-link,/vol/zip/usr/lib /vol/zip/usr/lib/crt0.o  grep.o dfa.o kwset.o obstack.o savedir.o getopt.o getopt1.o search.o stpcpy.o regex.o grepmat.o -lintl -L/vol/zip/usr/lib -lgcc -lc -lgcc 
ld: -lintl: no match

	Not sure.  Maybe we should always build libintl