Subject: A new bug in src/ ?
To: #List NetBSD current users <current-users@NetBSD.ORG>
From: Paul Goyette <>
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
uild/src/include -I/usr/src/gnu/dist/groff/src/include -DHAVE_STDLIB_H=1
	/usr/src/gnu/dist/groff/src/preproc/pic /
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
Shared object "" 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 |   |
|  & World Cruiser | 91EB ADB1 A280 3B79 9221 | |