Subject: lib/11426: libintl not installed during clean bootstrap
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
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
>Closed-Date:
>Last-Modified:
>Originator: Richard Earnshaw
>Release: NetBSD-current <NetBSD-current source date>
>Organization:
ARM
>Environment:
System: NetBSD buzzard.buzzard.freeserve.co.uk 1.5C NetBSD 1.5C (BUZZARD) #213: Sun Aug 6 16:03:18 BST 2000 rearnsha@buzzard.buzzard.cambridge.arm.com:/usr/src/sys/arch/arm32/compile/BUZZARD arm32
>Description:
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.
>How-To-Repeat:
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
>Fix:
Not sure. Maybe we should always build libintl
>Release-Note:
>Audit-Trail:
>Unformatted: