bin/71406: set WARNS=1 and unbreak 'make buildworld' for RELENG_5

Ruslan Ermilov ru at
Wed Sep 8 00:30:26 PDT 2004

The following reply was made to PR bin/71406; it has been noted by GNATS.

From: Ruslan Ermilov <ru at>
To: Yen-Ming Lee <leeym at>
Cc: bug-followup at
Subject: Re: bin/71406: set WARNS=1 and unbreak 'make buildworld' for RELENG_5
Date: Wed, 8 Sep 2004 10:20:53 +0300

 On Mon, Sep 06, 2004 at 02:08:36AM +0800, Yen-Ming Lee wrote:
 > It occurs 'make buildworld' from freshly updated /usr/src for RELENG_5.
 > I took a look on it, and found that it's caused by -Wall in CWARNFLAGS.
 > Set WARNS=1 might be a temporary (and dirty?) fix for it.
 > However, somebody need to permanently fix it from /usr/src/usr.bin/lex/gen.c
 > >How-To-Repeat:
 > cc -O -pipe  -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386 -D__DBINTERFACE_PRIVATE -I/usr/src/lib/libc/../../contrib/gdtoa -DINET6 -I/usr/obj/usr/src/lib/libc -DPOSIX_MISTAKE -I/usr/src/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/usr/src/lib/libc/rpc -DYP -DHESIOD -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c nslexer.c
 > /dev/stdout: In function `_nsyylex':
 > /dev/stdout:711: warning: label `find_rule' defined but not used
 > /usr/src/lib/libc/net/nslexer.l: At top level:
 > /dev/stdout:1678: warning: 'yy_flex_realloc' defined but not used
 > *** Error code 1
 > Stop in /usr/src/lib/libc.
 > *** Error code 1
 I cannot reproduce this.  Please put the *compressed* full output,
 both stdout and stderr, available for download somewhere.  Please
 also show me the exact command that you use to build world, and
 the contents of your /etc/make.conf file, as well as the output
 from ``uname -a''.  Please also make sure that you build with an
 empty /usr/obj.
 Ruslan Ermilov
 ru at
 FreeBSD committer

More information about the freebsd-bugs mailing list