Subject: A new bug in src/build.sh ?
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 01/28/2002 17:59:21
I just got the following error while building groff (groff the
build-tool, not groff the destination binary):

...
c++ -I. -I/usr/src/gnu/dist/groff/src/preproc/pic
-I/usr/obj/tools/groff.i386/b
uild/src/include -I/usr/src/gnu/dist/groff/src/include -DHAVE_STDLIB_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1
-DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MATH_H=1 -DRET_TYPE_SRAND_IS_VOID=1
-DHAVE_SYS_NERR=1 -DHAVE_SYS_ERRLIST=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void
-DHAVE_STRUCT_EXCEPTION=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1
-DHAVE_FMOD=1 -DHAVE_STRTOL=1 -DHAVE_GETCWD=1 -DHAVE_STRERROR=1 -DHAVE_PUTENV=1
-DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRSEP=1
-DHAVE_STRDUP=1 -DSYS_SIGLIST_DECLARED=1 -O  -c
	/usr/src/gnu/dist/groff/src/preproc/pic /tex.cc
if test -n "pic_tab.h"; then  bison -y -v -d /usr/src/gnu/dist/groff/src/preproc
/pic/pic.y;  else  bison -y -v /usr/src/gnu/dist/groff/src/preproc/pic/pic.y;  f
i
Shared object "libintl.so.1" not found
*** Error code 1
1 error

nbmake: stopped in /usr/obj/tools/groff.i386/build/src/preproc/pic
*** Error code 2

Now, I know that I shot myself in the foot on this, since I manually did
a clean-up of old libraries.  But why, since bison is not part of
NetBSD, is it trying to use my /usr/pkg/bin/bison during the build?  I
thought that we were supposed to building all the build tools we need,
including the tools to build the tools (recurse as much as needed)?

----------------------------------------------------------------------
|   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 |
----------------------------------------------------------------------