Subject: bin/16940: -current build fails usr.bin/file
To: None <gnats-bugs@gnats.netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: netbsd-bugs
Date: 05/21/2002 06:54:39
>Number:         16940
>Category:       bin
>Synopsis:       -current build fails in usr.bin/file
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 20 23:55:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.5.3
>Organization:
/* Tomasz Luchowski <zuntum@netbsd.org> */
>Environment:
	
	
System: NetBSD consultor 1.5.3 NetBSD 1.5.3 (CONSULTOR) #0: Wed Apr 10 16:29:03 CEST 2002 zuntum@consultor:/usr/cvs/src/sys/arch/i386/compile/CONSULTOR i386
Architecture: i386
Machine: i386
>Description:
	I checked out -current source yesterday, and ran "build.sh" on 1.5.3_RC2 to build -current snapshot.
	My guess is that usr.bin/file update has broken things.

	It failed with:

cc -O   -o mkmagic -DHAVE_CONFIG_H -DQUICK -DCOMPILE_ONLY  -I/home/zuntum/src/usr.bin/file /home/zuntum/src/usr.bin/file/apprentice.c /home/zuntum/src/usr.bin/file/print.c
/home/zuntum/src/usr.bin/file/print.c: In function `fmttime':
/home/zuntum/src/usr.bin/file/print.c:263: `daylight' undeclared (first use in this function)
/home/zuntum/src/usr.bin/file/print.c:263: (Each undeclared identifier is reported only once
/home/zuntum/src/usr.bin/file/print.c:263: for each function it appears in.)
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src/usr.bin/file
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src/usr.bin/file
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src/usr.bin
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src
*** Error code 1

Stop.
nbmake: stopped in /home/zuntum/src	


	
>How-To-Repeat:
	Easy.
	
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: