Subject: toolchain/15493: build.sh fails if bison is installed
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <lennart@augustsson.net>
List: netbsd-bugs
Date: 02/05/2002 11:10:10
>Number: 15493
>Category: toolchain
>Synopsis: build.sh fails if bison is installed
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 05 02:11:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Lennart Augustsson
>Release: NetBSD 1.5ZA
>Organization:
Department of Computing Science, Chalmers University
>Environment:
System: NetBSD calvin 1.5ZA NetBSD 1.5ZA (CALVIN) #18: Mon Jan 28 02:10:08 MET 2002 lennart@calvin:/usr/SRC/src/sys/arch/i386/compile/CALVIN i386
Architecture: i386
Machine: i386
>Description:
If you have bison installed the build of groff fails:
...
checking for byacc... (cached) bison -y
...
c++ -I. -I/usr/SRC/src/gnu/dist/groff/src/preproc/refer -I/usr/SRC/src/tools/groff/obj/build/src/include -I/usr/SRC/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 label.cc
/usr/pkg/share/bison.simple: In function `int yyparse()':
/usr/pkg/share/bison.simple:432: implicit declaration of function `int yylex(...)'
*** Error code 1
1 error
nbmake: stopped in /usr/SRC/src/tools/groff/obj/build/src/preproc/refer
*** Error code 2
Stop.
nbmake: stopped in /usr/SRC/src/tools/groff/obj/build
*** Error code 1
1 error
nbmake: stopped in /usr/SRC/src/tools/groff/obj/build
*** Error code 2
Stop.
nbmake: stopped in /usr/SRC/src/tools/groff
*** Error code 1
Stop.
nbmake: stopped in /usr/SRC/src/tools/groff
*** Error code 1
Stop.
nbmake: stopped in /usr/SRC/src/tools
*** Error code 1
Stop.
nbmake: stopped in /usr/SRC/src
*** Error code 1
Stop.
nbmake: stopped in /usr/SRC/src
>How-To-Repeat:
Install bison, do build.sh -u
etc/mk.conf:
USE_XF86_4=yes
#
USETOOLS=yes
TOOLDIR=/usr/obj/tools
MKTOOLS=yes
>Fix:
groff probably shouldn't use bison.
>Release-Note:
>Audit-Trail:
>Unformatted: