From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 8 07:30:26 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA48816A4CF for ; Wed, 8 Sep 2004 07:30:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80CBD43D41 for ; Wed, 8 Sep 2004 07:30:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i887UEPK051422 for ; Wed, 8 Sep 2004 07:30:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i887UEla051421; Wed, 8 Sep 2004 07:30:14 GMT (envelope-from gnats) Date: Wed, 8 Sep 2004 07:30:14 GMT Message-Id: <200409080730.i887UEla051421@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Ruslan Ermilov Subject: Re: bin/71406: set WARNS=1 and unbreak 'make buildworld' for RELENG_5 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ruslan Ermilov List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2004 07:30:26 -0000 The following reply was made to PR bin/71406; it has been noted by GNATS. From: Ruslan Ermilov To: Yen-Ming Lee Cc: bug-followup@freebsd.org 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: > > http://lists.freebsd.org/pipermail/freebsd-current/2004-August/033116.html > > 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. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer